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/LAUNCHXL-CC1350: printf debug output over SWO pin and XDS110

Part Number: LAUNCHXL-CC1350
Other Parts Discussed in Thread: CC1350, SYSBIOS

Tool/software: Code Composer Studio

Hello,

Is it possible to use the SWO pin of the CC1350 controller to send printf debug output via XDS110 either to CCS or to one of the COM ports the XDS110 creates? (Auxiliary Data Port/User Uart)?

Thanks,

Harald

  • Hello hkr,
    Did you refer to this wiki page?
    processors.wiki.ti.com/.../SWO_Trace

    Regards,
    Prashanth
  • Hello Prashanth,

    Yes, this is well about what I've asked. In the configuration, the Aux COM pin can be chosen between TDO and UART.

    But In our design, we won't have TDO nor UART free for debugging reasons, so the question is about getting the SWO Trace over the SWO pin (DIO18).

    Thanks, Harald

  • Have you looked at this post: e2e.ti.com/.../412139 ?
  • Thanks, I have stumbled upon that post and some others while searching the E2E community forums.

    So if I understand correctly, SWO trace with the SWO pin is possible, but not with the XDS110 - I would need the XDS200?

    With XDS110, there is no item "SWO Trace" to select in the target configuration of CCS.

    But what I don't understand  - If I don't need trace, but only printf, can this "Auxiliary COM Port" the XDS110 generates be used for that?

    And further questions - Would it be possible to connect the CC13x0 SWO pin to the XDS110 TDO pin, because this pin I can route to the Aux COM port in the CCS target configuration?

    And how do I printf to SWO or TDO pin in the target's firmware? I'm thinking about some Sysbios instrumentation to do this...

    Thanks!

    hkr