From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Thu, 30 Aug 2007 11:29:44 -0400 Subject: [U-Boot-Users] BDI2000 problems flashing virgin custom 8548 board In-Reply-To: References: <46D5E04F.7070307@qstreams.com> <46D5EA92.9000001@qstreams.com> <46D6D675.2020908@qstreams.com> Message-ID: <46D6E268.8020102@qstreams.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de robert lazarski wrote: > On 8/30/07, Ben Warren wrote: > >> robert lazarski wrote: >> >>> On 8/29/07, Ben Warren wrote: >>> >>> >>>> robert lazarski wrote: >>>> >>>> >>>>> atum8548>erase 0 >>>>> Erasing flash at 0x00000000 >>>>> # Erasing flash memory failed >>>>> >>>>> >>> Thanks Ben and all. I really do have 1Gb / 128MB of flash - here's >>> some quick docs: >>> >>> http://www.spansion.com/products/S29GL01GP.html >>> >>> >>> >> You're right. Sorry about that. >> >>> CHIPSIZE 0x128000 ;The size of one flash chip in bytes >>> >>> >> CHIPSIZE 0x8000000 >> > > Did you mean to say I should have 'CHIPSIZE 0x8000000' ? Is 0x128000 > for 1Gb (128MB) not correct? I tried that but still get the same > error. > > 128 MB = 128 * 1024 * 1024 = 134217728 = 0x8000000 >> Whenever I use the erase command, I specify the sector size and the >> number of sectors to erase. >> Have you tried: >> >> erase 0xf8000000 0x20000 1 (erase 1 sector sized 128kB) >> > > Tried that: > > atum8548>erase 0xf8000000 0x20000 1 > # Erasing flash memory failed > > I think my unlocking is incorrect... > >> Can you read from the chip using the mdh command? Everything should be >> > > No, I get: > atum8548>mdh > # SAP: read access failed > > Did you try mdh 0xf8000000 ? regards, Ben