Hi,
I am working on convertor from a RS-485 based microcontroller network to Linux.
The protocol is based on 9 bit words. This means that I have to set the LCR (line
Control Register) on the UART for every send word and to read the LSR for every
received word.
Therefore I wrote an interrupt service routine for the serial port (based on RT_com)
that
process every received byte and responds immediately with transmitting back.
The module works fine, but sometimes (after 1 hour or more) the module (ISR) stops to
work. I tried to remove the module and install it again, but nothing happens. The only
way to make it work again is to reset the PC.
I also discovered, that if the mentioned stop happens I can still write to the UART,
but
the UART doesn't generate any IRQ to call my ISR.
What can be done?
( I am running RTLinux V2.2a on kernel 2.2.14. )
Bojan
-- [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/