Hi Dear Colleagues,
Now I have a problem, my customer wants to jump from application code to bootloader code, this is how he did it,

But it seemed not to work.
Then we suggested the customer to disable the clock of the peripherals which were enabled,

After disabling the peripheral clock, it was OK to jump from the app to the bootloader. Then the customer tried to jump from bootloader to app, by setting a flag, the customer could know that it was successful, but then it was found that the MCU was stuck in the initialization of the clock. To my understanding, only setting MDIS bit to 1 may not be enough to deInit the clock, are there any other solutions?