I want to design mpc5604b bootloader , i've developed an demo project in CW 2.10, but some probelms occurs ! The demo project copy a led funciton that residents in flash space from 0x000210c6 to 0x000210ea to the other flash space from 0x00008000 to 0x00008024 , and then jump to 0x8000 to run the led demo function ！but it didn't !
I debuged the demo project ! Based the below figure, I programmed the led function into the other flash space according to flash driver successfully !
I use the following jump syntax , i wonder that it jumped to wrong address , or that the syntax is wrong !
the demo project codes :