2025-01-19 06:30 AM
my project use u599 and enabled gpu2d,but after powerup,it rendered one frame then goes into hardfault,this is debug info.
what is the problem?
2025-01-19 06:57 AM
>>what is the problem?
Perhaps stack corruption, or a callback pointer invalid?
2025-01-20 08:28 PM
I tried severial times now the fault info become this:
Is there any ST guys who can help me?
2025-01-21 12:22 AM - edited 2025-01-21 12:27 AM
Hello @amb ,
Check error registers to see what the hardfault is related to. The disassembly of your code around the point of failure (the faulty instruction) can also provide clues.
Ensure that all memory accesses are properly aligned.
This article might be very helpful on your investigation: How to debug a HardFault on an Arm Cortex®-M STM32.
2025-01-21 02:56 AM
hello @Imen.D
I cant decide which part go wrong,as a parttime programmer.
the debug info now say this:
I am totally confused.
I used costom made board,and one month ago ,I have a working project which displayed fine.but after re_generate the project ,something goes wrong and I cant find the problem.
2025-01-21 05:07 AM
You have to, in debug mode, open the fault analyzer, and it would point you in a better direction on what is going on.
Hope it helps.
2025-01-21 03:50 PM
what do you mean by"Ensure that all memory accesses are properly aligned"? where should I focus on?