Changing the bootloader.

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

Changing the bootloader.

938 Views
carleslloret
Contributor II

I just throw a question to the air... Is it possible to update the bootloader with a user application firmware? The user application user certainly can be updated with a bootloader... but it is possible to do the same with the bootloader?

The bootloader simply erases and saves some values into the eeprom . Is it possible to do the other way around?

Thank a lot.

0 Kudos
Reply
3 Replies

778 Views
carleslloret
Contributor II

What MCU do you use?

Did you consider the option of two bootloaders?

mc9s12xs128.

0 Kudos
Reply

778 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

Thank you for the details.

You can use CodeWarrior IDE and via BDM interface load the new bootloader into MCU.

Some possibilities how to update a bootloader can be found on the community thread below:

how could I update bootloader via bootloader?(s12xe) 

If you have an interest in the bootloader example for the S12X devices see below:

http://www.nxp.com/files/microcontrollers/doc/app_note/AN4258SW.zip 

SW:

https://www.nxp.com/files-static/microcontrollers/doc/app_note/AN4258.pdf 

I hope it helps.

Best Regards,

Diana

0 Kudos
Reply

778 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello Carles,

What MCU do you use?

Did you consider the option of two bootloaders?

The link below can be useful:

Simple Serial Bootloader for S12Z - AN draft 

I hope it helps.

Best Regards,

Diana

0 Kudos
Reply