2025-06-17 10:29 PM
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:
Is it possible to directly reload the saved .hex file to get back the default factory demo?
Or do I need to generate a Project_trust .bin file with a proper secure header and flash that instead?
What is the correct method to restore the factory configuration and demo on this board?
Thank you in advance.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.