When we trying to download our project by PE, issue occurred as followed.
Is there any possible reason for this issue?
Initializing.
Device IDCODE is $000000D8
Device ID revision is $00000002
Initializing Ram Block 0x40000000-0x40007FFF.
S32R274 Device detected.
Target has been RESET and is active.
CMD>CM C:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_2.0.2.202005132054\win32\gdi\P&E\nxp_s32r274_1x32x488k_cflash.pcp
Initializing.
Device IDCODE is $000000D8
Device ID revision is $00000002
Initializing Ram Block 0x40000000-0x40007FFF.
S32R274 Device detected.
DOUBLE BUFFERING enabled.
Initialized.
;version 1.03, 12/13/2016, Copyright P&E Microcomputer Systems, www.pemicro.com [S32R274_1.9meg]
;device NXP, S32R274, 1x32x488k, desc=CFlash
;begin_cs device=$00F98000, length=$001E8000, ram=$40000000
Loading programming algorithm ...
Done.
Programming sequency is : erase, blank check, program, and verify {default}
CMD>VC
Verifying object file CRC-16 to device ranges ...
block 01000000-01000007 ...
Ok.
block 01000400-0100058F ...
Ok.
block 01001000-010010C3 ...
Ok.
block 01002000-01004BEB ...
Calculated CRC-16 does not match block. (File = $0E0D, Device = $02BC)
Current content of flash does not match application to be programmed
CMD>EM
Erasing.
Module has been erased.
CMD>PM
Programming.
Processing Object File Data ...
Error during programming.
Error Programming flash of device
Error occured during Flash programming.
Device IDCODE is $000000D8
Device ID revision is $00000002
Device IDCODE is $000000D8
Device ID revision is $00000002
Starting reset script (C:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_2.0.2.202005132054\win32\gdi\P&E\s32e200_s32r274.mac) ...
REM This script is compatible with S32R274 devices.
REM Clean GPRs to remove residual data after using algorithm
REM Initialize all of the Main SRAM - 1536KB
Initializing RAM from $40000000 to $4017FFFF.
Initializing Ram Block 0x40000000-0x4017FFFF.
Reset script (C:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_2.0.2.202005132054\win32\gdi\P&E\s32e200_s32r274.mac) completed.
S32R274 Device detected.
PEmicro GDB Launch Failure : Error during flash programming. Terminating debug session.