Hello everyone,
Recently I' m learning mpc5675k and want to apply Bootloader . when MCU run Bootloader and have download other application , can we start the application through application start address ?
For example, the applcation start address is 0x00040314 , can I run the application through the ways below?
(*((void(*)())(0x00040314)))();
or ((void(*)(void))0x00040314)();
Hi, something like this could work for you:
void (*fptr)(void);
fptr = (void (*)(void))0x00040314;
fptr();
If you don't need to return, you may simply use instruction 'bl'