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/TMS320C6678: how to fix the real value at certain address by CCS memory browser windows?

Part Number: TMS320C6678


Tool/software: Code Composer Studio

Using CCS 5.5 to debug what appears to be cache-coherency issue with a TMS320C6678 core.

Using the memory browser  with  default "CPU Memory View",  I can query data information in certain address.

But When my dsp program triggers a breakpoint , then i repeatedly click button ‘Go’ of the memory browser window,the data in that address sometimes change.

So how can i fix the real data is and how to understand "CPU Memory View"?

  • Hello,

    user5298022 said:
    then i repeatedly click button ‘Go’ of the memory browser window,the data in that address sometimes change.

    I see that you are using DDR memory. Did you do proper initialization so that your device can use DDR? If it is not initialized properly, you will see the kind of behavior you described.

    This kind of initialization is normally done in startup GEL files. If you are using the 6678 EVM, try using the one in:

    .\ccsv5\ccs_base\emulation\boards\evmc6678l\gel

    See the below chapter for more information on GEL:

    https://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_debug-gel.html

    Thanks

    ki

  • Thank you for your reply.

    I use the ccs default 'evmc6678l.gel' to do initialization, but i modify a little about interface of 'ddr3_memory_test'.

    Detail as follow:

    And by the console output log, the result of initialization is successful.

    Detail as follow:

    But using default evmc6678l.gel without any modification,  run 'ddr3_memory_test' always fail.

    Details as follow:

  • ... I think my TMS320C6678 DDR3 can not work properly in 1333MHz that default configuration of evmc6678l.gel.

    When I set DDR PLL for 1000MHz, it can pass ddr3 memory test.

    Thank you for Ki's advice.