[U-Boot-Users] BDI2000 problems flashing virgin custom 8548 board

Ben Warren bwarren at qstreams.com
Thu Aug 30 17:29:44 CEST 2007


robert lazarski wrote:
> On 8/30/07, Ben Warren <bwarren at qstreams.com> wrote:
>   
>> robert lazarski wrote:
>>     
>>> On 8/29/07, Ben Warren <bwarren at qstreams.com> 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





More information about the U-Boot mailing list