Until I receive my new FEZ Cobra, I need to continue developing my app. In order to do this, I need to use serial port in emulator. One way to do this is stablish communication between the emulator and a MF 4 Windows Form application that simulate the serial process.
I’ve read that this can be done using pipes. I tried to edit .XML emulator config file adding this:
<ComPort>Microsoft.SPOT.Emulator.Com.ComPortToNamedPipe</ComPort>
(inside Types tag)
<ComPort id="COM2">
<ComPortHandle>Usart2</ComPortHandle>
<Filename>\\.\pipe\SamplePipe</Filename>
</ComPort>
(inside EmulatorComponents one)
When I launch my NETMF app in emulator it gives me an exception when I open serial port. Can anyone help me??
Thanks!!
PD: I’m using NETMF 4.1
PD2: I want to “read” from Usart2 in my embedded device.