Skip to main content
Visitor II
December 20, 2023
Question

Program stuck Thread #1(User request), while debugging

  • December 20, 2023
  • 1 reply
  • 1072 views

I am using stm32g070rbt6 controller for my project, with 16MHz clock.

Peripherals included in my project,

1.UART

2.I2C

3.TIMERS(tim14 & tim17)

Issue is like when I'm in debug mode, I couldn't able to go step by step code but when I put the breakpoint after the peripheral initialization, it keep hitting the same breakpoint and it feels like strange behavior

Please help me out in this

Thank You

 

    This topic has been closed for replies.

    1 reply

    ST Employee
    December 20, 2023

    Hello @NAdim.1

    Check the optimization level of your project 

    NAdim.1Author
    Visitor II
    December 21, 2023

     

    Hello Sarra,

    Thank you for giving reply,

    Below is the optimization level of the project

    NAdim1_0-1703135845269.png