Skip to main content
Associate
February 10, 2026
Question

object detection

  • February 10, 2026
  • 3 replies
  • 251 views

how to build object detection hex file in stm32cubeprogrammer using stm32 ai model zoo on stm32N6570-DK microcontroller, how to know the board is flash or not, how i see the live ouput in lcd on the board please explain clearly.

3 replies

Julian E.
Technical Moderator
February 12, 2026

Hi @jagusatya,

 

Everything is explained here:

https://github.com/STMicroelectronics/STM32N6-GettingStarted-ObjectDetection/blob/main/Doc/Program-Hex-Files-STM32CubeProgrammer.md

 

Make sure to put both boot switches to the right (unplug and replug the board)

Then flash the 3 .hex files

Then unplug the board

put all switches to the left

replug the board.

 

Have a good day,

Julian

​In order 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.
jagusatyaAuthor
Associate
February 16, 2026

I Follow these steps and I put all switches to the left and Replug the board that time the board will reset. I don't see any output on the LCD on the board. Why? Please explain.

Julian E.
Technical Moderator
February 17, 2026

Hi @jagusatya,

 

Do you get any error in CubeProgramer while Flashing the .hex?
Are you sure that the camera is plugged correctly?

 

Have a good,

Julian

​In order 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.
jagusatyaAuthor
Associate
February 18, 2026

I get the core is locked up in stm32cubeprogrammer while flashing the files. I connected camera correctly.

Julian E.
Technical Moderator
February 18, 2026

Hi @jagusatya,

 

  1. Put both switch to the right to be in dev mode
  2. Plug the board
  3. Open CubeProgrammer and click connect (you should have no problems)
  4. Check the external loader for N6 (maybe this is your problem
    JulianE_0-1771402841125.png
  5. Go to to "erasing and programing"
  6. Flash the 3 .hex files, you should have no errors
  7. Disconnect the board
  8. Put switched back to the left
  9. Plug again

 

Have a good day,

Julian

​In order 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.