[U-Boot-Users] Cannot erase flash sector
Joe Culler
joe.culler at gmail.com
Fri Mar 24 14:56:57 CET 2006
Hi there,
I have a question about erasing flash sectors, please tell me what
steps I did wrong,
thank you.
The following is my boad using u-boot command "flinfo":
Bank # 1: SGS Thomson PSD4256G (1 M, uniform sector)
Size: 1 MB in 16 Sectors
Sector Start Addresses:
20000000 (RO) 20010000 (RO) 20020000 20030000 20040000
20050000 20060000 20070000 20080000 20090000
200A0000 E 200B0000 E 200C0000 E 200D0000 E 200E0000 E
200F0000 (RO)
If I want to erase sector from 20020000 to 20090000 for example, I use
the command
"erase 20020000 2009ffff" to erase flash, it seems to be ok from erase message:
Erase Flash from 0x20020000 to 0x2009ffff
.............. done
Erased 8 sectors
But when I use "flinfo" command to see whether those sectors are
erased or not, it shows
the same above message:
Bank # 1: SGS Thomson PSD4256G (1 M, uniform sector)
Size: 1 MB in 16 Sectors
Sector Start Addresses:
20000000 (RO) 20010000 (RO) 20020000 20030000 20040000
20050000 20060000 20070000 20080000 20090000
200A0000 E 200B0000 E 200C0000 E 200D0000 E 200E0000 E
200F0000 (RO)
If I understand correct, sectors from 20020000 to 20090000 should be
displayed (E),
but those aren't. I don't know what step I did wrong.
Regards,
Joe.
More information about the U-Boot
mailing list