This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Thread messages problem.
- To: "Ecos-Discuss" <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] Thread messages problem.
- From: <felixwong at i-technologies dot cc>
- Date: Fri, 26 Oct 2001 16:59:21 +0800
I am writing a hard disk device driver for eCos system on the Atmel EB40 board
with my specific ATA interface hardware. In debug process, I enabled the
CYGDBG_IO_INIT keyword for debugging messages in serial port #0 (diag_printf).
The problem I met was quite annoying, some thread messages was displayed on
the serial port #0 terminal. Sometime appear just after 1 or 2 devices initialized,
another time appear after all devices initialized. They look like:
$T05thread:00000001;0f:ac680402;0d:9c680402;#03
$T05thread:00000001;0f:84680402;0d:68680402;#7d
on the screen(of terminal program). The the program cannot proceed to the
"main" where I set my breakpoint there.
Most important of all, when I use single step to step pass all those initialization
routines, the program executes with NO such thread messages. Do I have some
other means to locate this type of problems?
Is the above problem related to the /dev/ser0 initialization (which is a last device to
be initialized)? Also, where can I find the intepretations for the THREAD message
strings?
Any suggestions? Or anyone met the same problem before? Please give me some
hints.
Thanks in advance.
FW.