[U-Boot-Users] Unable to erase or write into flash
Nobuhiro Iwamatsu
iwamatsu at nigauri.org
Fri Jul 4 03:15:01 CEST 2008
Hi,
2008/7/3 navin karnam <navin.karnam at gmail.com>:
> Hi all,
>
>
> I ported u-boot-1.3.3 on board, when boot the board iam getting messagesas
> below.
What do you use archtechture?
<snip>
>
> But when try erasing flash :
> #erase all
> Erase Flash Bank # 1 - Warning: 259 protected sectors will not be erased!
> done
>
> So i enabled the flash for writing using:
> #protect off all
> Un-Protect Flash Bank # 1
>
> After that also i am unable erase the flash:
> #erase all
> ---------------------------------------------------
> Flash erase error at address 680000
> Block Erase Error.
> Block locked.
I think you failed flash protect off. Please check protect infomation
by flinfo command after protect off.
When protection is not excluded, setting of Flash may be wrong.
<snip>
> ---------------------------------------------------------------------------------------
>
> So how do i erase or write into flash, do i need to write my code which
> should do erase and writting into flash? or
> The code in u-boot is sufficient to that?
Best regards,
Nobuhiro
More information about the U-Boot
mailing list