h503 .cfg Files to enable Debug #2383
-
Is your feature request/improvement related to a problem? Please describe. STM32H503RB Nucleo Describe the solution you'd like .cfg files and others related to openocd Debug for STM32H5xx Describe alternatives you've considered CubeIDE having its own issues Additional context .cfg files not found in stm32duino github |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
About H5 .cfg, it was not provided because openocd do not support it (yet?). If you want to debug, you can try using cmake and import the cmake project in STM32CubeIDE which include a customized openocd version. Anyway this is advanced usage and do not support this, sorry. Note: |
Beta Was this translation helpful? Give feedback.
-
After updates to stm32duino core still same behavior with HAL_DAC_ConfigChannel() on H503RB Test code:
After some hours:
|
Beta Was this translation helpful? Give feedback.
-
stm32h5xx_hal_dac.c line 1355:
Should evaluate FALSE but is instead TRUE bug maybe? |
Beta Was this translation helpful? Give feedback.
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: