AnsweredAssumed Answered

Program DCF Record into 5748G

Question asked by Bertrand Tay on Apr 30, 2018
Latest reply on May 6, 2018 by Bertrand Tay

Hi,

 

I'm trying to program a DCF record into the UTEST of my MPC5748G. I'm following the instructions found here:

HOWTO: Program DCF record into UTEST flash in S32 Design Studio for Power .  I am using this flash programming algorithm: NXP_MPC5748G_1x32x4k_UTest.pcp

 

However, when I click debug to program the flash, I get an error and the DCF record is not programmed into UTEST.  Has anyone encountered this?

 

I've copied my console output here, if it helps:

 

Connection from "127.0.0.1" via 127.0.0.1
Copyright 2012 P&E Microcomputer Systems,Inc.
Command Line :C:\NXP\S32DS_Power_v1.2\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.6.9.201706282002\win32\pegdbserver_power_console -device=MPC5748G -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=5000 -reseÐ

CMD>RE

Initializing.
MPC574xC Device detected.
Target has been RESET and is active.
CMD>CM C:\Users\User\Documents\Work\NXP\FlashAlgorithms_Internal_NXP_QORIVVAP\NXP_MPC5748G_1x32x4k_UTest.pcp

Initializing.
MPC574xC Device detected.
Initialized.

;version 1.06, 07/19/2017, Copyright P&E Microcomputer Systems, www.pemicro.com [57xx_utest_16k]

;device NXP, MPC5748G, 1x32x4k, desc=UTest

;begin_cs device=$00400000, length=$00004000, ram=$40000000

Loading programming algorithm ...
Done.
CMD>VC
Verifying object file CRC-16 to device ranges ...
block 00400380-00400387 ...
Calculated CRC-16 does not match block. (File = $11D4, Device = $6820)

CMD>EM
Command is inactive for this .PCP file.
Error Erasing flash of device
Error occured during Flash programming.

Starting reset script (C:\NXP\S32DS_Power_v1.2\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.6.9.201706282002\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.
REM Core 0 I-MEM 16K
Initializing RAM from $50000000 to $50003FFF.
REM Core 0 D-MEM 64K
Initializing RAM from $50800000 to $5080FFFF.
REM Core 1 I-MEM 16K
Initializing RAM from $51000000 to $51003FFF.
REM Core 1 D-MEM 64K
Initializing RAM from $51800000 to $5180FFFF.
REM Core 2 I-MEM 16K
Initializing RAM from $52000000 to $52003FFF.
REM Core 2 D-MEM 32K
Initializing RAM from $52800000 to $52807FFF.
REM overlay memory 16K
Initializing RAM from $0D000000 to $0D003FFF.
REM Overlay SRAM Emulation device only
Initializing RAM from $0C000000 to $0C0FFFFF.

Reset script (C:\NXP\S32DS_Power_v1.2\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.6.9.201706282002\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.
Target Disconnected.

Outcomes