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/TMS320F28377D: Debugger information, wrong address of pointers

Part Number: TMS320F28377D


Tool/software: Code Composer Studio

Hi

I am using CCS7, Compiler version: TI v16.9.6.LTS, Output format: legacy COFF

I have a static structure variable  "static smf_instance_t ST_StatemachineInstance;" defined in "BoardState.c"

When I am debugging in "BoardState.c" I can see the structure on its correct memory location (0x0001170A Global Shared Ram) (1st Picture)

When I enter the Function "SMF_InitInstance()" debugger will point to wrong memory location (0x0000170A) (2nd Picture)

I have this issue with many other variables in the same way.

Many thanks for your reply

Kind Regards

Samuel

  • Hello Samuel,
    check your pointer value before calling SMF_InitInstance().
  • Samuel,

    Does the code work well? Does XAR4 contain the entire address?

    If the code works fine and it is simply a display error, I would strongly suggest you to install CCSv8.3 in a separate directory, use a different workspace and try the code. Many corrections and bug fixes were implemented in newer versions and this may well be one of them (I couldn't find a specific bug report).

    Otherwise, we may need a small test case that reproduces the error.

    Regards,
    Rafael