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

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

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

996 Views
alanmilne
Contributor I

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?

Labels (1)
0 Kudos
2 Replies

617 Views
alanmilne
Contributor I

This issue has also been raised in the PE Micro Forum (this link) and a support ticket has been raised.

0 Kudos

617 Views
johnny_pe
Contributor III

Alan,

I'm curious why the flashing software utility is reporting that the algorithm you're using was modified. Did you make any changes to it?

If this is not a brand new project for MCP5748G, please create one with the project wizard and try to program that. It will tell us if something in this project is possibly misconfigured.

Make sure you are running the latest PEmicro Eclipse plugins in case we already released a fix for this issue.

Please refer to: How to Install and Update PEmicro’s GDB Server in Eclipse-Based IDEs

If that doesn't help, definitely open a support ticket on our website and we will troubleshoot this further.

Regards,

Johnny

PEmicro Support

www.pemicro.com

0 Kudos