This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28P659DK-Q1: error: C28xx_CPU1: File Loader: Verification failed: Values at address 0x078000@Program do not match Please verify target memory and memory map.

Expert 2120 points
Part Number: TMS320F28P659DK-Q1
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

We are doing the pre-production,  the total 225 products have the below problem.

We use the uniflash to add the OTP.out, then generate the dslite-C28xx_CPU1.bat.

When flash the OTP.out file, call the generated the dslite-C28xx_CPU1.bat.

The first time, 100% happens below error: C28xx_CPU1: File Loader: Verification failed: Values at address 0x078000@Program do not match Please verify target memory and memory map.

Below is the completed log.

20240929150514-BLCB407C2562406011369_FAIL.txt
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
###Start 20240929 15:04:43 ReadyCheck_NAN###
###Start 20240929 15:04:43 Barcode_10###
###Start 20240929 15:04:44 AirCylinder_ON###
###Start 20240929 15:04:46 PowerON_###
###Start 20240929 15:04:47 DaleyTime_5###
###Start 20240929 15:04:52 UBoot_OPT_1###
20240929 15:04:52 "C:\FCT\Data\BurningFile\850-000407_3.0\DSP\OPT\dslite-C28xx_CPU1.bat"
20240929 15:05:14 Executing default command:
> dslite --mode flash -c user_files/configs/f28p659dk8-q1.ccxml -l user_files/settings/generated.ufsettings -s VerifyAfterProgramLoad="No verification" -e -f -v "user_files/images/dcsm_security_tool_NT3(OTP).out"
DSLite version 12.7.0.3382
Configuring Debugger (may take a few minutes on first launch)...
Initializing Register Database...
Initializing: IcePick_C_0
Executing Startup Scripts: IcePick_C_0
Initializing: C28xx_CPU1
Executing Startup Scripts: C28xx_CPU1
Initializing: CPU1_CLA1
Executing Startup Scripts: CPU1_CLA1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

But when this happens, then call the call the generated the dslite-C28xx_CPU1.bat(No change, just call again) again, then 90% the process will success.

Some chips may need at most 5 times to call the bat file.

Below is the suceessful log.

20240929150937-BLCB407C2562406011369_PASS.txt
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
###Start 20240929 15:05:23 ReadyCheck_NAN###
###Start 20240929 15:05:23 Barcode_10###
###Start 20240929 15:05:23 AirCylinder_ON###
###Start 20240929 15:05:26 PowerON_###
###Start 20240929 15:05:27 DaleyTime_5###
###Start 20240929 15:05:32 UBoot_OPT_1###
20240929 15:05:32 "C:\FCT\Data\BurningFile\850-000407_3.0\DSP\OPT\dslite-C28xx_CPU1.bat"
20240929 15:05:54 Executing default command:
> dslite --mode flash -c user_files/configs/f28p659dk8-q1.ccxml -l user_files/settings/generated.ufsettings -s VerifyAfterProgramLoad="No verification" -e -f -v "user_files/images/dcsm_security_tool_NT3(OTP).out"
DSLite version 12.7.0.3382
Configuring Debugger (may take a few minutes on first launch)...
Initializing Register Database...
Initializing: IcePick_C_0
Executing Startup Scripts: IcePick_C_0
Initializing: C28xx_CPU1
Executing Startup Scripts: C28xx_CPU1
Initializing: CPU1_CLA1
Executing Startup Scripts: CPU1_CLA1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Uniflash version: 8.7

Debugger: XDS100V2

MCU: f28p659dk8-q1

So we do the test, use three new board without flash. Use the CCS 12.7 version to flash the same OTP.out.

It shows no problem at all.

We also use three new board without flash. Use the Uniflash 8.7, directly load the OTP.out image.

It's behavior is same with using bat file.

The first time, 100% happens below error: C28xx_CPU1: File Loader: Verification failed: Values at address 0x078000@Program do not match Please verify target memory and memory map.

So uniflash's behavior is different with CCS.

  • Hi,

    Can you try these steps to help with the issue:

    • Set FlashAlignCombineToggle to true
    • Set FlashAlignmentSize to 0 (non-empty string)
    • Load a single file with segments in the desired order

    Regards,

    Charles

  • Could you please help give a screenshot where I can configure these steps?

  • Hi,

    For the FlashAlignCombineToggle Setting (set to true), it is related to the Settings & Utilities -> Performance settings section of the Flash Plugin.

    In generating your .out file, the linker command file alignment size, you can try to use an alignment value of 0 ( ALIGN(0)).

    Thanks,

    Charles

  • Do you mean that change all the ALIGN(8) to ALIGN(0) in the 28p65x_generic_flash_lnk_cpu1.cmd???

    Does TI get other customer feedback that this will help fix the error: C28xx_CPU1: File Loader: Verification failed: Values at address 0x078000@Program do not match Please verify target memory and memory map.