S12X, How to used msCAN in bootloader

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

S12X, How to used msCAN in bootloader

Jump to solution
1,383 Views
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 Kudos
Reply
1 Solution
1,371 Views
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

 

View solution in original post

0 Kudos
Reply
2 Replies
1,372 Views
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 Kudos
Reply
1,072 Views
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 Kudos
Reply