This is the mail archive of the ecos-discuss@sourceware.org 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: GDB stubs in ROM?


On Sun, Sep 10, 2006 at 09:31:43PM -0700, Sarah A Bailey wrote:
> Greetings,
> I've been working on code that uses eCos on the LPC2148.  My question
> is fairly straightforward:  Can I run GDB stubs if I build eCos in
> ROM?
> 
> The answer seems to be no so far, but I thought I'd double check with
> other developers.  I searched the internet and mailing lists for an
> answer, but the best I could find was from the eCos mailing list.[1]
> It basically said it's fairly difficult, and requires hardware support
> for hardware breakpoints.

With ROM applications you need hardware support for breakpoints. Most
ARM platforms support two such breakpoints, but you need a JTAG
interface to place them. The gdb stub in a ROM application is only
useful for catching exceptions. 

       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]