Serial Communication Problem

Hi all

I'm trying to have my Linux PC communicate with an ARM development board. The PC will send a request string to the ARM board which will respond with another string.

I'm using the example here http://www.ontrak.net/linux.htm as a starting point. When I startup my PC and run this program the request string is correctly sent but the response is not read by the PC. I have looked at the transmit and receive lines with an oscilloscope and see some unusual behavior. The receive line (ARM board to PC) has the response string as expected but the transmit line (PC to ARM board) has the request string followed by the response string. Weird huh?

Now if I start and then exit Minicom everything works. The transmit line only has the request string and the response string is read by the example program.

This suggests to me that Minicom does some serial port initialization that the example program does not.

Any help is much appreciated.
It sounds to me like the ARM board is echoing the input. This is a fairly standard terminal setting.
Actually its the PC that's echoing (yes, it was kinda badly explained). But only until I run Minicom. Then it stopped echoing and the program reads the input.

I'm trying to work out how I can take minicom out of the equation.
Check this page : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=43517

may be it will help you...
Topic archived. No new replies allowed.