Hello,
Upon trying to program a new u-boot with Code Warrior I got the following messages:
fl::target -lc "LC for Simple Flash"
fl::target -b 0x10000000 0x20000
fl::target -v off -l off
cmdwin::fl::device -d "JS28F00AM29EWHA" -o "64Mx16x1" -a 0x60000000 0x67ffffff
cmdwin::fl::image -f "u-boot.bin" -t "Auto Detect" -re on -r 0x60000000 0x67ffffff -oe on -o 0x60100000
cmdwin::fl::erase image
Beginning Operation ...
-------------------------
Auto-detection is successful.
File is of type Binary/Raw Format.
Performing target initialization ...
Downloading Flash Device Driver ...
Reading flash ID ...
Erasing Sector 0x60100000 to 0x6011FFFF
Erasing Sector 0x60120000 to 0x6013FFFF
Erasing Sector 0x60140000 to 0x6015FFFF
Erasing Sector 0x60160000 to 0x6017FFFF
Erasing ...
Error: Erase failed. Flash driver reports the following error(s): Sector Protection Error
Error: Erase failed. Flash driver reports the following error(s): Sector Protection Error
Can you help ?
Till now I programmed u-boot few times and it was Ok.
Thank you,
Z.V
Hi Adrian,
I double checked.
SW2,3 are set to bank 0.
Thank you,
Z.V
If the switches are correct, then try to unprotect before erase/program.
Adrian
Hi Adrian,
I recreated the CW RAM application project.
Now programming works fine.
Thank you !
Z.V
From the dip-sw make sure the IFC is enabled and QSPI is disabled.
Adrian