test of CAN callback stuff

cetoni GmbH - Uwe Kindler uwe.kindler@cetoni.de
Fri Aug 24 14:28:00 GMT 2007


Hello Andrew,

this two errors are not really CAN specific. The loopback driver overrun 
test simply reads the size of the RX queue and then sends exact the 
number of events that fit into the RX queue. After sending the messages, 
it simply checks if the message queue is completely filled before it 
sends one additional message that produces an overrun event.

I think the proiblem is that the check if the queue is completely filled 
immediatelly follows the sending procedure. On the synth target this 
check maybe comes faster then the RX queue could receive all events. A 
small cyg_thread_delay() before the check may solve this. I cannot check 
this because I do not use synth target and on my real hardware this test 
does not fail.

Regards,

Dipl. Inf. (FH)
Uwe Kindler
Software Engineering

--

cetoni GmbH
Am Wiesenring 6
D-07554 Korbussen

Tel.: +49 (0) 36602 338 28
Fax:  +49 (0) 36602 338 11
uwe.kindler@cetoni.de
www.cetoni.de



More information about the Ecos-patches mailing list