Hi All,
I try to debug a problem of data transmission with XModem.
On one side there is a Linux + Minicom + sx computer with usb to rs232 interface. On the other side a Motorola 68008 8 MHz board with a TL16C750 + Max232.
Basically the console works well at 115200 bauds 8N1 with rts/cts enabled. I never see a problem.
But in this case only few datas are send to the Mini-68K and at very slow rate (keyboard input).
Note that I have to connect rts cts. Minicom never send what I type in on the keyboard but, on the other direction, strangely the board send his datas even without rts cts connected.
May be a first sign that something is wrong somewhere...
I need to find a way to transfer files from my Linux computer. Usually I use XModem.
I have a 68K program doing that and checked in both direction on an other board.
The problem start here. At 115200 bauds no way to transfer even one packet.
I decrease the speed to 1200 bauds and things start to work but they are still some retries.
I connect a logic analyzer to the serial line and found that the bytes of one packet are sent in burst mode without any pause
and that rts coming from the board stay always low...
I dont have a great experience on serial port.
I have think that as soon as a byte is received rts should change until this byte has been read by the cpu.
Looking at the timing between two bytes I doubt that the receiver cpu can got the byte, store it into the buffer and come back to read the next and also eventually check a timeout during this time.
May be this explain why when I decrease the speed things go better ?
I have double checked the wiring, jumpers settings and connections. Everything look good.
The problem is into the 16C750 and may be into his configuration. It seems rts / cts are fully ignored.
In fact in any direction rts/cts from - to the board seems to be ignored.
The datasheet is quite complex, some registers are interlocked and lack init / configuration examples.
Is anybody able to help or have some example for init this chip ?
Thanks.
Philippe