Skip to main content
Associate III
April 10, 2026
Question

Target unknown error 32 in STM32N6

  • April 10, 2026
  • 2 replies
  • 297 views

I am working with STM32N6570-DK. My code is building fine , suddenly a hard fault has started coming. I have tried updating firmware, resetting the board, unplugging and reconnecting it, But debugger is getting stopped after sometime.

chanchal94_0-1775805954446.png

 

2 replies

Andrew Neil
Super User
April 10, 2026

@chanchal94 wrote:

debugger is getting stopped after sometime.


Is your code going into a low-power mode, and/or reconfiguring the debug pins?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate III
April 10, 2026

No my code does not have any low power mode.

Below is my project structure. I have FSBL included in it but my whole project is in application main.c . Do I have to take care of any extra settings of debugger while debugging the application code? 
While in this case if I try to debug FSBL first that is also not working. Which parameters should I recheck again.
From Example - GPIO toggle was working fine. 

chanchal94_0-1775820740429.png

Technical Moderator
April 10, 2026

Hello @chanchal94 

Let me thank you for posting.

I recommend that you take a look at this Knowledge Article and this Application Note.

They describe how to get started with projects based on STM32N6 microcontrollers in the STMicroelectronics
STM32CubeIDE integrated development environment.

Thanks.

Mahmoud

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.
Associate III
April 10, 2026

In this knowledge article at ST community, I tried loading this Template file, If I am working on my FSBL+Application project .

1) In debug configuration settings , What bin file should I use, the same which has been used in template example or from our project and how to find its address?

2) Debug as in my case should halt at main only (as I am working in main of application only)

3) Should I start debugging from FSBL or application directly ( My whole program is in application main ())
I have attached the screenshot of template page and other is my application debug configuration settings , Can you tell these two queries?

chanchal94_0-1775824806844.png

chanchal94_1-1775824838861.png

 

 

Associate III
April 15, 2026

@Andrew Neil @Mahmoud Ben Romdhane  Good day!
This is a reminder message, My project is still stuck in this application. Kindly help.

 

Regards

Chanchal