Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
Hi,
I wanted to try out the ECC feature on TMS320F28075 using the Card Controller board. But there is a error message when debug the project with the following message,
------------------------------------------------
"C28xx_CPU1: File Loader: Verification failed: Attempted to write past the end of memory at 0x1080000@Program"
"C28xx_CPU1: GEL: File: C:\Users\chongkt\workspace_v7\blinky_cpu01_ECC\CPU1_FLASH\blinky_cpu01_ECC.out: Load failed."
------------------------------------------------
============================================================
Below are the steps I took,
1) I used the "blinky_cpc01" project from C2000Ware -> "C:\ti\c2000\C2000Ware_1_00_01_00\device_support\f2807x\examples\cpu1\blinky\cpu01"
2) I edited the "28075_FLASH_link.cmd" to generate the ECC content
---------------
....
/* Flash sectors */
FLASHA : origin = 0x080002, length = 0x001FFE /* on-chip Flash */
FLASHB : origin = 0x082000, length = 0x002000 /* on-chip Flash */
...
...
ECC_FLASHA : origin = 0x01080000,length = 0x000400, ECC={ input_range=FLASHA
algorithm=F021 }
ECC_FLASHB : origin = 0x01080400,length = 0x000400, ECC={ input_range=FLASHB
algorithm=F021 }
......
---------------------
3) Build Project and then go to Run->Debug to program and run the code
4) CCS prompted not able to complete the programming of code with the following message,
"C28xx_CPU1: File Loader: Verification failed: Attempted to write past the end of memory at 0x1080000@Program"
"C28xx_CPU1: GEL: File: C:\Users\chongkt\workspace_v7\blinky_cpu01_ECC\CPU1_FLASH\blinky_cpu01_ECC.out: Load failed."
Is there any step missing or incorrect, please advise, thank you very much.
Best Regards
MC