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.
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.
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
Is there any other way instead of RAppID bootloader?
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
Hello @mariuslucianand,
I'm using the MPC5744P REV E1 board.
Are there any changes required on the model side in Matlab?
Hello @mariuslucianand ,
One more thing like Is there any changes required at hardware side?
Hello @mariuslucianand ,
I'm trying to load .rbl file but still I'm getting error, How can resolve it?