AnsweredAssumed Answered

Cannot restart application

Question asked by drechsel.reinhard on Aug 22, 2017

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?

Outcomes