cancel
Showing results for 
Search instead for 
Did you mean: 

How to run program on STM32N6 after flashing without changing BOOT-1 jumper

SauravShandilya
Associate

Hello ST Community,

I’m working with the STM32 Nucleo-N657 board and need a way to execute my application after flashing to external memory without manually toggling the BOOT1 jumper on the board.

What I’m Doing Now:

  1. BOOT1 jumper is set to HIGH for development (DEV boot mode)
  2. I have a simple LED blink application built with GPIO configured in the FSBL context
  3. The code runs as expected in DEV mode (debug mode of STM32CubeIDE)
  4. I then flashed the signed binary in external memory using STM32CubeProgrammer and External Memory loader for Nucleo-N6 board at address 0x70000000. 
  5. Then, I switched BOOT-1 jumper to LOW and reset the board. The code runs as expected from external memory.

Problem:

I have N6 board connected to a remote PC and won’t always have physical access to toggle the BOOT1 jumper and press reset.

I would like to know:

  • Is there a programmatic or configuration-based way to run the program automatically after flashing, without needing to change the BOOT1 jumper manually?

  • Can this be achieved via STM32_Programmer_CLI, or by modifying BOOTROM-related OTP settings.  

I am looking for a way to avoid all manual interventions between flashing and execution.

Any help or guidance will be greatly appreciated!

Thanks,

 

0 REPLIES 0