AnsweredAssumed Answered

SCI Activated Bootloader

Question asked by Ray Hall on May 26, 2015
Latest reply on Jun 3, 2015 by Ray Hall

I have downloaded many examples of a bootloader for the S12x and all of them require a pin to be held low to activate the bootloader. I want to be able to send a command via SCI to the application code to make it jump to the bootloader. In the past with the Atmel the application was sent a command via SCI that then set BootLoad = TRUE ,and this code then jumped to the bootloader.

 

If (BootLoad == TRUE)   {    // Got command to jump to bootloader

    asm("jmp 0x3F800");

}

 

Is there a bootloader example that can work this way. Or how do I modify the existing examples so they do not look for a pin change.

 

Ray.

Outcomes