From: S. Dikhoff Date: Sun, 03 Jul 2005 14:30:42 +0200 Subject: [U-Boot-Users] AT91RM9200EK erase ATMEL dataflash Message-ID: <42C7DA72.3050304@gmx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, I use u-boot-1.1.2 on an AT91RM9200EK board. Does anybody knows how to erase the dataflash which is connected to the SPI? I tried: U-Boot1.1.2 > flinfo DataFlash:AT45DB642 Nb pages: 8192 Page Size: 1056 Size= 8650752 bytes Logical address: 0xC0000000 Area 0: C0000000 to C0007FFF Area 1: C0008000 to C001FFFF Area 2: C0020000 to C0027FFF Area 3: C0028000 to C083FFFF U-Boot1.1.2 > protect off c0000000 c001ffff Un-Protect 2 DataFlash Sectors U-Boot1.1.2 > erase c0000000 c001ffff Error: start and/or end address not on sector boundary The copy of images with "cp.b" to this flash seems to work properly, even without erasing the flash before. Regards Sascha