Page 6 of 6

Re: STM32f103VET6 Bootloader jump problem.

Posted: Thu Jun 18, 2015 11:30 am
by franek.bmw
Reset peripherals:

Code: Select all

           rccResetAPB1(0xFFFFFFFF);
           rccResetAPB2(0xFFFFFFFF);


Clear state of Systick:

Code: Select all

         SysTick->CTRL = 0; //disable SysTick
         SysTick->VAL = 0;


Clear state of NVIC:

Code: Select all

/* Disable all interrupts */
      uint8_t i;
      for(i=0; i<8; i++)
         NVIC->ICER[i] = NVIC->IABR[i];


Is it all good and enough?

Re: STM32f103VET6 Bootloader jump problem.

Posted: Thu Jun 18, 2015 1:29 pm
by Giovanni
I think it is sufficient, just try.

Giovanni