AnsweredAssumed Answered

How to properly setup printf with Keil µVision and STM32L151C8T6A ?

Question asked by Olivier FAURAX on Jan 2, 2017
Latest reply on Jan 6, 2017 by Olivier FAURAX

I'm unable to get the printf output in the keil µVision IDE, so I need a checklist to know if my setup is correct.

 

In the Keil project, I configured ST-Link Trace with Core Clock 32Mhz and all ITM port ticked (only number 0 needed, perhaps ?).

 

I run the debugger with the "printf window" open.

 

I tried:

  • printf
  • ITM_SendChar

 

And nothing shows in the printf window. Is there something I missed to check?

Outcomes