Associate III
April 6, 2022
Solved
[H723] I want to know why it becomes a hard fault
- April 6, 2022
- 2 replies
- 2660 views
H723ZGT6 Nucleo-144
CubeMX 6.3.0
AN209, Summer 2017, V 5.0
An error occurred when writing a for loop process before SDRAM initialization.
I know the solution, but I don't know why this is happening.
(Add static or volatile or write a for loop after SDRAM initialization
Then the problem can be solved)
[AN209, Summer 2017, V 5.0]
Using Cortex-M3/M4/M7 Fault Exceptions
I found this manual with details of hard faults.
About UNALIGNED
"There was an unaligned memory access," he said.
What is the relationship between SDRAM initialization and for loops?
Why do I get a hard fault error if I write a for loop before SDRAM initialization?
If anyone knows please let me know.
