HardFault in STM32H7 OTA #3114
-
Board is a NUCLEO-H753ZI, CubeIDE 1.16.1, Mongoose version is the latest. I get a Hardfault in mongoose.c:468 if (len_aligned_down) ok = flash->write_fn(s_addr, buf, len_aligned_down); s_addr = 0x8100000, buf=0x2400c350 and len_aligned_down = 512.
In the Hardfault I find: So, it seems to be a Precise Data Bus Error.
I hope someone can help me. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Where did you get the code from ? Please see our documentation, and follow the guidelines in our tutorials. Our examples are working and have been tested. Please see what we do, do what we do, use our wizard, try our code examples and tutorials, work your way from them, don't enable things we don't enable (that includes caches), enable things we enable. PS: |
Beta Was this translation helpful? Give feedback.
Where did you get the code from ?
Where did you get the Cube project from ?
What is your config ? What's in mongoose_config.h ?
Why are you talking about the MPU ? Did we enable the MPU in the Cube project ? It is not a Memory Management Fault anyway
Why are you talking about Cube HAL functions, Mongoose does not use Cube HAL functions
Can you please explain what you are doing with what, because I can't guess which one of the thousands of possibilities you are facing. The only thing I can guess is that you are trying to do OTA on a NUCLEO-H753ZI with some code that happens to include Mongoose "latest", where "latest" is not defined, could it be HEAD ? could it be latest release 7.17 ?
You…