Flash status register CFGBSY bit is always set on init
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-01-31 2:41 AM
Hi.
I can see that CFGBSY bit is set and reset in some MX peripheral init functions, but the main problem is that it stays set after MX_TIM1_Init and it locks my flash for any operation.
Did anybody saw this kind of problem?
Any help will be appreciated.
Thanks.
Labels:
- Labels:
-
STM32CubeMX
-
STM32WB series
-
TIM
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-02-13 1:52 AM
I think I have found the problem. It doesn't happens because of any peripheral or cube initialization, it happens when CPU2 get into hard fault.
https://community.st.com/s/question/0D53W000024XBqLSAW/stm32wb55-cpu2-hardfault-for-unknown-reason
Attached post for more information.
