Skip to main content
Associate III
June 18, 2025
Question

STM32N6570-DK Restoring Default Firmware Before Custom Code Upload

Hello ,

I recently purchased the STM32N6570-DK Discovery Kit. When I first powered it on, it showed a default video demo on the LCD along with live imaging, which I assume is the factory firmware.

Now, I would like to try some basic operations like UART communication and toggling an LED, so I created a new project for that.

Before flashing my custom code, I used STM32CubeProgrammer to read and save the default firmware as a .hex file from the board.

Before running my custom application, I wanted to restore the default original  demo by reloading the saved .hex  file. However, when I tried to program the board with this .hex file using STM32CubeProgrammer, it failed to load and showed an error (attached in the image).

So here are my questions:

  1. Is it possible to directly reload the saved .hex  file to get back the default factory demo?

  2. Or do I need to generate a Project_trust .bin file with a proper secure header and flash that instead?

  3. What is the correct method to restore the factory configuration and demo on this board?

Thank you in advance.

 

Screenshot (244).pngScreenshot (240).png

This topic has been closed for replies.