Hello,
I want to do a system reset at the end of my program on 5675K.And I write the code on the end of my programme.But the programme can not do a system reset by itself.So I only do a system reset on power.Why?
The reset code is:
ME.MCTL.R = 0x00005AF0;/*复位*/ |
ME.MCTL.R = 0x0000A50F;
Hello,Peter
My program can not do the system reset with you code.I am doing the CAN bootloader .I need do the software reset on the end of the CAN bootloader program.After reset,it will jump to the 0x00000000 to run the application program.But the CAN bootloader programm can not jump normally! There is hardware initialization in CAN bootloader programm. So I suspect that there are some programme about hardware initialization.
Can you give me some hardware initialization projects about reset?
Thank you!
Hi,
Believe me my code do a Software Destructive RESET exactly like it is described in reference manual
Also if you check the debugger you will see the F_SOFT_DEST flag set in RGM[DES] register.
After reset SSCM module search for valid RCHW on bootable locations.
The device boots from first valid RCHW. On offset 0x4 from valid boot address is jump to user code start address.
Peter
Hi Peter ,
I need to do a SWT destructive reset for MPC5606B ,but I can't find this in the data sheet ,any alternative for this value for MPC5606B ??
Hello Peter ,
Thanks for answering ,is there any other destructive resets that can be forced by software for MPC5606B ?