I can receive serial data but outgoing chars remain in the
buffer. No transmit IRQ occurs.
A few weeks ago this module worked well. Then I changed the serial interface
from RS-232 to RS-422. The serial port is okay. I tested it a terminal
emulator program. I guess the UART is misconfigured
and waits for some condition before starting transmit. Diagsnostic printf
in rt_com_write() shows that outgoung char is buffered. However
rt_com_isr() is not activated after enabling the interrupt.
Here is the module config:
struct rt_com_struct rt_com_table[] =
{
{ 0, RT_COM_BASE_BAUD, 0x3f8, 4, RT_COM_STD_COM_FLAG, rt_com0_isr,
RT_COM_NO_HAND_SHAKE, 1 }, /* ttyS0 - COM1 */
};
#define RT_COM_CNT 1
I repeat: the receiver works well.
Any suggestion? What should I check? What registers to dump?
Gabor
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/