2023-09-17 10:40 AM
We have one STM32h563zi board on which first We blink the normal led program, After that We perform the Secure Boot by taking the reference from STmicro official website, Secureboot run successfully. We run the regression script .
Now the board should come out from the Secure boot, but When we try to blink the led program, it's not blinking.
When we are try to debug it it's showing hard fault.
Why ?
2023-09-17 11:00 AM
Hello @Mithilesh_Pandey
Can you share your code so our community member can find if there is a problem in the code.
Best regards.
II
2023-09-17 11:06 AM
I have taken the firmware from st micro electronics website : https://wiki.stmicroelectronics.cn/stm32mcu/wiki/Security:How_to_start_with_OEM-iROT_on_STM32H573_and_563%E2%80%93TrustZone_enabled
2023-09-17 11:19 AM
2023-09-26 09:32 AM
Hello @Mithilesh_Pandey,
From your description I'm not sure what you did exactly.
Did you strictly follow the how to or you created your own application ?
If created own application, you need to adapt the mapping in the linker file for instance.
Also, you have to make sure that VTOR is pointing to your interrupt vector table.
Best regards
Jocelyn