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.

CODECOMPOSER: How to read Memory

Part Number: CODECOMPOSER
How to read Memory

I am using Code Composer Studio 12.4.

Is there a way to import Application information from the device after downloading the Application to the post-build device?
If possible, I would like to know how to specify the area to be imported.

I have the purpose of writing the imported file with Load in the CCS tab function.
Thank you in advance and best regards,
  • Hi,

    I may not be understanding your use case, so if this does not address your question please let us know.  You can use Debug Server Scripting (DSS) to read and write target memory (more information). DSS APIs allow you to specify the address ranges you want to operate on.

    If you want to execute these operations from within the CCS IDE, you can do so from the CCS Scripting Console.

    Another option is to use a GEL script to read or write memory.  GEL scripts can be attached to a CCS menu or can be executed after certain events occur.

  • Thank you for your reply.

    I checked it, but it was a little different from my intention.

    Describe the detailed case.
    What I want to confirm is 2.

    1. Flash the built file to HW Board
    2. Connect to the HW Board and read the information in the specified Memory area.
        As an image, this is close. software-dl.ti.com/.../ccs_debug-main.html
    3. Extract the read .out file and .hex file to the team member
    4 .Team members flash to HW Board using .out file and .hex file
         The function you are trying to use is here. software-dl.ti.com/.../ccs_debug-main.html

  • Your explanation was very helpful.

    In the image you linked to in step (2), you can select different file types to save.   If you select Intel Hex, for example, the next screen looks like this:

    On this screen you can select which memory ranges you can save. 

    When you load the saved file in step 4, some file types will let you specify the address and length of where the file will be loaded.  If the file you saved in step 2 already encodes the addresses and length, the load dialog does not allow you to override this.  An example which lets you specify address and length is "TI data". After clicking next, you get this:

  • thank you. I was able to accomplish the steps.