Skip to main content
Visitor II
February 20, 2025
Question

STM32L053, using DAP

  • February 20, 2025
  • 2 replies
  • 490 views

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

    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

    Super User
    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.