AnsweredAssumed Answered

software Jump to Bootloader F429Z

Question asked by kelly.brett on Mar 31, 2015
Latest reply on Apr 4, 2015 by kelly.brett
Hi I am trying to jump to the bootloader  on F429z  with using B0 B1 pins
using the code below
but when i send 0x7f on uart1 (from my remote client app) I get no response back at all
I 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?
Thanks

void (*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);
}

Outcomes