cancel
Showing results for 
Search instead for 
Did you mean: 

Debug freeze using STM32CubeMX generated software

adavide
Associate

​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?

0 REPLIES 0