hi
were trying to send data through a serial port to a device to automatically run the device`s diagnostic program.
if we use minicom to do this, it runs fine..we are able to run the diagnostic program correctly thorugh minicom.
but when we try to send the commands directly to the device through the serial port, the diagnostic program falls into a loop.for eg, if we do this:
#echo mem > /dev/ttyS0
(where mem is one of the commands of the device`s diagnostic program)
the output of the diagnostic command gets scrolling on the screen..ie, we get the correct output, but it starts scrolling over and over again on the screen.
but none of this happens if we send the mem command (or any other command) using minicom.
we are using a computer running on redhat linux 8.0 to send data to the device thru the serial port.
whats going on??
kindly help
thanx in anticipation