Changing the bootloader.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Changing the bootloader.

1,392 次查看
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 项奖励
回复
3 回复数

1,232 次查看
carleslloret
Contributor II

What MCU do you use?

Did you consider the option of two bootloaders?

mc9s12xs128.

0 项奖励
回复

1,232 次查看
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 项奖励
回复

1,232 次查看
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 项奖励
回复