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.

CCS/EK-TM4C1294XL: Programming fails with verification error.

Part Number: EK-TM4C1294XL
Other Parts Discussed in Thread: TM4C1294NCPDT, , UNIFLASH

Tool/software: Code Composer Studio

Code Composer Studio 7 running on Linux Kubuntu 16.04.2

Board was programming fine, then suddently starts failing every time with the following console log:

CORTEX_M4_0: GEL Output:
Memory Map Initialization Complete
CORTEX_M4_0: File Loader: Verification failed: Values at address 0x00007FF0 do not match Please verify target memory and memory map.
CORTEX_M4_0: GEL: File: /home/lucas.hartmann/workspaces/CCS6/qs_iot/Debug/qs_iot.out: a data verification error occurred, file load failed.

Tried importing and programming a few example projects unchanged (qs_iot, enet_lwip and my project based on senshub) but all failed with the same error.

Example project0 does program fine, though.

What can be causing this issue?

  • Hi Lucas,

    Not sure, but please check that the crystal frequency is correct in the On-Chip Flash tab. Once you connect to the device, select "Tools"->"On-chip Flash". Check that the crystal frequency is set to 25MHz as shown below:

    Then select "Remember My Settings" so this will be come the new default for you.

  • I can not find the exact View you showed, but there were similar settings on

    Project - Properties - Debug - Flash Settings - Crystal Frequency

    It was set to 8MHz, changed to 25MHz, no effect. Same error remains.

  • I think what happened is that you imported the example "qs-logger" from a "TM4C123" directory. If you then used the "target_config.ccxml" file that is associated with that project, it is for a TM4C123G part. If programming an EK-TM4C129XL Launchpad, you need to use a TM4C1294 target configuration. To check on your machine, double click the "target_config.ccxml" file you used to launch the connection and it will open in the file window. There you can see which device it is selecting. Below is a picture of using the wrong configuration. When I used the wrong configuration to program "qs-logger" into an  EK-TM4C129XL Launchpad, I got the same error you reported.

  • Thanks for the replies. Checked target config, was Stellaris ICDI and TM4C1294NCPDT.

    Reinstalled everything (CCS, compilers and tivaware), deleted the old workspace, tried importing several projects from:
    TivaWare_C_Series-2.1.3.156/examples/boards/ek-tm4c1294xl/

    hello => works
    blinky => works
    enet_uip => works
    enet_lwip => Failed to program/verify.
    enet_io => Failed to program/verify.
    qs_iot => Failed to program/verify.
    enet_weather => Failed to program/verify.

    Basically all programs that use lwip have failed... Too bad I need it...

    Any Ideas?
  • I think what is common to the routines that fail is that they are larger than the ones that program successfully.  The failing address of 0x00007FF0  seems too coincidental to be just a random bad flash location, but it is possible. Can you erase and successfully blank check the part? Have you looked at location 0x00007FF0  in the memory window after trying to program the part? Finally you may want to try LM Flash Programmer or UniFlash to erase and program the part in case it is a problem with the CCS configuration.

  • I use UniFlash to erase and it works for me!! Thanks Bob.
  • Lucas Hartmann said:
    Code Composer Studio 7 running on Linux Kubuntu 16.04.2

    What is the full CCS version number?

    There was the bug CCBT-2023 in CCS 7.0.0 which caused data verification errors for some programs - see CCS/TM4C123GH6PM: Certain TiwaWare examples work on CSS v6, but not on CSS v7

    Bug CCBT-2023 is reported as fixed in CCS 7.1.0 - see the Release Notes for Code Composer Studio™ v7.1.0