Skip to main content
Visitor II
July 14, 2025
Question

example code does not run on STM32N6570-DK with STM32CubeProgrammer

  • July 14, 2025
  • 1 reply
  • 304 views

The issue is that after downloading the modelzoo pose estimation example code from  https://github.com/STMicroelectronics/stm32ai-modelzoo-services/tree/main/application_code/pose_estimation/STM32N6/Model/STM32N6570-DK for N6 board in the STM32N6570-DK and using cubeprogrammer to load the .hex file using the external loader and erasing and programming tab, it says everything has been done correctly and the application is starting. However on the board nothing happens. Is there a way to fix this? I tried originally with the dev mode set to 1 using the boot0/1 switches and also pressing the reset/user buttons and switching from dev mode, but nothing happens. I even tried to do full erase of the chip to get rid of the preinstalled intro application and still it seems to flash correctly, but does not do anything. 

I tried to build the .hex file using STM32CubeIDE 1.19.0 and that hasnt worked either (it worked, but nothing happens on the board - e.g. LCD is dark). I did not touch the example code, so the issue should be elsewhere.

Thanks for any insides!

1 reply

GaetanGodart
Technical Moderator
July 14, 2025

Hello @ludek69 ,

 

The STM32N6570-DK have a specific building and flashing process.

Please read the readme file to see how it works. Basically, you have to run a script that is provided in the TBS.

 

Regards,