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]

Serial EEPROM/flash?


Is there any driver available for serial EEPROM or flash devices like the
AT24Cxxx (I2C) or AT25Fxxx (SPI) series parts? In particular, I want to use
such a part with Redboot, so that I can store a boot script and other
configuration data in it.

This is for an AT91RM9200 system, which has an on-board boot ROM that can
boot a 16KB program from serial EEPROM. I figure I'll write a small bit of
code that sits in the beginning of the EEPROM; it will enable SDRAM, and
load Redboot from the next piece of the EEPROM; the tail end of the EEPROM
will hold the boot script and the configuration data. The application will
boot from a much larger SD card.

Do I need to write my own driver, or has anyone already done this? Or is
there some reason it can't be done? The v2 flash docs imply that there's no
requirement that the device actually be memory-mapped flash.

-- 

Ciao,               Paul D. DeRocco
Paul                mailto:pderocco@ix.netcom.com 


-- 
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]