AnsweredAssumed Answered

MPC5746C - "RAppID BL Tool" -  .rbf file format

Question asked by Christopher Holland on Jul 9, 2018

I am unable to flash the MPC5746C.rbf file using S32 Design Studio.

 

I believe the file MPC5746C.rbf is in a different format than expected.

 

My Project .SREC format is as follows

S014000050524A5F4D504335373436422E73726563CD
S30900FA0000005A0002A0
S30900FA001001000000EB
S31501000000709FE4057080C00070780520546400106C
S31501000010707B012854640010707FE7007060C10A8C
S3150100002054640000706002017C75FBA6000170003B
S3150100003000007020000070400000706000007080B9

 

The .RBF file format is a bit different

S00F00004D504335373436435F42000056
S32100F8C000005A000200000000000000000000000000F8C0200000000000000000F2
S32100F8C020719FE40570180520717B0128540C0010701EE000556C00101C00010A75
S32100F8C03C540C0000700000007020000070400000706000007080000070A000000A

 

I tried using SRECCONV_v2.exe, but it's not working.

I am getting the same problems as this guy SRECCONV program show some erorr... 

 

 

Error 

--------------------------------------------------------------------------------------------------------------------------------------------------------

Connection from "127.0.0.1" via 127.0.0.1
Copyright 2017 P&E Microcomputer Systems,Inc.
Command Line :C:\NXP\S32DS_Power_v2017.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.7.4.201805221547\win32\pegdbserver_power_console -device=MPC5746C -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=2500 -À

CMD>RE

Initializing.
MPC574xB/C/D Device detected.
Target has been RESET and is active.
CMD>CM C:\NXP\S32DS_Power_v2017.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.7.4.201805221547\win32\gdi\P&E\nxp_mpc5746c_1x32x736k_cflash.pcp

Initializing.
MPC574xB/C/D Device detected.
Initialized.

;version 1.06, 06/27/2017, Copyright P&E Microcomputer Systems, www.pemicro.com [5746C_2944k]

;device NXP, MPC5746C, 1x32x736k, desc=CFlash

;begin_cs device=$00F90000, length=$002F0000, ram=$40000000

Loading programming algorithm ...

WARNING - Selected .PCP file has been modified. CRC16 = $2E34
Done.
Programming sequency is : erase, blank check, program, and verify {default}
CMD>VC
Verifying object file CRC-16 to device ranges ...
Error - no valid data in range of module.
CMD>EM

Erasing.
Module has been erased.
CMD>PM

Programming.
Processing Object File Data ...

No data to program.

.
Error during programming.
Error Programming flash of device
Error occured during Flash programming.

Starting reset script (C:\NXP\S32DS_Power_v2017.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.7.4.201805221547\win32\gdi\P&E\s32e200_mpc574xc.mac) ...
REM This script is compatible with MPC574xC devices.
REM Clean GPRs to remove residual data after using algorithm
REM Initialize all of the Main SRAM - 512KB
Initializing RAM from $40000000 to $4007FFFF.

Reset script (C:\NXP\S32DS_Power_v2017.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.7.4.201805221547\win32\gdi\P&E\s32e200_mpc574xc.mac) completed.

MPC574xB/C/D Device detected.
PE-ERROR: Error downloading to the device.
Disconnected from "127.0.0.1" via 127.0.0.1

Outcomes