Skip to main content
adavide
Visitor II
January 31, 2019
Question

Debug freeze using STM32CubeMX generated software

  • January 31, 2019
  • 0 replies
  • 430 views

​Hi everybody, I'm approaching to HAL. I'm using STM32CubeMX to setup a STM32L431 and when I start debugging the MCU freeze in SystemClock_Config() function. If I don't use HAL my simple program (just i++; inside indefinite loop) works fine. Maybe I missed some configuration but CubeMX generate the code and the generated code compile. I combined different software and debugger, but the problem is not there.

Any idea?

This topic has been closed for replies.