Skip to main content
Associate
September 19, 2024
Solved

STM32L552 Breakpoints won't work

  • September 19, 2024
  • 2 replies
  • 921 views

Hi, I just got my board STM32L552 and currently am setting up development environment for it.

 

I'm testing the board with an example project 'CORTEXM_InterruptSwitch_TrustZone' and the code works well, however, I'm not able to set breakpoints for debugging. To be more specific, I can set breakpoints but the firmware doesn't stop at it.

 

I've already checked through some ways to solve this issue like 'Checking Run --> Skip All Breakpoints' but that wasn't my case. 

 

Could you please tell me what I'm missing? And please let me know if any screenshot is needed.

 

Thank you in advance.

 

Best regards,

Tae Hyun Kim

    Best answer by TaeHyunKim

    I just solved this problem by changing Debug probe to ST-LINK (OpenOCD)

     

    If you're encountering same issue with me then you can try setting the debug probe.

    2 replies

    TaeHyunKimAuthorBest answer
    Associate
    September 20, 2024

    I just solved this problem by changing Debug probe to ST-LINK (OpenOCD)

     

    If you're encountering same issue with me then you can try setting the debug probe.

    TDK
    Super User
    September 20, 2024

    You just posted this exact question 4 hours ago, then replied and marked it as solved. Is it not solved? What changed?

    Solved: STM32L552 Breakpoints won't work - STMicroelectronics Community

     

    When debugging, hit pause to see where execution is. Set a breakpoint near where execution is at currently. Possibly you're not in the correct source file. Also see the Breakpoints tab.

    "If you feel a post has answered your question, please click ""Accept as Solution""."