2024-05-15 05:04 AM
Hi
I am using STM32U575ZIT6 microcontroller. I have created a simple program that turns on several LEDs on the board, but when switching to the non-secure zone, a Hard Fault occurs.
2024-05-15 06:06 AM - edited 2024-05-15 06:06 AM
Hi @Istillaga
Did you program secure or non-secure image first? It could be linked to the programming order.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-05-15 06:26 AM
Hi @FBL ,
I first programmed the non-secure image. Previously, I managed to get it to work with another program, but it doesn't work with this one. I followed the same steps and nothing. I also configured the option bytes to start from the appropriate addresses.
2024-05-16 12:47 AM
I also get the following message from the debugger: No source available for "<signal handler called>() at 0xffffffa9".
Running a blank program also gives the error, so I suppose it might be some configuration of the option bytes.