Skip to main content
Associate III
May 15, 2024
Question

Hard Fault detected

  • May 15, 2024
  • 3 replies
  • 1118 views

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.

This topic has been closed for replies.

3 replies

ST Technical Moderator
May 15, 2024

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 "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
IstillagaAuthor
Associate III
May 15, 2024

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.

IstillagaAuthor
Associate III
May 16, 2024

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.