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]

Re: ROMRAM redboot


Andrew Lunn <andrew.lunn@ascom.ch> writes:

> > I've never tried ROMRAM start but to avoid the case where the
> > application jumps into RedBoot in FLASH, I'm using these config
> > options to build the eCos kernel:
> > 
> > cdl_option CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS {
> >     user_value 1
> > };
> 
> [..]
> 
> > so that mostly every virtual vectors point to code in RAM.
> 
> Yes, that makes the app include its own stub, and so stops ethernet
> based debugging? The final application for the product could use your
> setup. I want to keep ethernet debugging working if i can.

In this case you could add a CPP define that conditionally includes code that
disables interrupts during execution of FLASH algorithms in the application (I
have tried this and I know, it's awful, but it works).

Robin


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