Step 3)Create or reuse an existing S32DS project to connect to the board and inspect the existing content of UTEST/DCF user area memory section.
See e.g. MPC5644P example below. Next available address for DCF record of this specific chip is 0x0040_0220 .. 0x0040_0227
Step 3a) You can export this 64bit free region into a srecord file e.g. MyNewDCF.srec
Step 3b) Adjust Srecord file created to match with DCF record you intend to write. Don't forget to re-calculate Srec checksum.
e.g. NOP 0x00000000 00000000
S3 0D 004002200 0000 0000 0000 0000 90
Step 4) Create/clone an existing debugger configuration that will load DCF into UTEST and adjust its parameters.
Step 4a) Change the debugger configuration Name and enter the srecord path + file name adjusted in step 3b) as a C/C++ application.
Step 4b) Debugger Tab -> Advanced Options - select Use Alternative Algorithm and browse the location where you extracted flash algorithms at step 2)
Step 4c) Adjust Startup options - Disable Load Symbols and Run on Reset since this configuration is only for programming DCF record and not for debugging.
Step 5) Now press Debug button and it should program your DCF record into UTEST flash memory. After debug session is established you can check if the DCF has been programmed correctly into DCF user area in Memory View.
The device will process these DCF records during the system reset sequence before the CPU leaves reset.