Main Site Documentation

Communication between the emulator and an application


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:


(inside Types tag)

<ComPort id="COM2"> 

(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??


PD: I’m using NETMF 4.1
PD2: I want to “read” from Usart2 in my embedded device.