cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot restart application

drechsel2
Associate
Posted on August 22, 2017 at 09:07

I need to restart my application without starting the bootloader or any reset (Watchdog, Soft-Reset,....).

Processor: SMT32F207

Bootloader start address is 0x08000000, application is starting at 0x08020000.

The recommended way doesn´t work:

         JumpAddress = *(vu32*) (APPL_START_ADDRESS + 4);

      JumpToApplication = (pFunction) JumpAddress;

         /* Initialize user application's Stack Pointer */

      __set_MSP(*(vu32*) APPL_START_ADDRESS);

         JumpToApplication();

Any idea?

0 REPLIES 0