Skip to contentSkip to conversation

Queue task Problem

DISCUSSION Gerhard TAEUBL 2 participants 2 messages Apr 29, 2002

lore
Share & tools
lore
#0 lore raw

Hallo!

I wrote a device driver which handles the SCC in UART mode of a MPC860T for a simple protocol. The protocol start with a byte, the other side send a ack, then the packet will be sent. At last an ack will be send from the receiver. My problem is, that sometimes the bottom half part of my software won't be executed.
For example I send the start character, the other side answer with an ack, but nothing else happens, I got an timeout, and there I compare counters for hardware interrupt and bottom half part of software, and they are different. With an terminal program I see, tht that is my fault (the ack would be sent). Does anyone knows this phenomenon? On transmission side I also have sometimes this problem.

Thanks in advanced
Gerhard

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 6 lines · In message <[email protected]> you wrote:

I wrote a device driver which handles the SCC in UART mode of a MPC860T for a simple protocol. The protocol start with a byte, the other side send a ack, then the packet will be sent. At last an ack will be send from the receiver. My problem is, that sometimes the bottom half part of my software won't be executed.

Ummm... is there any good reason (except maybe for a training exercise to write a new driver for that instead of using the existing (and working) SCC UART driver?

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] Doubt is a pain too lonely to know that faith is his twin brother.
- Kahlil Gibran

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/