Skip to main content
Stefan1
Associate II
August 29, 2018
Question

Unable to go to bootloader at powerup

  • August 29, 2018
  • 1 reply
  • 626 views

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

This topic has been closed for replies.

1 reply

Stefan1
Stefan1Author
Associate II
September 21, 2018

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