AnsweredAssumed Answered

Why when I Program Flash on MCP5748G from S32 with Multilink-FX it fails but works on Lauterbach/Trace 32?

Question asked by Alan Milne on Aug 30, 2018
Latest reply on Sep 27, 2018 by Alan Milne

I have a module with a MCP5748G processor that if I try to program using the latest version of the S32 Design Studio for Power Architecture with a PE Micro Multilink-FX and it fails to complete programming (it just hangs as per the following):

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

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.7.5.201807182113\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 ...
block 00FA0000-00FA0003 ...
Ok.
block 00FA0010-00FA0013 ...
Ok.
block 01000000-01000279 ...
Calculated CRC-16 does not match block. (File = $6F84, Device = $CA83)

CMD>EM

Erasing.
Module has been erased.
CMD>PM

Programming.
Processing Object File Data .. <- It hangs here.

If I repeat the process using the same programming files with a Lauterbach Power Debug USB 3 and Trace 32, it just works.

It has also been noted that if I program the same programming files onto the hardware with the S32 Design Studio/Multilink-FX after programming with the Lauterbach/Trace 32 it appears to work but fails if you change the programming files.

Is there anyway to get more information about why this is hanging or is there a know fix?

Outcomes