how to flash MPC5748G.rbf to MPC5748G MCU

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to flash MPC5748G.rbf to MPC5748G MCU

47 Views
haiyang
Contributor III

hi,

i have a DEVKIT-MPC5748G board,and i want to use the RAppID_BL,so i should flash the MPC5748G.rbf before use this.

to MCU.

i try to use S32DS and OpenSDA to flash this rbf file, i creat a empty project,

haiyang_0-1714296176697.png

haiyang_1-1714296188908.png

but 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 use the PROGPPCNEXUS 

haiyang_3-1714296892592.png

i have some question about PROGPPCNEXUS :

1 、i don't know which PCP file i should select?

2、i remember the PROGPPCNEXUS only can flash the.ELF,and.S19 and .HEX file to mcu,

if it can select the rbf file?

can you give me some suggestion?

haiyang  

 

Tags (1)
0 Kudos
0 Replies