[ECOS] Running code from on-chip flash

Andrew Lunn andrew@lunn.ch
Sun Sep 27 16:37:00 GMT 2009


On Sun, Sep 27, 2009 at 08:57:59AM +0530, Mandeep Sandhu wrote:
> Hi all,
> 
> I'm going to be using a real hardware for the first time (with ECOS).
> The h/w is the Atmel AT91SAM7X512 SoC.
> 
> In order to save RAM, i'll be running the code from the on-chip flash
> itself (512KB).
> 
> Now is it true that if my code resides on the flash, I will not be
> able to write to it?

Wrong. You just need to be careful where you write. The AT91SAM7X512
is also a bit easier since it has two controllers, so you could have
one controller for code and the other for data.

    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



More information about the Ecos-discuss mailing list