Hi NXP,
as mentioned in another post earlier, we're in the process of migrating some existing code from the MC56F82748 to the new(er) MC56F81748.
Part of the functionality is a bootloader for allowing firmware update in the field.
(We have written our own bootloader and are NOT using the built in bootloader of the MC56F81xxx!)
The device always starts up with the bootloader on power up and the bootloader then jumps to the application area, if it detects a valid application.
For reprogramming the device we have to jump back from the application to the bootloader, which has been implemented as a jump command so far.
On the new MC56F81748 we now see a strange behaviour after jumping back to the bootloader, where the interrupts (PIT and SCI) don't seem to get enabled, since the according interrupt handlers are not executed.
This is both the case when going back to the bootloader with the jump instruction, but also when using the software reset command (bit 4 in the SIM_CTRL register).
The DSC only starts up the bootloader and I can see that the main loop is running, but the interrupts are not triggered.
After power-up or when triggering a hardware reset via the RESET input of the DSC, the bootloader code is working as expected and the interrupts are triggered correctly.
According the the reference manual for the MC56F81xxx there should be no difference between a software reset via the SIM_CTRL register and a hardware register, but we definitely observe a difference here.
How can that difference be explained?
Of course, the application executes another code, enables other interrupts and uses another part of the memory, but if the bootloader shoudl start up in the same way after a software and a hardware reset, the application code should be totally irrelevant.
Thanks in advance for your help on this.
@xiangjun_rong