hi, i have a DEVKIT-MPC5748G board,and i want to use the RAppID_BL,so i should flash the MPC5748G.rbf to MCU before use this.
i try to use S32DS and OpenSDA to flash this rbf file, i creat a empty project,
when i click Flash, it show some error:
Connection from "127.0.0.1" via 127.0.0.1. Connection from port "26751" to 7224
Copyright 2018 P&E Microcomputer Systems,Inc.
Command Line :C:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_2.0.2.202005132054\win32\pegdbserver_power_console -device=MPC5748G -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=OPENSDA -speed=5000 -port=USB1?
OpenSDA detected - Flash Version 1.09
Flash Data in range 0x00F8C000-0x00F8C01B.
Flash Data in range 0x00F8C020-0x00F8D671.
Flash Data in range 0x00F8D674-0x00F8E153.
CMD>RE
Initializing.
Device IDCODE is $00000081
Device ID revision is $00000000
Initializing Ram Block 0x40000000-0x40007FFF.
MPC574xC Device detected.
Target has been RESET and is active.
CMD>CM C:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_2.0.2.202005132054\win32\gdi\P&E\nxp_mpc5748g_1x32x1520k_cflash.pcp
Initializing.
Device IDCODE is $00000081
Device ID revision is $00000000
Initializing Ram Block 0x40000000-0x40007FFF.
MPC574xC Device detected.
DOUBLE BUFFERING enabled.
Initialized.
;version 1.05, 06/26/2017, Copyright P&E Microcomputer Systems, www.pemicro.com [5748G_6080k]
;device NXP, MPC5748G, 1x32x1520k, desc=CFlash
;begin_cs device=$00F90000, length=$005F0000, ram=$40000000
Loading programming algorithm ...
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.
Current content of flash does not match application to be programmed
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.
Device IDCODE is $00000081
Device ID revision is $00000000
Device IDCODE is $00000081
Device ID revision is $00000000
Starting reset script (C:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_2.0.2.202005132054\win32\gdi\P&E\s32e200_mpc574xg.mac) ...
REM This script is compatible with MPC574xG devices.
REM Clean GPRs to remove residual data after using algorithm
REM Initialize all of the Main SRAM - 768KB
Initializing RAM from $40000000 to $400BFFFF.
Initializing Ram Block 0x40000000-0x400BFFFF.
Reset script (C:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_2.0.2.202005132054\win32\gdi\P&E\s32e200_mpc574xg.mac) completed.
MPC574xG Device detected.
PEmicro GDB Launch Failure : Error during flash programming. Terminating debug session.
then i try to use the PROGPPCNEXUS ,
but,i don't know which pcp file i should select, and i remember the PROGPPCNEXUS only can
flash the .HEX and .S19 and .ELF file.
can you tell me how to flash the MPC5748G.rbf to MCU?
haiyang
Hi,
.rbf file should be ordinary S-record. Choose ...CFLASH.pcp algorithm.
Pay attention to following thread:
hi,
thank you reply.
I try your suggestion, i select the nxp_mpc5748g_1x32x1520k_cflash.pcp in PROGPPCNEXUS .
I place the MPC5748G.rbf in this folder,then copy and change the extension to MPC5748G_rbf.S19
when i click File->Specify Object File to Load ,it only can choice .S19,can't select .rbf file.
If i force the .S19 file ,it show me the file address not in range or module.
if i click yes ,it will show some error,because the MPC5748G.rbf file start address is 0x00F8C000.
Then ,i reference the link :
His chip is MPC5777C ,he use the nxp_mpc5777c_1x32x2048k_cflash_highspeed.pcp ,
but my chip is MPC5748G, this mcu has no file like this.
So, i still can't flash the MPC5748G.rbf to the mcu.
These files can be found here:
As it is S-record, you could rename the file to .srec or .mot and programmed should accept it.
hi,
I had rename the MPC5748G.rbf to MPC5748G.mot, but is still show an error ,address range error