AnsweredAssumed Answered

can't program S32 bootLoader example for mpc5748G

Question asked by dany amsalem on Jun 20, 2019
Latest reply on Jun 24, 2019 by Jiri Kral

Hi

 

this topic has many info in the web yet  nothing help me to overcome this issue.

I'm using the DEV-KIT of mpc5748G chip and working on the bootLoader example, My first basic thing to do is to load this project RBF file into target and without any success.

i'm using the DEBUG-OPENSDA-E200_Pemicro_v110.SDA in  target (according to others answer in the web).

trying to drag & drop RBF file into target during bootLader mode doesn't work as well 

Any idea what i'm missing ? is it S32 IDE issue or PEmicro driver/app ?

 

 

Thanks in advance

 

 

dumping below S32 Console prompts

 

Connection from "127.0.0.1" via 127.0.0.1. Connection from port "53451" to 7224
Copyright 2018 P&E Microcomputer Systems,Inc.
Command Line :C:\NXP\S32DS_Power_v2017.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.8.3.201812312131\win32\pegdbserver_power_console -device=MPC5748G -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=OPENSDA -speed=5000 -port=´

CMD>RE

Initializing.
MPC574xC 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.8.3.201812312131\win32\gdi\P&E\nxp_mpc5748g_1x32x1520k_cflash.pcp

Initializing.
MPC574xC Device detected.
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 ...

WARNING - Selected .PCP file has been modified. CRC16 = $5A63
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.8.3.201812312131\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

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

MPC574xG Device detected.
PE-ERROR: Error downloading to the device.
Disconnected from "127.0.0.1" via 127.0.0.1
Target Disconnected.

Outcomes