AnsweredAssumed Answered

Will My program be executing or operating at this CFlsah area?

Question asked by Ji Rocfly on Sep 28, 2019

IC :MPC5604C

burning/programing  using JTAG port

Burning file:   .S19

burning/programing IDE:S32 Design Studio for Power Architecture Version 2017.R1

Following is the burning/programing info of IDE,(appendix is the .pcp file)

How could I know my code is burned/programed in which area of the chip?

Because we need to write data to an area of Cflash in my code, but we can't write it all the time. We suspect that our code itself may be executed in this area and using this area, which leads to the failure of writing in the program.

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

 

CMD>RE

 

Initializing.
MPC560xx 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.2.201709281658\win32\gdi\P&E\nxp_mpc5604c_1x32x128k_cflash.pcp

 

Initializing.
MPC560xx Device detected.
Initialized.

 

;version 1.13, 03/30/2017, Copyright P&E Microcomputer Systems, www.pemicro.com [560x_512k_cflash]

 

;device NXP, MPC5604C, 1x32x128k, desc=CFlash

 

;begin_cs device=$00000000, length=$00080000, ram=$40000000

 

Loading programming algorithm ...

 

WARNING - Selected .PCP file has been modified. CRC16 = $8807
Done.
CMD>VC
Verifying object file CRC-16 to device ranges ...
block 00000000-00000007 ...
Ok.
block 00000010-000000E3 ...
Ok.
block 00000100-0000428B ...
Ok.
block 00008000-00008025 ...
Ok.
block 00010000-00010073 ...
Ok.
block 00010080-00038417 ...
Ok.
block 00039000-000390F3 ...
Ok.
block 000390F8-00044987 ...
Ok.
Checksum Verification Successful. (Cumulative CRC-16=$8879)
Application verified in memory. No need to reprogram.

 

CMD>RE

 

Initializing.
MPC560xx Device detected.
Target has been RESET and is active.

 

Starting reset script (C:\NXP\S32DS_Power_v2017.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.7.2.201709281658\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
REM Initialize all of the Main SRAM - 96KB
Initializing RAM from $40000000 to $40017FFF.

 

Reset script (C:\NXP\S32DS_Power_v2017.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.7.2.201709281658\win32\gdi\P&E\s32e200_mpc560xx.mac) completed.

 

MPC560xx Device detected.

Outcomes