This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Accessing flash memory


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]