2025-01-27 08:57 AM - edited 2025-01-27 09:00 AM
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!
Solved! Go to Solution.
2025-01-28 04:04 AM
Hello @MikeRafone
After several tries to reproduce the issue mentioned above ,CubeMX 6.13.0 works correctly.
THX
Ghofrane
2025-01-28 02:09 AM
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
2025-01-28 03:44 AM
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?
2025-01-28 04:04 AM
Hello @MikeRafone
After several tries to reproduce the issue mentioned above ,CubeMX 6.13.0 works correctly.
THX
Ghofrane
2025-01-28 04:23 AM
Yes, super weird. Sorry for wasting your time.