Hello,
I am currently using can bootloader for MC9S12P
I have succedded in programing the flash but the problem is that I don't know how to jump back to the bootloader
N.B : I don't have access to any gpio pin in the board i'm using so I can't have a physical input to switch between bootloader and user application
Here's my .prm file :
Start12.s :
Thank's in advance for your help !
Hello Nada,
Did you figure it out?
Best Regards,
Diana
BootloaderKey @ 0xC00 seems being located in D-flash. So you need to reprogram it to 0x5aa5 and trigger device reset, could be COP watchdog reset.
Sorry I meant to jump back from user application to bootloader
So I understood. Reprogram BootloaderKey @ 0c00 from application to 0x5aa5 and trigger COP reset (enable COP if disabled, then either enter forever loop or write non 0xAA/0x55 value to CPMUARMCOP).