AnsweredAssumed Answered

NOR flash programming issue CW 10.5

Question asked by suresh k on Jun 14, 2016
Latest reply on Oct 12, 2016 by Shalaka Shinde

Hi,

   In my custom board using processor T1040 . When i am trying to program the Uboot.bin into NOR flash , after programming few location it is showing error. I am able to fuse .pbl and iram files but not uboot.bin file.

 

check the below log file and error i am getting..

 

 

fl::target -lc "T1040_GCR-core00_RAM_T1040_Download"

fl::target -b 0x0 0x6130

fl::target -v off -l off

cmdwin::fl::device -d "JS28F00AM29EWL" -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 ......  

Unprotecting .......  

Unprotecting ........  

Unprotecting .........  

Unprotecting ..........  

Unprotecting ...........  

Unprotecting ............  

Unprotect Command Succeeded   

cmdwin::fl::device -sd all

cmdwin::fl::device -se 1018 1019 1020 1021 1022 1023

cmdwin::fl::erase list

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

Downloading Flash Device Driver ...  

Reading flash ID ...

Erasing Sector 0xEFF40000 to 0xEFF5FFFF  

Erasing Sector 0xEFF60000 to 0xEFF7FFFF  

Erasing Sector 0xEFF80000 to 0xEFF9FFFF  

Erasing Sector 0xEFFA0000 to 0xEFFBFFFF  

Erasing Sector 0xEFFC0000 to 0xEFFDFFFF  

Erasing Sector 0xEFFE0000 to 0xEFFFFFFF  

Erasing ...

Erase Command Succeeded   

cmdwin::fl::device -sd all

cmdwin::fl::device -se 1018 1019 1020 1021 1022 1023

cmdwin::fl::blankcheck list

Beginning Operation ...   

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

Downloading Flash Utility Driver ...  

Performing Blank Check from 0xEFF40000 to 0xEFFFFFFF ...   

Blank Checking ...

Blank Check Succeeded   

Blank Check Completed Successfully  

cmdwin::fl::image -f "C:\\Users\\cdot\\Desktop\\1040\\u-boot-gcr-jun14.bin" -t "Auto Detect" -re off -oe on -o 0xeff40000

cmdwin::fl::write

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

Programming file C:\Users\cdot\Desktop\1040\u-boot-gcr-jun14.bin  

Auto-detection is successful.  

File is of type Binary/Raw Format.

 

Downloading Flash Device Driver ...  

Reading flash ID ...

Auto-detection is successful.  

File is of type Binary/Raw Format.

 

Downloading 0x00002000 bytes to be programmed at 0xEFF40000  

Executing program ....  

Program Command Succeeded   

Downloading 0x00002000 bytes to be programmed at 0xEFF42000  

Executing program ....  

Program Command Succeeded   

Downloading 0x00002000 bytes to be programmed at 0xEFF44000  

Executing program ....  

Program Command Succeeded   

Downloading 0x00002000 bytes to be programmed at 0xEFF46000  

Executing program ....  

Program Command Succeeded   

Downloading 0x00002000 bytes to be programmed at 0xEFF48000  

Executing program ....  

Program Command Succeeded   

Downloading 0x00002000 bytes to be programmed at 0xEFF4A000  

Executing program ....  

Program Command Succeeded   

Downloading 0x00002000 bytes to be programmed at 0xEFF4C000  

Error:  Program failed.  Can not read target memory at location: 0x0000000000004130.Please make sure that the chip selects are properly configured.

The CWPP response code is: CCSProtocolPlugin : Error writing memory

[CCS last error: Core not responding ].

Error: Program failed.Can not read target memory at location: 0x0000000000004130.

Please make sure that the chip selects are properly configured.

The CWPP response code is: CCSProtocolPlugin : Error writing memory

[CCS last error: Core not responding ].

 

 

suggest the solution for debugging this issue.

 

and check my NOR flash settings in below screenshot.. I checked by increasing the Target RAM size also.

 

Regards,

  suresh kalepu

Outcomes