Jump from application to bootloader in K32L2B series

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Jump from application to bootloader in K32L2B series

1,010 Views
koteswararao
Contributor I

Hi guys
I am new to bootloader concept, and I am trying to create jump function from application to bootloader in K32L2B series microcontroller .when debugging, bootloader is looping continuously. 
can you guys help me how to solve this.

0 Kudos
1 Reply

852 Views
jay_heng
NXP Employee
NXP Employee

What is your 'bootloader' meaning? Is it Chapter 14 Kinetis ROM Bootloader?

if so, do you use below code to jump to bootloader?

 

void (*runBootloader)(void * arg);
runBootloaderAddress = **(uint32_t **)(0x1c00001c);
runBootloader = (void (*)(void * arg))runBootloaderAddress;
runBootloader(NULL);

0 Kudos