[U-Boot-Users] Unable to erase or write into flash
navin karnam
navin.karnam at gmail.com
Thu Jul 3 11:21:13 CEST 2008
Hi all,
I ported u-boot-1.3.3 on board, when boot the board iam getting messagesas
below.
-------------------------------------------------------------------------------------------
U-Boot 1.3.3 (Jul 3 2008 - 10:17:59)
DRAM: 64 MB
Flash: 64 MB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
-----------------------------------------------------------------------------------------------------------
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.
Flash erase error at address 6c0000
Block Erase Error.
Block locked.
Flash erase error at address 700000
Block Erase Error.
Block locked.
Flash erase error at address 740000
Block Erase Error.
Block locked.
Flash erase error at address 780000
Block Erase Error.
Block locked.
Flash erase error at address 7c0000
Block Erase Error.
Block locked.
Flash erase error at address 800000
Block Erase Error.
Block locked.
Flash erase error at address 840000
Block Erase Error.
Block locked.
Flash erase error at address 880000
Block Erase Error.
Block locked.
Flash erase error at address 8c0000
Block Erase Error.
Block locked.
Flash erase error at address 900000
Block Erase Error.
Block locked.
Flash erase error at address 940000
Block Erase Error.
Block locked.
Flash erase error at address 980000
Block Erase Error.
Block locked.
Flash erase error at address 9c0000
Block Erase Error.
Block locked.
Flash erase error at address a00000
Block Erase Error.
Block locked.
Flash erase error at address a40000
Block Erase Error.
Block locked.
Flash erase error at address a80000
Block Erase Error.
Block locked.
Flash erase error at address ac0000
Block Erase Error.
Block locked.
Flash erase error at address b00000
Block Erase Error.
Block locked.
Flash erase error at address b40000
Block Erase Error.
Block locked.
Flash erase error at address b80000
Block Erase Error.
Block locked.
Flash erase error at address bc0000
Block Erase Error.
Block locked.
Flash erase error at address c00000
Block Erase Error.
Block locked.
Flash erase error at address c40000
Block Erase Error.
Block locked.
Flash erase error at address c80000
Block Erase Error.
Block locked.
Flash erase error at address cc0000
Block Erase Error.
Block locked.
Flash erase error at address d00000
Block Erase Error.
Block locked.
Flash erase error at address d40000
Block Erase Error.
Block locked.
Flash erase error at address d80000
Block Erase Error.
Block locked.
Flash erase error at address dc0000
Block Erase Error.
Block locked.
Flash erase error at address e00000
Block Erase Error.
Block locked.
Flash erase error at address e40000
Block Erase Error.
Block locked.
Flash erase error at address e80000
Block Erase Error.
Block locked.
Flash erase error at address ec0000
Block Erase Error.
Block locked.
Flash erase error at address f00000
Block Erase Error.
Block locked.
Flash erase error at address f40000
Block Erase Error.
Block locked.
Flash erase error at address f80000
Block Erase Error.
Block locked.
Flash erase error at address fc0000
Block Erase Error.
Block locked.
Flash erase error at address 1000000
Block Erase Error.
Block locked.
Flash erase error at address 1040000
Block Erase Error.
Block locked.
Flash erase error at address 1080000
Block Erase Error.
Block locked.
Flash erase error at address 10c0000
Block Erase Error.
Block locked.
Flash erase error at address 1100000
Block Erase Error.
Block locked.
Flash erase error at address 1140000
Block Erase Error.
Block locked.
Flash erase error at address 1180000
Block Erase Error.
Block locked.
Flash erase error at address 11c0000
Block Erase Error.
Block locked.
Flash erase error at address 1200000
Block Erase Error.
Block locked.
Flash erase error at address 1240000
Block Erase Error.
Block locked.
Flash erase error at address 1280000
Block Erase Error.
Block locked.
Flash erase error at address 12c0000
Block Erase Error.
Block locked.
Flash erase error at address 1300000
Block Erase Error.
Block locked.
Flash erase error at address 1340000
Block Erase Error.
Block locked.
Flash erase error at address 1380000
Block Erase Error.
Block locked.
Flash erase error at address 13c0000
Block Erase Error.
Block locked.
Flash erase error at address 1400000
Block Erase Error.
Block locked.
Flash erase error at address 1440000
Block Erase Error.
Block locked.
Flash erase error at address 1480000
Block Erase Error.
Block locked.
Flash erase error at address 14c0000
Block Erase Error.
Block locked.
Flash erase error at address 1500000
Block Erase Error.
Block locked.
Flash erase error at address 1540000
Block Erase Error.
Block locked.
Flash erase error at address 1580000
Block Erase Error.
---------------------------------------------------------------------------------------
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?
Regards,
Naveen
Application Engineer
Innovate Software Solutions Pvt Ltd.,
Bengalooru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080703/4243bbb0/attachment.htm
More information about the U-Boot
mailing list