AnsweredAssumed Answered

LS1021A-TWR: Flash programming with CW

Question asked by Vered Zvi on Jan 31, 2017
Latest reply on Feb 3, 2017 by Vered Zvi

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

Outcomes