Request for comments - Redboot load command writing directly to flash

Gary Thomas gary@mlbassoc.com
Mon Jul 14 21:17:00 GMT 2003


On Mon, 2003-07-14 at 14:51, Øyvind Harboe wrote:
> Some more feedback:
> 
> - The GDB interface does not support writing applications
> to flash before debugging them. I suppose this issue
> is bound to open up the question as to what to do with
> breakpoints in flash. Does this entail more than writing 
> a flash routine which disables all interrupts, saves of a
> sector, erases, restores sector w/breakpoint instruction?
> 
> This project is getting a bit out of hand, but it is nice
> to have all suggestions on the table, even if we decide
> to leave some of them out(at least for now).
> 

I really doubt that you'd ever want to do that, just for
debugging, since most FLASH devices will wear out after
only a few (100,000 or so) cycles.  Debugging could easily
cause this level of activity very quickly.

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates



More information about the Ecos-patches mailing list