cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to go to bootloader at powerup

Stefan1
Associate III

I have a STM32F769I-Eval and want to use the DFU bootloader.

From the application I can start the bootloader with the code below. The devices is recognized in Windows as a DFU device and I can use DfuSe to upload code to the device. Perfect.

static void Jump_to_bootloader (void)
{
  /* Reinitialize the Stack pointer and jump to application address */
  JumpAddress = *(__IO uint32_t *) (0x1FF00000 + 4);
  Jump_To_Application = (pFunction) JumpAddress;
 
  /* Initialize user application's Stack Pointer */
  __set_MSP(*(__IO uint32_t*) 0x1FF00000);
 
  Jump_To_Application();
}

But I am not able to force the STM32F7 to go to the bootloader after power up. From the documentation it is my understanding that I must set SW1 to 1 and JP1 is open. Then the bootloader should start when the board is powered up. But the device is not recognized as as DFU device in Windows.

What am I doing wrong?

/Stefan

1 REPLY 1
Stefan1
Associate III

I have tested on two STM32F769I-Eval and it is not working.

But i got it to work on a custom board with the STM32F769NI and the Nucleo-767ZI