I have a board of SPC560B. I need to make a BootLoader.
I want to do that:
the JMP_ADDRESS is 0x40000
PowerON--> running BootLoader at 0x000000 in flash.--->delay 3000ms-->if （update cmd ==false）----->
(*(AppFunctionType)(JMP_ADDRESS+8))(); // jump to app and should not back
Is that ok?
Why do all people develop BootLoader in RAM for MPC5XXX?
Can't BootLoader be run in Flash for SPC5XXX/MPC5XXXX?