[U-Boot-Users] AT91RM9200EK erase ATMEL dataflash

Anders Larsen alarsen at rea.de
Mon Jul 4 10:20:00 CEST 2005


"S. Dikhoff" <dikhoff at gmx.de> schreibt:
>Does anybody knows how to erase the dataflash which is connected to the
>SPI?
>U-Boot1.1.2 > erase c0000000 c001ffff
>Error: start and/or end address not on sector boundary

Hi,
U-Boot does not support dataflash erase. You can emulate an erase
by overwriting with FF (yes, it's possible, see below).
>
>
>The copy of images with "cp.b" to this flash seems to work properly, 
>even without erasing the flash before.

Thats because the Atmel dataflash does not need any explicit erase
(see the datasheet for more details).

Cheers
 Anders





More information about the U-Boot mailing list