S32R274 UTEST Flash Programming

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

S32R274 UTEST Flash Programming

1,646 Views
jinjingyang
NXP Employee
NXP Employee

I use the method in this link to program S32R274 UTEST Flash:

HOWTO: Program DCF record into UTEST flash in S32 Design Studio for Power 

I downloaded the S32R274 UTEST Flash algorithm file "NXP_S32R274_1x32x4k_UTest.pcp".

Tried to program the UTEST Flash with an S19 file which includes only one line:

S315004008001234567812345678123456781234567852

But failed, and the console message in S32DS during the process is as following:

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

CMD>RE

Initializing.
S32R274 Device detected.
Target has been RESET and is active.
CMD>CM E:\WorkSpace\S32R274.Power.2017.R1\NXP_S32R274_1x32x4k_UTest.pcp

Initializing.
S32R274 Device detected.
Initialized.

;version 1.08, 07/19/2017, Copyright P&E Microcomputer Systems, www.pemicro.com [5744P_577xK_UTest_16k]

;device NXP, S32R274, 1x32x4k, desc=UTest

;begin_cs device=$00400000, length=$00004000, ram=$40000000

Loading programming algorithm ...
Done.
CMD>VC
Verifying object file CRC-16 to device ranges ...
block 00400900-0040090F ...
Calculated CRC-16 does not match block. (File = $FA7D, Device = $95B4)

CMD>EM
Command is inactive for this .PCP file.
Error Erasing flash of device
Error occured during Flash programming.

Starting reset script (E:\Program\NXP\S32DS_Power_v2017.R1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.7.2.201709281658\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.

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

S32R274 Device detected.
PE-ERROR: Error downloading to the device.
Disconnected from "127.0.0.1" via 127.0.0.1
Target Disconnected.

I can program the DFlash with similar method. But failed to program UTEST Flash.

I'm able to program the UTEST flash with Lauterbach debugger.

But customer need P&E Multilink  or P&E Cyclone to program UTEST flash during mass production.

Do you have any idea what I can do next?

0 Kudos
1 Reply

1,144 Views
johnny_pe
Contributor III

Greetings,

The Erase Module function in the S32R274 UTEST algorithm within the S32 Power IDE is disabled to prevent accidental erase of this region.

You can use PEmicro's PROGPPCNEXUS software to program your UTEST. We have an evaluation version that supports up to 64KB of programming which is enough to program your UTEST.


http://www.pemicro.com/downloads/download_file.cfm?download_id=194

Regards,

Johnny

Pemicro Support

0 Kudos