Hello,
Can we change flashing mode of MPC5775B board with CAN medium. If yes, then what are the requirements for that.
I'm trying to build MPC5777C RBF file into MPC5775B through s32ide but I'm getting flashing error like "Error during flash programming terminating debug session". I'm using JTAG here for flashing.
Hi,
did you do that using these steps?
Regards,
Lukas
ok but i'm using matlab and i want to run application using matlab(MBD). so how can i generate hex file in matlab
It was already discussed here:
If it does not answer your questions, please use this community space:
https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/bd-p/mbdt
Thanks,
Lukas
ok, correct me if i'm wrong. 1) I have to load RBF file to MPC5775B board via JTAG . 2) after loading RBF then I use CAN communication for flashing .elf file via RAppid bootloader.
is it correct way?
Yes, that's correct. It just does not support elf files but rather s-record files or hex files. Here you can find how to generate such file in S32 Design Studio:
Regards,
Lukas
Can i use RBF file of MPC5777C for MPC5775B board.
Yes, the devices are compatible.
Hi,
I just answered similar question from your company via ticket. Let me copy the answer here:
***
There are more options how to implement a bootloader on this device.
If you want to use serial boot mode (using BAM module), there are two ways how to switch to serial boot mode:
However, it’s not very common solution to use this serial boot mode. Absolute majority of our customers use rather flash resident bootloader.
We provide Rappid bootloader which can use either UART or CAN. At the beginning, it’s necessary to load RBF file to flash via JTAG. Notice that we do not provide source codes, it cannot be modified:
https://www.nxp.com/webapp/Download?colCode=RAPPID_BOOTLOADER_UTILITY&appType=license
Some custom RBF files can be downloaded here:
Then we provide application note AN5319 which describes how to develop simple serial bootloader. SW example is included. It’s written for MPC5748G but it’s supposed to be starting point for all MPC57xx devices:
https://www.nxp.com/docs/en/application-note/AN5319.pdf
https://www.nxp.com/docs/en/application-note-software/AN5319SW.zip
If you are looking for out of box solution, you can ask Vector (or other SW vendors) for help:
https://www.vector.com/int/en/products/products-a-z/embedded-components/flash-bootloader#
Regards,
Lukas