How to realize BOOTLOADER, S12ZVML32 based on CAN bus

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to realize BOOTLOADER, S12ZVML32 based on CAN bus

516件の閲覧回数
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 返答(返信)

503件の閲覧回数
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 件の賞賛
返信

506件の閲覧回数
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 件の賞賛
返信