This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Debug messages through serial communication port
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: [ECOS] Debug messages through serial communication port
- From: Cristiano Ligieri Pereira <cpereira at ics dot uci dot edu>
- Date: Tue, 28 Aug 2001 23:05:42 -0700 (PDT)
Hi folks,
I'm using a bunch of diag_printf messages in order to debug my application
running on my new XScale board port. After printing some messages the
systems freezes for a while and then continues executing. It looks like
some buffer gets full and time is taken to flush it. For a very simple
application, which basically loops forever and prints some messages after
every tick (using cyg_thread_delay(1)) this is happening. The same
application running on the iPaq works fine (and I'm also sending messages
through the serial in a 1 tick basis).
Any guess on what might be causing my system to freeze? Is there any
buffer in which diag_printf messages are put into?
Thanks,
Cristiano.
------------------------------------------------------------
Cristiano Ligieri Pereira - http://www.ics.uci.edu/~cpereira