How to do CAN flashing to MPC5744P

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

How to do CAN flashing to MPC5744P

1,179 次查看
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.

标记 (1)
0 项奖励
回复
6 回复数

1,170 次查看
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 项奖励
回复

1,163 次查看
saurabhkulkarni123
Contributor II

Is there any other way instead of RAppID bootloader?

0 项奖励
回复

1,147 次查看
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 项奖励
回复

1,144 次查看
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 项奖励
回复

1,164 次查看
saurabhkulkarni123
Contributor II

Hello @mariuslucianand ,

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

0 项奖励
回复

1,166 次查看
saurabhkulkarni123
Contributor II

Hello @mariuslucianand ,

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

0 项奖励
回复