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.

AM5728: Data verification error occurred, while loading application idkAM5728 custom board.

Part Number: AM5728
Other Parts Discussed in Thread: AM5748

Hi ,

                     We are using AM5728 custom board , we have configured idk_AM572X in target configuration and we tried to load an SYS/BIOS example program to arm core in CCS 9.3.0, but we are getting this error,  can anyone support on this issue.

This is the error we received when we tried to load the program.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

CortexA15_0: File Loader: Verification failed: Values at address 0x80007FF0 do not match Please verify target memory and memory map.
CortexA15_0: GEL: File: C:\ti\processor_sdk_rtos_am57xx_08_01_00_09\pdk_am57xx_1_0_19\packages\MyExampleProjects\UART_BasicExample_idkAM572x_armTestproject\Debug\UART_BasicExample_idkAM572x_armTestproject.out: a data verification error occurred, file load failed.
CortexA15_0: Unable to terminate memory download: NULL buffer pointer at 0x3aa4 (Emulation package 8.4.0.00006)

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Thanks & regards,

Phaneesh A

  • Hi Phaneesh,

    Did you make any change in the existing example or you are facing this issue with out of box demo?
    Do you see GEL scripts running when connecting to A15?

    Also, can you please confirm if you are using the same DDR as on the IDK board in your custom board?

    Regards,
    Parth

  • Hi Parth,

    We have not changed anything in example, we are using the Basic UART example project which is generated using  pdkProjectCreate.bat  , and yes we are seeing the Gel file logs when we connect to A15 core.

    Gel file logs:-

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Cortex_M4_IPU1_C0: GEL Output: --->>> AM572x Cortex M4 Startup Sequence In Progress... <<<---
    Cortex_M4_IPU1_C0: GEL Output: --->>> AM572x Cortex M4 Startup Sequence DONE! <<<---
    Cortex_M4_IPU1_C1: GEL Output: --->>> AM572x Cortex M4 Startup Sequence In Progress... <<<---
    Cortex_M4_IPU1_C1: GEL Output: --->>> AM572x Cortex M4 Startup Sequence DONE! <<<---
    C66xx_DSP1: GEL Output: --->>> AM572x C66x DSP Startup Sequence In Progress... <<<---
    C66xx_DSP1: GEL Output: --->>> AM572x C66x DSP Startup Sequence DONE! <<<---
    C66xx_DSP2: GEL Output: --->>> AM572x C66x DSP Startup Sequence In Progress... <<<---
    C66xx_DSP2: GEL Output: --->>> AM572x C66x DSP Startup Sequence DONE! <<<---
    CortexA15_0: GEL Output: --->>> AM572x Cortex A15 Startup Sequence In Progress... <<<---
    CortexA15_0: GEL Output: --->>> AM572x Cortex A15 Startup Sequence DONE! <<<---
    CortexA15_1: GEL Output: --->>> AM572x Cortex A15 Startup Sequence In Progress... <<<---
    CortexA15_1: GEL Output: --->>> AM572x Cortex A15 Startup Sequence DONE! <<<---
    IcePick_D: GEL Output: Ipu RTOS is released from Wait-In-Reset.
    IcePick_D: GEL Output: Ipu SIMCOP is released from Wait-In-Reset.
    IcePick_D: GEL Output: IVAHD C66 is released from Wait-In-Reset.
    IcePick_D: GEL Output: IVAHD ICONT1 is released from Wait-In-Reset.
    IcePick_D: GEL Output: IVAHD ICONT2 is released from Wait-In-Reset.
    CS_DAP_DebugSS: GEL Output: --->>> CONFIGURE DEBUG DPLL settings to 1.9 GHZs <<<---
    CS_DAP_DebugSS: GEL Output: > Setup DebugSS 1.9GHz in progress...
    CS_DAP_DebugSS: GEL Output: < Done with Setup DebugSS Trace export clock (TPIU) to 97MHz
    CS_DAP_DebugSS: GEL Output: < Done with Setup DebugSS PLL Clocking 1.9GHz
    CS_DAP_DebugSS: GEL Output: < Done with Setup DebugSS ATB Clocking 380MHz
    CS_DAP_DebugSS: GEL Output: < Done with Setup DebugSS Trace export clock (TPIU) to 97MHz
    CS_DAP_DebugSS: GEL Output: --->>> TURNING ON L3_INSTR and L3_3 clocks required for debug instrumention <<<<<<----
    CS_DAP_DebugSS: GEL Output: ---<<< L3 instrumentation clocks are enabled >>>> ---
    CS_DAP_DebugSS: GEL Output: --->>> Mapping TIMER supsend sources to default cores <<<<<<----
    CS_DAP_PC: GEL Output: Cortex-A15 1 is not in WIR mode so nothing to do.
    CortexA15_0: GEL Output: --->>> AM572x IDK EVM <<<---
    CortexA15_0: GEL Output: --->>> AM572x Target Connect Sequence Begins ... <<<---
    CortexA15_0: GEL Output: --->>> AM572x Begin MMC2 Pad Configuration <<<---
    CortexA15_0: GEL Output: --->>> AM572x End MMC2 Pad Configuration <<<---
    CortexA15_0: GEL Output: --->>> AM572x PG2.0 GP device <<<---
    CortexA15_0: GEL Output: --->>> PRCM Clock Configuration for OPPNOM in progress... <<<---
    CortexA15_0: GEL Output: Cortex A15 DPLL OPP 0 clock config is in progress...
    CortexA15_0: GEL Output: Cortex A15 DPLL is already locked, now unlocking...
    CortexA15_0: GEL Output: Cortex A15 DPLL OPP 0 is DONE!
    CortexA15_0: GEL Output: IVA DPLL OPP 0 clock config is in progress...
    CortexA15_0: GEL Output: IVA DPLL OPP 0 is DONE!
    CortexA15_0: GEL Output: PER DPLL OPP 0 clock config in progress...
    CortexA15_0: GEL Output: PER DPLL already locked, now unlocking
    CortexA15_0: GEL Output: PER DPLL OPP 0 is DONE!
    CortexA15_0: GEL Output: CORE DPLL OPP 0 clock config is in progress...
    CortexA15_0: GEL Output: CORE DPLL OPP already locked, now unlocking....
    CortexA15_0: GEL Output: CORE DPLL OPP 0 is DONE!
    CortexA15_0: GEL Output: ABE DPLL OPP 0 clock config in progress...
    CortexA15_0: GEL Output: ABE DPLL OPP 0 is DONE!
    CortexA15_0: GEL Output: GMAC DPLL OPP 0 clock config is in progress...
    CortexA15_0: GEL Output: GMAC DPLL OPP 0 is DONE!
    CortexA15_0: GEL Output: GPU DPLL OPP 0 clock config is in progress...
    CortexA15_0: GEL Output: GPU DPLL OPP 0 is DONE!
    CortexA15_0: GEL Output: DSP DPLL OPP 0 clock config is in progress...
    CortexA15_0: GEL Output: DSP DPLL OPP 0 is DONE!
    CortexA15_0: GEL Output: PCIE_REF DPLL OPP 0 clock config is in progress...
    CortexA15_0: GEL Output: PCIE_REF DPLL OPP 0 is DONE!
    CortexA15_0: GEL Output: --->>> PRCM Clock Configuration for OPP 0 is DONE! <<<---
    CortexA15_0: GEL Output: --->>> PRCM Configuration for all modules in progress... <<<---
    CortexA15_0: GEL Output: --->>> PRCM Configuration for all modules is DONE! <<<---
    CortexA15_0: GEL Output: --->>> DDR3 Initialization is in progress ... <<<---
    CortexA15_0: GEL Output: DDR DPLL clock config for 532MHz is in progress...
    CortexA15_0: GEL Output: DDR DPLL clock config for 532MHz is in DONE!
    CortexA15_0: GEL Output: Launch full leveling
    CortexA15_0: GEL Output: Updating slave ratios in PHY_STATUSx registers
    CortexA15_0: GEL Output: as per HW leveling output
    CortexA15_0: GEL Output: HW leveling is now disabled. Using slave ratios from
    CortexA15_0: GEL Output: PHY_STATUSx registers
    CortexA15_0: GEL Output: Launch full leveling
    CortexA15_0: GEL Output: ERROR: HW-Leveling time-out
    CortexA15_0: GEL Output: Two EMIFs in interleaved mode - (2GB total)
    CortexA15_0: GEL Output: --->>> DDR3 Initialization is DONE! <<<---
    CortexA15_0: GEL Output: --->>> Mapping TIMER suspend sources to default cores <<<<<<----
    CortexA15_0: GEL Output: --->>> IPU1SS Initialization is in progress ... <<<---
    CortexA15_0: GEL Output: --->>> IPU1SS Initialization is DONE! <<<---
    CortexA15_0: GEL Output: --->>> IPU2SS Initialization is in progress ... <<<---
    CortexA15_0: GEL Output: --->>> IPU2SS Initialization is DONE! <<<---
    CortexA15_0: GEL Output: --->>> DSP1SS Initialization is in progress ... <<<---
    CortexA15_0: GEL Output: DEBUG: Clock is active ...
    CortexA15_0: GEL Output: DEBUG: Checking for data integrity in DSPSS L2RAM ...
    CortexA15_0: GEL Output: DEBUG: Data integrity check in GEM L2RAM is sucessful!
    CortexA15_0: GEL Output: --->>> DSP1SS Initialization is DONE! <<<---
    CortexA15_0: GEL Output: --->>> DSP2SS Initialization is in progress ... <<<---
    CortexA15_0: GEL Output: DEBUG: Clock is active ...
    CortexA15_0: GEL Output: DEBUG: Checking for data integrity in DSPSS L2RAM ...
    CortexA15_0: GEL Output: DEBUG: Data integrity check in GEM L2RAM is sucessful!
    CortexA15_0: GEL Output: --->>> DSP2SS Initialization is DONE! <<<---
    CortexA15_0: GEL Output: --->>> IVAHD Initialization is in progress ... <<<---
    CortexA15_0: GEL Output: DEBUG: Clock is active ...
    CortexA15_0: GEL Output: --->>> IVAHD Initialization is DONE! ... <<<---
    CortexA15_0: GEL Output: --->>> PRUSS 1 and 2 Initialization is in progress ... <<<---
    CortexA15_0: GEL Output: --->>> PRUSS 1 and 2 Initialization is in complete ... <<<---
    CortexA15_0: GEL Output: --->>> AM572x Target Connect Sequence DONE !!!!! <<<---
    CortexA15_0: GEL Output: --->>> Mapping TIMER suspend sources to default cores <<<<<<----
    CortexA15_0: GEL Output: --->>> IPU1SS Initialization is in progress ... <<<---
    CortexA15_0: GEL Output: --->>> IPU1SS Initialization is DONE! <<<---
    CortexA15_0: GEL Output: --->>> IPU2SS Initialization is in progress ... <<<---
    CortexA15_0: GEL Output: --->>> IPU2SS Initialization is DONE! <<<---
    CortexA15_0: GEL Output: --->>> DSP1SS Initialization is in progress ... <<<---
    CortexA15_0: GEL Output: DEBUG: Clock is active ...
    CortexA15_0: GEL Output: DEBUG: Checking for data integrity in DSPSS L2RAM ...
    CortexA15_0: GEL Output: DEBUG: Data integrity check in GEM L2RAM is sucessful!
    CortexA15_0: GEL Output: --->>> DSP1SS Initialization is DONE! <<<---
    CortexA15_0: GEL Output: --->>> DSP2SS Initialization is in progress ... <<<---
    CortexA15_0: GEL Output: DEBUG: Clock is active ...
    CortexA15_0: GEL Output: DEBUG: Checking for data integrity in DSPSS L2RAM ...
    CortexA15_0: GEL Output: DEBUG: Data integrity check in GEM L2RAM is sucessful!
    CortexA15_0: GEL Output: --->>> DSP2SS Initialization is DONE! <<<---
    CortexA15_0: GEL Output: --->>> IVAHD Initialization is in progress ... <<<---
    CortexA15_0: GEL Output: DEBUG: Clock is active ...
    CortexA15_0: GEL Output: --->>> IVAHD Initialization is DONE! ... <<<---
    CortexA15_0: GEL Output: --->>> PRUSS 1 and 2 Initialization is in progress ... <<<---
    CortexA15_0: GEL Output: --->>> PRUSS 1 and 2 Initialization is in complete ... <<<---
    CortexA15_0: File Loader: Verification failed: Values at address 0x80007FF0 do not match Please verify target memory and memory map.
    CortexA15_0: GEL: File: C:\ti\processor_sdk_rtos_am57xx_08_01_00_09\pdk_am57xx_1_0_19\packages\MyExampleProjects\UART_BasicExample_idkAM572x_armTestproject\Debug\UART_BasicExample_idkAM572x_armTestproject.out: a data verification error occurred, file load failed.
    CortexA15_0: Unable to terminate memory download: NULL buffer pointer at 0x3aa4 (Emulation package 8.4.0.00006)

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Regards,

    Phaneesh A

  • Hi Phaneesh,

    Also, can you please confirm if you are using the same DDR as on the IDK board in your custom board?

    Can you please confirm this as well?

    Also, can you please check if you are able to load this binary with any other boot mode? May be try with SD boot mode.
    Just want to isolate if the issue is with the binary or ccs setup.

    Regards,
    Parth

  • Hi Parth , 

                    We don't have any TI's idk board with us, but we were using ALLIANCE DDR in our custom board for AM5748 SOC there we don't have this problem we are able to load program via JTAG and also we are able to load program via SD card also, for same custom board now only change is SOC i,e  AM5728.

    I've tried to boot it via SD card but only MLO is booting up and it's stops at "jumping to Application"  .

    I'll compare both idkAM5748 and idkAM5728 gel files wrt, DDR and PRCM init and will update you, Thanks for the pointer.

    Regards,

    Phaneesh A

  • Hi Parth,

                     My issue got resolved by comparing gel files of AM5728 and AM5748 ,default DDR config in gel file of AM5728 was configured for 532Mhz but our DDR requirement was for 666Mhz.

    Thanks & regards,

    Phaneesh A