Skip to main content
Associate
February 20, 2025
Question

STM32L053, using DAP

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

This topic has been closed for replies.

2 replies

Amel NASRI
ST Technical Moderator
February 26, 2025

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 "Best Answer" on the reply which solved your issue or answered your question.
Pavel A.
February 26, 2025

@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.