Skip to main content
Bernt
Associate
April 6, 2020
Question

STM32F030: Keil uVision5: How can I use the printf to SWO / ITM ?

  • April 6, 2020
  • 1 reply
  • 923 views

I am trying this but in uVision, under the Manage Run-Time Environment->Compiler->I/O, there is no drop down option for ITR as mentioned in the manuals.

Options available are only only breakpoints, EVR and user.

The manuals all assume this options is present.

Debugger is STLink V2

I am new to this enviroment and chip and have no idea what next to do.

Any help is greatly appreciated.

This topic has been closed for replies.

1 reply

Pavel A.
Super User
April 6, 2020

Cortex M0 does not have ITM (ITM, not ITR by the way) - this is why it does not present this option.

To use EVR for debug prints, you need to reserve RAM for it in a special way. Keil has a knowledge base article about EVR that describes what to do,

-- pa