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.

Problem programming TMS570 HDK



I am running Windows 7 Enterprise, CCS version 5.1.1.00031, with a Hercules TMS570 HDK.

I cannot load a program onto the HDK using the Hercules Safety MCU Demos, through CCS, or with nowFlash.  

I do not have a problem with the Hercules Safety MCU Demos with the Hercules USB stick.  Also, I have loaded programs on C2000 processors and the Hercules USB stick successfully with CCS.  I think there must be something incorrectly configured related to the HDK, but I cannot figure it out.

I downloaded the "Hercules TMS570 Blinky Example" from the TI processors wiki page, and imported the project into CCS v5 using the "Import CCS/CCE Eclipse Projects" dialog within CCS.  I have also created the "Hello World" project from scratch using the basic examples project from CCS, and I am unable to load that project onto the HDK as well.

The error shown in CCS is as follows:

CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0CortexR4: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.
CortexR4: File Loader: Data verification failed at address 0x00000002 Please verify target memory and memory map.
CortexR4: GEL: File: C:\Users\meb4723\Documents\Workspace_TMS570HDK\Hercules TMS570 Blinky Example\Debug\Hercules TMS570 Blinky Example.out: a data verification error occurred, file load failed.

If I open the target configuration dialog and click "Test Connection" it says the JTAG test passes.

Thank you in advance,

Mike

  • Mike

    I encountered the same problem.  Have you resolved it?

    Thx,

    LOOK

  • Hi Mike, aaa Look,

    To help us narrow this down, would you please:

      - enable the Debug Server Log  -> Through CCS, Under Help, Code Composer Studio support, you should see a dialog that lets you enable log files. Debug Server Log is the one to enable.   (Select it and chose "Properties")

      - launch your debug session and try to program

      - close the debug session

      - terminate the debug session

      - zip up the log file that was created and attach to this thread.

    Thanks and Best Regards,

    Anthony

  • Look,

    I have resolved the issue enough to meet my needs.  I was not able to get the Hercules Demo Software working with the HDK, but I was able to get my CCS environment up and running.  I can now program and debug processors using either CCS or NowFlash.

    The Hercules Demo Software issue seems to be an incompatibility issue related to 64 bit OS.

    Everything was resolved by updating CSS.  I used the disc that came with the HDK rather than the latest download.  Here are the version numbers currently installed on my machine.

    From CCS click: "Help" -> "About Code Composer Studio"

    In the Help window click the “Installation Details” button.

    Code Composer Studio:                    5.1.1.00031

    CCS NowFlash Emulators:               5.1.0.0

    Hercules Emulation:                           4.2.4.0002

    Debug Server:                                      5.1.0.539

     

    It was a bit of a rabbit trail, but I began to follow the directions for updating CCS components in another e2e thread.  The updates failed and left CCS in a state that it would not even start.

    Another thread said that when this happens a full re-install is the only option.  After the full re-install using the CD that came with the HDK all was well.

    Hope this helps,
    Mike

     

    These are the two e2e posts that I followed:

    http://e2e.ti.com/support/microcontrollers/hercules/f/766/p/220346/776843.aspx

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/220005/775005.aspx