Skip to main content
drechsel2
Visitor II
August 22, 2017
Question

Cannot restart application

  • August 22, 2017
  • 0 replies
  • 412 views
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?

    This topic has been closed for replies.