This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Thread messages problem.


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]