How to do CAN flashing to MPC5744P

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

How to do CAN flashing to MPC5744P

1,099 Views
saurabhkulkarni123
Contributor II

1) I'm using MPC5744P board and try to flash .elf file which is MBD MATLAB generated. Initially I flash MPC5744P UART0_CAN0.rbf file through S32PA for that. On board I'm using CAN0 port of pin no.PB0 and PB1 but still I'm not able to flash program. 

2)Can I use S32PA for flashing through CAN?

Please let me know how can I resolve it.

0 Kudos
Reply
6 Replies

1,090 Views
mariuslucianand
NXP Employee
NXP Employee

Hello @saurabhkulkarni123,

The steps you have mentioned seem to be good, but I want to check if you are using the RappID BL application GUI for CAN deployment since we are supporting only the UART directly from Simulink.

Open the RAppID BL Tool. For all the settings, you could load the rbl file, located in the _rtw generated code. Please select teh Vector compatible can probe. 

Now, press the reset button on the MCU and then, within 5 seconds, please press the Start Bootloader button in GUI.

mariuslucianand_0-1659478286778.png

For your last question, you cannot deploy the code via CAN directly from S32DS, you could only deploy from S32DS via JTAG.

Hope this helps,

Marius

 

 

0 Kudos
Reply

1,083 Views
saurabhkulkarni123
Contributor II

Is there any other way instead of RAppID bootloader?

0 Kudos
Reply

1,067 Views
mariuslucianand
NXP Employee
NXP Employee

Hello @saurabhkulkarni123 ,

On the hardware side, you must ensure that the board is 12V powered because the CAN transceiver on the board requires 12V power supply. 

I am not sure if there is any other alternative for the RAppID bootloader.

Could you please tell me which board revision you have?

Regards,

Marius

0 Kudos
Reply

1,064 Views
saurabhkulkarni123
Contributor II

Hello @mariuslucianand,

I'm using the MPC5744P REV E1 board.

Are there any changes required on the model side in Matlab?

0 Kudos
Reply

1,084 Views
saurabhkulkarni123
Contributor II

Hello @mariuslucianand ,

One more thing like Is there any changes required at hardware side?

0 Kudos
Reply

1,086 Views
saurabhkulkarni123
Contributor II

Hello @mariuslucianand ,

I'm trying to load .rbl file but still I'm getting error, How can resolve it?

0 Kudos
Reply