This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: A safe way to print debug output in DSRs ?
- To: 'Grant Edwards' <grante at visi dot com>, Jonathan Larmour <jlarmour at redhat dot co dot uk>
- Subject: RE: [ECOS] A safe way to print debug output in DSRs ?
- From: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Date: Tue, 29 Aug 2000 13:52:52 -0700
- Cc: "Ecos-List (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>
> -----Original Message-----
> From: Grant Edwards [mailto:grante@visi.com]
> Subject: Re: [ECOS] A safe way to print debug output in DSRs ?
>
> If diag_printf does a busy-wait on a UART (as it does on my
> system in hal_diag_write_char()), it can have a pretty big
> timing impact on the DSR. If it doesn't get called too often
> and the messages fit into the UART FIFO, then this isn't too
> much of a problem -- but it's important to keep in mind as you
> sprinkle diag_printf() around in the code.
Has someone considered to add parallel port debug support? This could
improve the ti ming problems, and should be easier to do than ethernet
support. USB could be great too
(Just in case someone is not busy enought...)
--
Fabrice Gautier
fabrice_gautier@sdesigns.com