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: J784S4-EVM- r5f debugging problems

Part Number: CODECOMPOSER


Tool/software:

Hi all,

Debugging J784s4 EVM r5f core(mcu2-0) running FreeRTOS, I can't see the values of global variables on expression tab.However when I stop the code variables values can be read.I'm using CCS 12.4.

I've followed steps from the below post for my board, but still couldn't read the values.

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1313986/tmds64evm-am6442

Also while code is running I can't put the breakpoints where I want directly.For placing breakpoints first I need to stop the code, then put the breakpoints.Is there any solution for that?

Thanks.

  • Hi,

    However when I stop the code variables values can be read.

    This is the expected results. You will not be able to see variables values while the code is running.

    Also while code is running I can't put the breakpoints where I want directly.For placing breakpoints first I need to stop the code, then put the breakpoints.Is there any solution for that?

    Similarly, breakpoints must be set before running the program. I would recommend reloading the program and it should halt at your main function, then set the breakpoints where you need. You can also set breakpoints where you would want to see the values of the global variables.
    Thanks,

    Neehar

  • This is the expected results. You will not be able to see variables values while the code is running.

    Variables on C7x are be read in continuous mode.Is that expected for ARM cores?

    Similarly, breakpoints must be set before running the program. I would recommend reloading the program and it should halt at your main function, then set the breakpoints where you need. You can also set breakpoints where you would want to see the values of the global variables.

    Also I can set breakpoints on C7x cores while code is running.Is it also related to ARM cores?

  • Hi,

    The variables and breakpoints will not update automatically on the R5F core unless the program is paused. I would recommend testing by placing breakpoints while the the program is halted at the main function, and view the variable values at these breakpoints.
    Thanks,

    Neehar