bootloader jump to app is sucessed，but I need the APP program jump to the bootloader program ，the jump is error！and how to close the external interrupts？
1. MSR[EE] must be cleared. Yes, wrteei 0 is correct.
2. Priority register INTC_PSRn needs to be cleared.
3. Local interrupt enable bit in a peripheral needs to be disabled.
4. Corresponding interrupt flag should be cleared if it is set.
Points 2, 3 and 4 should be done for all interrupts.
It's also good practice to put everything back to default state before jump.
First of all, thank you very much for giving me the answer, but I do not quite understand a few points, please help me explain again,
1, MSR[EE] in which register, data manual did not find;
2. How much INTC_PSR register should be assigned and how to clear it
Thank you very much!
1. This can be found in core reference manual:
2. It's like:
INTC.PSR[n].B.PRI = 0x00;
... where 'n' is IRQ number. It can be found in Table 16-10 in the reference manual.