Question
software Jump to Bootloader F429Z
Posted on March 31, 2015 at 17:57
Hi I am trying to jump to the bootloader on F429z with using B0 B1 pins
using the code belowbut when i send 0x7f on uart1 (from my remote client app) I get no response back at allI have confirmed Buad rate 57600 8e1 with logic analyser.The Stack Pointer is set to the Value( 0x20002d40) I see in address 0x1FFF0000. Is this correct?Any Ideas to why i get no response?Thanksvoid (*SysMemBootJump)(void);void BootLoaderInit(uint32_t BootLoaderStatus){SysMemBootJump = (void (*)(void)) (*((uint32_t *) 0x1FFF0004)); if(BootLoaderStatus ==1) { //Shut down any tasks running __set_PRIMASK(1); //Disable Interupts HAL_UART_MspDeInit(&UartHandle); HAL_RCC_DeInit(); SysTick->CTRL = 0; //reset systic timer SysTick->LOAD = 0; SysTick->VAL = 0; __set_MSP(0x20002d40); //Set the main stack pointer to its default values SysMemBootJump(); while(1);} #bootloader-started-by-software #groundhog-day