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/CC2642R-Q1: Simplelink CC26X2 SDK printf / Display_printf issue

Part Number: CC2642R-Q1
Other Parts Discussed in Thread: SYSCONFIG, SIMPLELINK-CC13X2-26X2-SDK, CCSTUDIO

Tool/software: Code Composer Studio

Team, can you help me with the below from a customer: 

 

I am working on LAUNCHXK-CC26X2R1 board and have CCS 10.0.0.00010 installed along with SimpleLink CC13x2 26x2 SDK (4.20.01.04)

I have imported GCC version of the “empty” project from SDK examples and configured Display for HOST in empty.syscfg.

The project compiles fine and I can flash it on the board. However, I have printf and Display_printf in my code that do not print anything in the IDE console.

If I change Display to use UART, I can see Display_printf output on UART terminal but printf has no output anywhere.

 

My end goal is to have printf/scanf working because I am porting a library on CC26x2 that relies heavily on printf and scanf for unit testing.

 

I have attached my “empty” project for your reference. Could you please help me out with this issue?

 

 

 

 

The other issue I see with CCS is that in Resource Explorer I see gray check mark in front of SimpleLink CC13x2 26x2 SDK (4.20.01.04). It is referencing specific version of xdctools and sysconfig that it cannot find. How do I fix this?

 

 

 empty_CC26X2R1_LAUNCHXL_tirtos_gcc.zip

  • Hey DEEP SEARCH,

    Please have the customer review the Debugging SLA, which references the Tips for Using Printf documentation.  Hopefully these will help address their printf needs.

    CCSTUDIO v10.1 is recommended for SIMPLELINK-CC13X2-26X2-SDK v4.30, typically XDCTools and SysConfig are installed alongside the SDK download.  Perhaps they should try re-installing from the tool page followed by checking for updates inside of CCS.

    Regards,
    Ryan