How to realize BOOTLOADER, S12ZVML32 based on CAN bus

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

How to realize BOOTLOADER, S12ZVML32 based on CAN bus

665 次查看
maxxu
Contributor IV

Hi

I want to design a bootloader on the S12ZVM chip, whether the related process can be directly used, or how I should do it, thank you

0 项奖励
回复
2 回复数

652 次查看
lama
NXP TechSupport
NXP TechSupport

Hi,

There are:

 

1) S12Z MagniV Bootloader – uses UART

https://www.nxp.com/docs/en/application-note/AN4723.pdf

 

2) Simple Bootloader over Uart….

https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Simple-Serial-Bootloader-for-S12Z-AN-draft/...

 

The principles are the same and it is necessary to substitute UART by CAN.

 

3) There is also

https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099

which contains CAN example.

 

4) CAN example AN4975 ..download pdf and SW files at

https://www.nxp.com/products/processors-and-microcontrollers/additional-mpu-mcus-architectures/s12-m...

 

4) or go to

https://www.nxp.com/products/processors-and-microcontrollers/additional-mpu-mcus-architectures/s12-m...

…. And download

Unified Bootloader – User Guide  (of course it is a part of next package)

+

https://www.nxp.com/downloads/en/snippets-boot-code-headers-monitors/unified_bootloader_framework.zi...

Best regards,

Ladislav

0 项奖励
回复

655 次查看
dastek
Contributor III

I have done something similar before, but to update firmware.

By bootloader, do you mean you want to load code into RAM and then call that code in RAM.  Or are you trying to update firmware.

Either way you would need a piece of code that runs at start up which decides if you want to run normally or load your bootloader code into RAM.

This you would have to implement yourself. 

It is mostly about security.  Do you want someone else  to load his code into your micro and read out what is inside.

 

I hope this helps.

 

0 项奖励
回复