cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L053, using DAP

AshwiniKool
Associate II

hi 

I am currently using STM32L053 processor and ST LINK debugger with KEIL MDK5. For printing Assert condition I require DAP. (Don't want to use serial port.)

For that as I read, will need to use Event recorder . As my processor has M0 core need to change some configurations of Event recorder. if I change the configurations one or other error is coming, and also not able to use DAP for printf statements.

 

Kindly help in this

TIA

Regards

Ashwini

2 REPLIES 2
Amel NASRI
ST Employee

Hi @AshwiniKool ,

Please refer to the article How to measure elapsed time in your STM32 application: Using Keil®'s MDK-ARM event recorder.

Does it answer what you need?

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Pavel A.
Evangelist III

@AshwiniKool As Amel advised, the Keil (software) event recorder works just fine on STM32 Cortex-M0 MCUs with ST-LINK, in the Keil IDE.  For debug prints you can also use semihosting.