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]
Other format: [Raw text]

Re: Printf problem


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


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