Flash programm on a MPC5607B

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

Flash programm on a MPC5607B

533 Views
stefanschiebel
Contributor II

Hello,

I'm trying to flash my programm on a SPC5607BMLU6 with the S32 DesignStudio V1.2. 

I have tried to flash the controller on my evaluation board, this was successfull. The controller on the target device (its also an SCP5607BMLU6) doesn't work.

Here the complete log:

Connection from "127.0.0.1" via 127.0.0.1
Telnet server running on 127.0.0.1:51794
Copyright 2012 P&E Microcomputer Systems,Inc.
Command Line :C:\NXP\S32DS_Power_v1.2\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.6.7.201706090048\win32\pegdbserver_power_console -device=MPC5606B -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=5000 -reseÐ
 
CMD>RE
 
Initializing.
MPC560xx Device detected. 
Target has been RESET and is active.
CMD>CM C:\NXP\S32DS_Power_v1.2\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.6.7.201706090048\win32\gdi\P&E\nxp_mpc5606b_1x32x256k_cflash.pcp
 
Initializing.
MPC560xx Device detected. 
Initialized.
 
;version 1.13, 03/30/2017, Copyright P&E Microcomputer Systems, www.pemicro.com [5606b_1024k_cflash]
 
;device NXP, MPC5606B, 1x32x256k, desc=CFlash
 
;begin_cs device=$00000000, length=$00100000, ram=$40000000
 
Loading programming algorithm ... 
Error loading .PCP file : C:\NXP\S32DS_Power_v1.2\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.6.7.201706090048\win32\gdi\P&E\nxp_mpc5606b_1x32x256k_cflash.pcp at address 40000570 
Error loading programming algorithm - load aborted. 
Error occured during Flash programming. 
 
Starting reset script (C:\NXP\S32DS_Power_v1.2\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.6.7.201706090048\win32\gdi\P&E\s32e200_mpc560xx.mac) ...  
REM This script is compatible with MPC560xB, MPC560xC, MPC560xD, MPC560xE, MPC560xS, and MPC560xP devices.                                                                                               
REM Clean GPRs to remove residual data after using algorithm                                                                                                                                             
Error : Error in ONCE status register during instruction execution. 
REM Initialize all of the Main SRAM - 96KB                                                                                                                                                               
Initializing RAM from $40000000 to $40017FFF. 
 
Reset script (C:\NXP\S32DS_Power_v1.2\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.6.7.201706090048\win32\gdi\P&E\s32e200_mpc560xx.mac) completed. 
 
MPC560xx Device detected. 

 

What is a possible reason for the fails?

Thanks in advance

Stefan Schiebel

Porsche Engineering Services GmbH

1 Reply

365 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

First I recommend you to update the plugin to latest version 1.7.2.

So the issue is seen only on your custom board. I can see that you was able to start loading code into RAM, but then it suddenly stopped.

Do you have any external reset device in your custom board? Like External watchdog on SBC chip or so?

Check the reset line during code loading. There should be only reset pulled by debugger.

Peter