2025-02-19 10:29 PM
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
2025-02-26 7:39 AM
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.
2025-02-26 1:23 PM - edited 2025-02-26 1:25 PM
@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.