S12X, How to used msCAN in bootloader

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

S12X, How to used msCAN in bootloader

跳至解决方案
1,389 次查看
koauts
Contributor II

hello Sir,

Implemented a serial bootloader on S12XS64 with reference to AN4258 and SW.

Next, I would like to know whether CAN communication is possible by adding CAN to the application and how to implement it.

I would like some help with this technique.

Alternatively, I would like to know if it is possible to implement a serial bootloader using Process Expert.

 
0 项奖励
回复
1 解答
1,377 次查看
lama
NXP TechSupport
NXP TechSupport

Hi,

There is no AN which implement CAN bootloader. However it is still a serial communication so you can use any CAN example code and cover it with your higher level communication protocol.

( https://community.nxp.com/t5/S12-MagniV-Microcontrollers/LAMA-s-S12XE-unofficial-examples/ta-p/11007... )

The main problem to create an example is the programmer site which requires some code on PC side or any protocol translator/interface if you use another protocol on physical line  (for example UART/CAN/UART, USB/CAN/USB, ….)

The philosophy of data processing and the programming algorithm remain the same.

There is, however, AN2546 (search for it in link presented bellow) which can provide you some more info but it was designed for old families. I mention it only for inspiration.

https://community.nxp.com/t5/S12-MagniV-Microcontrollers/List-of-MagniV-and-S12-X-Application-notes/...

 

Best regards,

Ladislav

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,378 次查看
lama
NXP TechSupport
NXP TechSupport

Hi,

There is no AN which implement CAN bootloader. However it is still a serial communication so you can use any CAN example code and cover it with your higher level communication protocol.

( https://community.nxp.com/t5/S12-MagniV-Microcontrollers/LAMA-s-S12XE-unofficial-examples/ta-p/11007... )

The main problem to create an example is the programmer site which requires some code on PC side or any protocol translator/interface if you use another protocol on physical line  (for example UART/CAN/UART, USB/CAN/USB, ….)

The philosophy of data processing and the programming algorithm remain the same.

There is, however, AN2546 (search for it in link presented bellow) which can provide you some more info but it was designed for old families. I mention it only for inspiration.

https://community.nxp.com/t5/S12-MagniV-Microcontrollers/List-of-MagniV-and-S12-X-Application-notes/...

 

Best regards,

Ladislav

 

0 项奖励
回复
1,078 次查看
koauts
Contributor II

hello
Recently, I couldn't work due to work.

Can you please tell me a CAN example that I can use for the bootloader example?

0 项奖励
回复