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.
Tool/software: Code Composer Studio
Hi TI Suppot Team,
I have been trying to use dynamic printf in debug mode. But it seems to be that it is not printing in my console at all.
What could I have been missing?
Regars,
Jonathan
Hello,
Please see:
https://e2e.ti.com/support/tools/ccs/f/81/t/613486?CCS-How-to-use-Dynamic-Printf
Thanks
ki
Hi Ki,
Thank you for your response. By the way, I have read the thread that you have sent me, I just want to ask, what do you mean by use GDB instead of the default CCS debugger?
Will the dynamic printf will be displayed at the built in console of code composer studio?
Regards,
Jonathan
Jonathan Espanol said:I just want to ask, what do you mean by use GDB instead of the default CCS debugger?
By default, CCS is configured to use the CCS debugger. However, it is possible to configure CCS Eclipse to use GDB instead. This is commonly done for Linux Application Debug. See the video below starting at the 2:00 minute mark:
http://dev.ti.com/tirex/explore/node?node=ANdZMtY4FxFg0WVklwIQcQ__FUz-xrs__LATEST
Jonathan Espanol said:Will the dynamic printf will be displayed at the built in console of code composer studio?
Only if GDB is used.
Thanks
ki
Hi KI
I have been looking for any documentation for GDB debugging for CCS v10 for my cc1352r. But I can't find one.
Would you help me point to right direction?
Regards,
Jonathan
Take a look at openOCD:
http://openocd.org/doc/html/GDB-and-OpenOCD.html
It is not officially supported with CCS but CCS is Eclipe based and it is possible to configure Eclipse and openOCD. There are some Eclipse plug-ins for this also:
https://gnu-mcu-eclipse.github.io/debug/openocd/
Unfortunately we do not officially support CCS with openOCD. Hence we not be able to assist much further with this effort. The experts in the Bluetooth forum may have more suggestions.
Thanks
ki