want to start with development of my apps command shell.
Use an EMX DevSys (for the moment), connected to my PC (Win7 Pro) via USB for deployment and debugging, so business as usual.
I also connect a USB to Serial adapter to the RS232 interface of the EMX DevSys (COM2) and want to use it as my console IO.
But I run into troubles to echo characters, reading chars or sending chars, Looks very mystic.
Than I tried to drill down systematically, here the facit:
Loading a program, writing the string ‘Hallo’ to the COM2, receiving via TeraTerm but NOT run VS2012 works for about 40 minutes, than I stopped it, cause I think this is stable.
Loading the same program, but now have VS2012 running and debugger attached, no breakpoints, this fails after one or two minutes. The software can be halted with a breakpoint and seems to be running after this moment, but no output at TeraTerm.
After this ‘crash’ I tried to disconnect the USB/Serial adapter and reconnect after some secondes, but this time I get the message ‘USB device not recognised’. I have to reboot my PC to get this solved.
I tried this with two different adapters, one Aten and one using the Prolific chip set, exact the same behavior.
Before bashing GHI, has anybody seen something like this? For me it is clear, that using both EMX and serial adapter makes the problem, but how can I efficiently debug an app with commandline interface, if that fails ???
Any ideas? Reduce baude rate, use a special adapter with a special chipset (FTDI) using two PCs …
Thanks for helping.
With best regards