How to Program Hex Files

September 4, 2025 ยท View on GitHub

  1. Set both switches/jumpers in dev mode position.
  2. Open STM32CubeProgrammer.
  3. Select the Disco board through the "External loaders" tab.
  4. ST-Link configuration: set mode to "Hot plug".
  5. Connect the board.
  6. From the "Erasing & programming" tab, select the Binary/ai_fsbl.hex file.
  7. Wait for flashing to complete.
  8. From the "Erasing & programming" tab, select the Binary/network_data.hex file.
  9. Wait for flashing to complete.
  10. From the "Erasing & programming" tab, select the Binary/x-cube-n6-ai-people-detection-tracking.hex file.
  11. Wait for flashing to complete.

Board Selection Flash the Hex file