我载入了光盘上带的u-boot.bin。然后想用u-boot自己写入到flash中去。
bfin> loady
## Ready for binary (ymodem) download to 0x01000000 at 57600 bps...
CCCxyzModem - CRC mode, 2(SOH)/113(STX)/0(CAN) packets, 5 retries
## Total Size = 0x0001c3f8 = 115704 Bytes
bfin> go 0x1000000
## Starting application at 0x01000000 ...
...
bfin> protect off all
bfin> erase all
Erase Flash Bank # 1
Erasing Flash locations, Please Wait
Erase Flash Bank # 2
Erasing Flash locations, Please Wait
Erase Flash Bank # 3
Erasing Flash locations, Please Wait
bfin> cp.b 0x1000000 0x20000000 0x1c3f8
Copy to Flash... Flash not erased at offset 0x4000 Please erase to reprogram
Flash not Erased
我查了下S29AL016D70有保护功能。
Sector Protection features
— A hardware method of locking a sector to prevent any
program or erase operations within that sector
— Sectors can be locked in-system or via programming
equipment
— Temporary Sector Unprotect feature allows code
changes in previously locked sectors
请教一下如何能让u-boot能烧写该flash呢?
谢谢!