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: Serial EEPROM/flash?


On Sat, Aug 11, 2007 at 10:06:21PM -0700, Paul D. DeRocco wrote:
> 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.

Is this a DataFlash device? There is a device driver for such devices
in the V2 branch.

       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


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