This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Accessing Flash Memory on EB40A
- From: Giri Raja <giri_amf at yahoo dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Cc: Andrew Lunn <andrew at lunn dot ch>
- Date: Mon, 21 Jun 2004 10:09:30 -0700 (PDT)
- Subject: Re: [ECOS] Accessing Flash Memory on EB40A
Thanks Andrew. I did take a look at the code. So can I
just use those APIs - flash_program and flash_erase in
/packaes/io/flash/current/src/flash.c ?
Should I also call the flash_init function?
And finally regarding passing the addr parameter to
the API, can I just pass the hex address? I'm also
thinking of having redboot in the same flash.
Can someone please clarify on these.
Thank you very much.
Giri.
--- Andrew Lunn <andrew@lunn.ch> wrote:
> On Thu, Jun 17, 2004 at 10:49:06AM -0700, Giri Raja
> wrote:
> > Hi,
> > I'm using the EB40A eval board for my project.
> I
> > need to store some data on the flash while in
> > execution, and retriieve it later. Can you please
> > provide me some pointers on this.
>
> Take a look at the flash code.
> packages/io/flash/current. Redboot uses
> the API so you can use that as an example.
>
> Andrew
>
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss