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.

AM6442: CCS v12.0.0.00009 cannot load symbols for R5F when using TI Clang v2.1.0.LTS

Part Number: AM6442

When compiling R5F programs on AM64xGPEVM using CCS v12 and TI Clang v2.1.0.LTS compiler, CCS is unable to load symbols when debugging.

The error shown in the console is "DWARF information is corrupted".

This can be reproduced using any of the TI examples in the MCU+ SDK, e.g. examples/empty/am64x-evm/r5fss0-0_nortos. Change the compiler to TI Clang v2.1.0.LTS and rebuild. Connect debugger to the AM64xGPEVM and load the program to the R5F core. The DWARF error will be shown in the console and CCS will not load the source code for debugging.

This error does not occur when using TI Clang v1.3.1.LTS.