This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Accessing flash memory
- From: seebs at plethora dot net (Peter Seebach)
- To: ecos-discuss at sources dot redhat dot com
- Date: Tue, 24 Jan 2006 02:31:30 -0600
- Subject: Re: [ECOS] Accessing flash memory
- Reply-to: seebs at plethora dot net (Peter Seebach)
In message <20060124082820.GI8395@lunn.ch>, Andrew Lunn writes:
>Reading the documentation is a good place to start:
Usually.
>http://ecos.sourceware.org/docs-latest/ref/io-flash.html
Hmm. So, since there's only one flash device supported, I don't have to say
which one I want, I just initialize the flash library, get the base address
and such, then use flash_read and flash_program to read and write.
Thanks! I was trying to figure out some of this, but all the pages I turned
up searching were on the redboot interface, rather than the API.
-s
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss