AnsweredAssumed Answered

Sector Protection Error when program flash on t4240qds

Question asked by Weiqiang He on Aug 14, 2015
Latest reply on Nov 13, 2016 by longqi luo

Hi,

   I tried to program nor flash on a t4240qds bareboard via CodeWarrior TAP, but got following error.

   I added an unprotect , an erase  and a program action. I'm sure the qds board is good.

 

fl::target -lc "test_RAM_T4240_Download"

fl::target -b 0x0 0x180000

fl::target -v off -l off

cmdwin::fl::device -d "S29GL01GP" -o "64Mx16x1" -a 0xe8000000 0xefffffff

cmdwin::fl::protect all off

Beginning Operation ...   

-------------------------

Performing target initialization ...   

Downloading Flash Diagnostics Driver ...  

Reading flash ID ...

Unprotecting all sectors...  

Unprotecting ...  

Unprotecting ....  

Unprotecting .....  

Unprotecting ......  

Unprotect Command Succeeded   

cmdwin::fl::device -d "S29GL01GP" -o "64Mx16x1" -a 0xe8000000 0xefffffff

cmdwin::fl::device -sd all

cmdwin::fl::device -se 0

cmdwin::fl::erase list

-------------------------

Downloading Flash Device Driver ...  

Reading flash ID ...

Erasing Sector 0xE8000000 to 0xE801FFFF  

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

 

 

Any help will be appreciated.

 

   Regards,

     weiqiang

Outcomes