[ECOS] Accessing Flash Memory on EB40A
Andrew Lunn
andrew@lunn.ch
Mon Jun 21 17:13:00 GMT 2004
On Mon, Jun 21, 2004 at 10:09:30AM -0700, Giri Raja wrote:
> 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.
I wrote some documentation about the flash API over the weekend. Do a
CVS up on at least packages/io/flash and doc/sgml. Then go into
doc/sgml and do
make html.
The new documentation will be in the table of contents. Hopefully it
answers all your questions.
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