cancel
Showing results for 
Search instead for 
Did you mean: 

Clock Configuration -> Reset Clock Configuration

MikeRafone
Associate II

Hello! I'm not sure if this is supposed to happen, but when clicking Clock Configuration -> Reset Clock Configuration in the IDE, it doesn't actually reset to the board defaults that were configured when the project was initially created, but instead to some bogus values.

While playing with my stm32 nucleo64-f401re, I needed to reset the clocks to the defaults that were configured originally, so using this option seemed like the way to go. I clicked the option, regenerated the code, and didn't check back on the clocks page, thinking it reset them to the correct values. Turns out, it set my clock speed way above the limit of my MCU, and random values to the phrepherals, which I ultimatly ended up actually flashing on the board.

I'm not sure if this is a bug, but if it is, please let me know where I can report this issue. But first, I figured I'd make a forum post to make sure this is the intended behavior.

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @MikeRafone 

After several tries to reproduce the issue mentioned above ,CubeMX 6.13.0 works correctly.

THX

Ghofrane

View solution in original post

4 REPLIES 4
Ghofrane GSOURI
ST Employee

Hello @MikeRafone 

First let me thank you for posting.

Could you please specify which CubeMX version you are using and what OS you are running?

THX

Ghofrane

Ghofrane, thank you for your answer!

I'm using:

IDE:

Version: 1.17.0

Build: 23558_20241125_2245 (UTC)

CubeMX:

STMicroelectronics STM32CubeMX 6.13.0.202411220809 com.st.stm32cube.common.feature.mx

I may add, that I have tried reproducing the issue just now, and I wasn't able to. I'm not sure what is going on here, maybe this some short of cache thing?

Hello @MikeRafone 

After several tries to reproduce the issue mentioned above ,CubeMX 6.13.0 works correctly.

THX

Ghofrane

Yes, super weird. Sorry for wasting your time.