This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Printf problem
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Aniket S Joshi <aniketsj at myw dot ltindia dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 30 Aug 2004 16:30:22 +0200
- Subject: Re: [ECOS] Printf problem
- References: <s133732b.043@EMAIL>
On Mon, Aug 30, 2004 at 06:33:46PM +0530, Aniket S Joshi wrote:
> Hi all,
>
> I am using Hitachi 7729 Platform with Ecos for my project & using network connection for my code download & debugging using insight.
>
> using serial port of the controller for my application. but whenever i use any printf command in my code (for debugging) serial communication interrupt gets disturbed (it prints all the incoming data at a streatch (not as it comes , looks like pending interrupt) ,
> I assume GDB has higher priority than serial (or any other).
>
> How to change the interrupt priority of GDB? I want to make it the lowest.
> One more question..... How can i disable debugging feature in my application?
The hal diagnostis serial device driver is polled busy wait, not
interrupt driver. Since you are using gdb over ethernet you can use a
proper interrupt serial driver for the serial port. Enable
CYGPKG_IO_SERIAL_DEVICES.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss