This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Running code from on-chip flash
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Mandeep Sandhu <mandeepsandhu dot chd at gmail dot com>
- Cc: ecos-discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Sun, 27 Sep 2009 18:37:22 +0200
- Subject: Re: [ECOS] Running code from on-chip flash
- References: <b18c5f790909262027i243cde10y10e7ab5dcb510120@mail.gmail.com>
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