mpc5748 and s32 use multilink can't flash

cancel
Showing results for 
Search instead for 
Did you mean: 

mpc5748 and s32 use multilink can't flash

854 Views
Contributor III

Hi

I use MPC5748G-LCEVB,s32 version is S32DS_Power_v1.2,i want download code to flash,but the  software not working.i can debug it step by step,it can working normally.

I flash step as follow

pastedImage_2.png 

flash message in console as follow.

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.7.201706090048\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:\NXP\S32DS_Power_v1.2\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.6.7.201706090048\win32\gdi\P&E\nxp_mpc5748g_1x32x1524k_cflash.pcp
Initializing.
MPC574xC Device detected.
Initialized.
;version 1.04, 12/13/2016, Copyright P&E Microcomputer Systems, www.pemicro.com [5748G_6096k]
;device NXP, MPC5748G, 1x32x1524k, desc=CFlash
;begin_cs device=$00F8C000, length=$005F4000, ram=$40000000
Loading programming algorithm ...
WARNING - Selected .PCP file has been modified. CRC16 = $F1E8
Done.
CMD>VC
Verifying object file CRC-16 to device ranges ...
block 00FA0000-00FA0003 ...
Ok.
block 00FA0010-00FA0013 ...
Ok.
block 01000000-01000269 ...
Ok.
block 01001000-010010F3 ...
Ok.
block 01002000-01002BC7 ...
Ok.
block 01002BD0-01003A39 ...
Ok.
Checksum Verification Successful. (Cumulative CRC-16=$6F78)
Application verified in memory. No need to reprogram.
CMD>RE
Initializing.
MPC574xC Device detected.
Target has been RESET and is active.
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_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.7.201706090048\win32\gdi\P&E\s32e200_mpc574xg.mac) completed.
MPC574xG Device detected.
No breakpoints currently set.
Disconnected from "127.0.0.1" via 127.0.0.1
Target Disconnected.
Target Disconnected.

last , i power off and poerpc on, board not working, please help me .

Thanks.

Labels (1)
0 Kudos
5 Replies

7 Views
Contributor III

It the problem of the linker .ld file, you should pay attention on it. I meet the same problem before.

0 Kudos

7 Views
Contributor III

Thanks for your answer.i find some problem when flashing.

pastedImage_1.png

but i don't know how to modify,could you tell me how to slove it ?

0 Kudos

7 Views
NXP Employee
NXP Employee

Hello,

please look at this tutorial - https://community.nxp.com/docs/DOC-335361 

you need to add into your linker file missing sections. 

Jiri 

0 Kudos

7 Views
Contributor III

Thanks for your help,i follow to your advice, 14 warning is missing.but flashing still not work.

I want to know the normal message what is it,please help me.

Thank you very much.

0 Kudos

7 Views
NXP Employee
NXP Employee

Hello,

Could you perhaps try to attach to the running device (after power off/on sequence) and pause the running device?

Can you post the debugger screenshot to see at which address the execution has stopped?

pastedImage_2.png

pastedImage_3.png

pastedImage_4.png

This may help us to figure out what is going on.

Thanks!

Stan

0 Kudos