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.

In CCSv5.5, I get this error: a data verification error occurred, file load failed.

In using CCSv5.5 with my own proven F2812 hardware and a Signum JTAGJET C2000 emulator.  I erased the flash successfully, including sector A after unlocking the F2812. Then I tell CCS to load the program and I get this error. How do I troubleshoot this? Here is the console output.

C28xx: Writing Flash @ Address 0x003F7FF8 of Length 0x00000008
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: Erasing Flash Sector I
C28xx: Erasing Flash Sector J
C28xx: Finish Writing Flash @ Address 0x003F7FF8 of Length 0x00000008
C28xx: Writing Flash @ Address 0x003F7FF6 of Length 0x00000002
C28xx: Finish Writing Flash @ Address 0x003F7FF6 of Length 0x00000002
C28xx: Writing Flash @ Address 0x003D9F55 of Length 0x00000050
C28xx: Finish Writing Flash @ Address 0x003D9F55 of Length 0x00000050
C28xx: File Loader: Data verification failed at address 0x003D9F56 Please verify target memory and memory map.
C28xx: GEL: File: C:\CCS_Workspace_v5.5.0\SingenX05-3a\Debug\SingenX05-3a.out: a data verification error occurred, file load failed.

___________________________________________________________________________________________________

Also, I can close CCS and open the Signum Flash utility and successfully flash the F2812 that way with an older version of my program and it works. But when I try to load that older version in CCS, I get almost the same error about a data verification error except that the address is slightly different. Why will my programs load OK with Signum's Flash utility but not with CCSv5.5? And please guid me on how to troubleshoot this.

  • Hello,
    The first thing to check is your startup gel file (if one is being used). Are you using the default f2812.gel file that comes with CCS (located in <CCSv5 INSTALL DIR>\ccsv5\ccs_base\emulation\gel?

    Thanks
    ki
  • Hi,

    Yes, the GEL file I'm using is in the location C:\ti\ccsv5\ccs_base\emulation\gel\f2812.gel, but how would the gel file affect the flash programming? To make my issue clear, the flash is loading in flash sections A thru H, then crashes when flashing sector I or J, depending on whether I load my older .out file or the one I just build in CCSv5.5. Also, with the older .out file, when I use the 3rd party (Signum) flash utility, I can successfully flash the f2812 with the older .out file that was built in CCSv3.3 and an older DSP/BIOS version.

    Since the memory locations are valid and are properly listed in the tcf file (for DSP/BIOS 5.42 instead of in a linker .cmd file), I have no idea how to begin troubleshooting this error. I would most appreciate suggested steps to troubleshoot or if you could point me to a document that might enlighten me.

    Thanks.