Skip to content

h503 .cfg Files to enable Debug #2383

Closed Answered by fpistm
LightningStalker asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @LightningStalker

I've tested and met the issue too.
This is due to the ICACHE which is enabled preventing reading the PACKAGE version.
More info here:
https://community.st.com/t5/stm32-mcus/how-to-avoid-a-hardfault-when-icache-is-enabled-on-the-stm32h5/ta-p/630085

You can disable it adding a file named hal_conf_extra.h with:

#define HAL_ICACHE_MODULE_DISABLED

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@fpistm
Comment options

@LightningStalker
Comment options

@fpistm
Comment options

Answer selected by LightningStalker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2382 on May 28, 2024 08:45.