Hi everyone,please forgive me for my poor English.
In MC9S08DZ60, I wrote a bootloader in case to upgrade my application, now I met a problem. In my bootloader, if no upgrade signal received from CAN-BUS, then jump to application. When jumpped to application, some functions could not execute, e.g. I send commands via CAN-BUS to application, some commands have right response, but others no.
I don't understand why? If only program application into flash, it running normally.
Could anybody help me?
Best Regards!
I found the reason, in bootloader and application use different communication protocols, in application, the CAN reinitialization doesnt work, so I set the CANCTL0 = 0x01,then jump to application, it works as expected.