This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Hi Guys,
i have question regarding my HVMotorCtrl+PfcKit_v2.1 with the TMS320F28069M Controll Card. I am trying to activate the CLA-Unit on the controller but I cannot flash the controller. I thing there is a problem with my Linker Command File.
I can compile the project without errors. But when I try to debug the controller a "Load programm Error" emerges. The console output is:
C28xx: Writing Flash @ Address 0x003f0ef8 of Length 0x00000173 (page 0)
C28xx: Erasing Flash Sector A
C28xx: Erasing Flash Sector B
C28xx: Erasing Flash Sector C
C28xx: Erasing Flash Sector D
C28xx: Erasing Flash Sector E
C28xx: Erasing Flash Sector F
C28xx: Erasing Flash Sector G
C28xx: Erasing Flash Sector H
C28xx: Writing Flash @ Address 0x003ec000 of Length 0x00003ff8 (page 0)
C28xx: Writing Flash @ Address 0x003efff8 of Length 0x00000f00 (page 0)
C28xx: Writing Flash @ Address 0x003f7ff6 of Length 0x00000002 (page 0)
C28xx: Writing Flash @ Address 0x003e4000 of Length 0x0000019a (page 0)
C28xx: Writing Flash @ Address 0x003f11a0 of Length 0x0000002e (page 0)
C28xx: Writing Flash @ Address 0x003f106b of Length 0x00000134 (page 0)
C28xx: Writing Flash @ Address 0x003e0000 of Length 0x00000450 (page 0)
C28xx: Writing Flash @ Address 0x003f0000 of Length 0x0000018c (page 1)
C28xx: Flash Programmer: Error encountered when writing to flash memory
C28xx: File Loader: Memory write failed: Unknown error
C28xx: GEL: File: ..\workspace_resolver_svn\Resolver_Lab\Flash\Resolver_Lab.out: Load failed.
The following file is my Command Linker File:
/cfs-file/__key/communityserver-discussions-components-files/171/F28069M_5F00_CLA_5F00_FLASH.txt
My memory map looks like this:
/cfs-file/__key/communityserver-discussions-components-files/171/Resolver_5F00_Lab.txt
If I am trying to flash the controller with Uniflash the verification prints the following error:
"[ERROR] C28xx: File Loader: Verification failed: Values at address 0x3F0000@Program do not match Please verify target memory and memory map."
Could you please help me to solve this problem? If you need additional information dont hesitate to ask.
With best regards
Manuel
Manuel,
It sounds like you are attempting to write to invalid memory sectors. I will recommend you cross check the datasheet to make sure you writing to the correct regions.
http://www.ti.com/lit/ds/symlink/tms320f28069.pdf
Additionally, i will also recommend you check out the device support folder in C2000Ware for examples linker command files with CLA support.
Regards,
Ozino