cancel
Showing results for 
Search instead for 
Did you mean: 

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

Bernt
Associate II

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.

1 REPLY 1
Pavel A.
Evangelist III

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