I am having problems receiving any data from the USBSerial mbed drivers on a windows PC using the .Net SerialPort drivers. I have setup a simple loopback test on mbed which periodically sends a string and loopsback any data received and under all of the below tests the .Net drivers do not receive any data.
I have tested this code on the frdm-k20,k22f and kl25z all with the same results. Updated the USBDevice libraries for mbed.
Running windows. The com port is detected no problems on the PC and I can successfully connecting with terminal windows, sniffer, c# program.
The mbed program simply runs in loopback and sends a periodic text string. I have tested with 3 terminal applications. 1 and 2 send and receive the data no problems. 3 send, but does not receive any data (same result as with the c# program).
I have tested many other available c# serial port applications withe same same results (no data received). Some of the programs are professionally developed.
I have tested freescale drivers on the boards and all of the above work with no problems.
Everything is pointing to there being an issue with mbed drivers working with windows .Net C# drivers at this point. Not sure where to go from here. Any suggestions? Can anyone confirm that they receive data using .Net drivers and using mbed?
Here is a C# program and mbed project which test this setup.
https://www.dropbox.com/s/6zocyec10yztlu0/test_com.zip?dl=0
I am having problems receiving any data from the USBSerial mbed drivers on a windows PC using the .Net SerialPort drivers. I have setup a simple loopback test on mbed which periodically sends a string and loopsback any data received and under all of the below tests the .Net drivers do not receive any data.
I have tested this code on the frdm-k20,k22f and kl25z all with the same results. Updated the USBDevice libraries for mbed.
Running windows. The com port is detected no problems on the PC and I can successfully connecting with terminal windows, sniffer, c# program.
The mbed program simply runs in loopback and sends a periodic text string. I have tested with 3 terminal applications. 1 and 2 send and receive the data no problems. 3 send, but does not receive any data (same result as with the c# program).
I have tested many other available c# serial port applications withe same same results (no data received). Some of the programs are professionally developed.
I have tested freescale drivers on the boards and all of the above work with no problems.
Everything is pointing to there being an issue with mbed drivers working with windows .Net C# drivers at this point. Not sure where to go from here. Any suggestions? Can anyone confirm that they receive data using .Net drivers and using mbed?
Here is a C# program and mbed project which test this setup. https://www.dropbox.com/s/6zocyec10yztlu0/test_com.zip?dl=0