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: Having troubles connecting idkAM572x target

Part Number: AM5728

When I connect the target of the idkAM572 board, the compiler complains the following, and the device shut itself off:

I already confirmed that I use the correct gel file.

CortexA15_0: Trouble Reading Memory Block at 0x4a005214 on Page 0 of Length 0x4: (Error -1205 @ 0x4A005214) Device memory bus has an error and may be hung. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.9.0.00040) 
CortexA15_0: GEL: Error while executing OnTargetConnect(): Target failed to read 0x4A005214
   at (*((unsigned int*) (base_address+0x04))&0x1) [AM572x_prcm_config.gel:1096]
   at dpll_lock_sequence((0x4a005100+0x110)) [AM572x_prcm_config.gel:925]
   at dpll_ddr_config(532) [AM572x_ddr_config.gel:1037]
   at AM572x_DDR3_532MHz_Config() [AM572x_startup_common.gel:93]
   at AM57xx_EVM_Initialization(1) [idk_am572x.gel:54]
   at OnTargetConnect()
   CortexA15_0: Trouble Reading Register CPSR: (Error -1044 @ 0x3458) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 9.9.0.00040) 
CortexA15_0: Trouble Reading Register REG_SYSTEM_TARGET_CONFIG: (Error -2131 @ 0x73000000) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.9.0.00040) 
CortexA15_0: Trouble Reading Register REG_SYSTEM_MMU_CONFIG: (Error -2131 @ 0x73000002) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.9.0.00040) 
CortexA15_0: Trouble Reading Register REG_SYSTEM_MMU_STATUS: (Error -2131 @ 0x73000003) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.9.0.00040) 
CortexA15_0: Trouble Reading Register REG_SYSTEM_MMU_STATUS: (Error -2131 @ 0x73000003) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.9.0.00040)
CortexA15_0: Trouble Reading Register CP15_Registers.REG_CTXA15_CP15_C2_TTBCR: (Error -2131 @ 0x270F0202) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.9.0.00040) 
CortexA15_0: Trouble Reading Register CP15_Registers.REG_CTXA15_CP15_C2_TTBR0_64B: (Error -2131 @ 0x278F0020) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.9.0.00040) 
CortexA15_0: Trouble Reading Register CP15_Registers.REG_CTXA15_CP15_C2_TTBR1_64B: (Error -2131 @ 0x278F1020) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.9.0.00040) 
CortexA15_0: Trouble Reading Register CP15_Registers.REG_CTXA15_CP15_C3_DACR: (Error -2131 @ 0x270F0300) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.9.0.00040) 
CortexA15_0: JTAG Communication Error: (Error -154 @ 0x0) One of the FTDI driver functions used to write data returned bad status or an error. (Emulation package 9.9.0.00040)

  • How do you set up target configuration? 

    Are you using the on board XDS100V2 emulator?

    I think no need to specify gel file if use the factory board configuration as below.

    and you can test the connection after SAVE before Launch and Connect.

  • Yes, i did exactly the same. 

    -----[Print the board config pathname(s)]------------------------------------

    C:\Users\xxx\AppData\Local\TEXASI~1\CCS\
    ccs1210\0\2\BrdDat\testBoard.dat

    -----[Print the reset-command software log-file]-----------------------------

    This utility has selected a 100/110/510 class product.
    This utility will load the adapter 'jioserdesusb.dll'.
    The library build date was 'Sep 20 2022'.
    The library build time was '12:28:44'.
    The library package version is '9.9.0.00040'.
    The library component version is '35.35.0.0'.
    The controller does not use a programmable FPGA.
    The controller has a version number of '4' (0x00000004).
    The controller has an insertion length of '0' (0x00000000).
    This utility will attempt to reset the controller.
    This utility has successfully reset the controller.

    -----[Print the reset-command hardware log-file]-----------------------------

    The scan-path will be reset by toggling the JTAG TRST signal.
    The controller is the FTDI FT2232 with USB interface.
    The link from controller to target is direct (without cable).
    The software is configured for FTDI FT2232 features.
    The controller cannot monitor the value on the EMU[0] pin.
    The controller cannot monitor the value on the EMU[1] pin.
    The controller cannot control the timing on output pins.
    The controller cannot control the timing on input pins.
    The scan-path link-delay has been set to exactly '0' (0x0000).

    -----[The log-file for the JTAG TCLK output generated from the PLL]----------

    There is no hardware for programming the JTAG TCLK frequency.

    -----[Measure the source and frequency of the final JTAG TCLKR input]--------

    There is no hardware for measuring the JTAG TCLK frequency.
    -----[Perform the standard path-length test on the JTAG IR and DR]-----------

    This path-length test uses blocks of 64 32-bit words.

    The test for the JTAG IR instruction path-length succeeded.
    The JTAG IR instruction path-length is 6 bits.

    The test for the JTAG DR bypass path-length succeeded.
    The JTAG DR bypass path-length is 1 bits.

    -----[Perform the Integrity scan-test on the JTAG IR]------------------------

    This test will use blocks of 64 32-bit words.
    This test will be applied just once.

    Do a test using 0xFFFFFFFF.
    Scan tests: 1, skipped: 0, failed: 0
    Do a test using 0x00000000.
    Scan tests: 2, skipped: 0, failed: 0
    Do a test using 0xFE03E0E2.
    Scan tests: 3, skipped: 0, failed: 0
    Do a test using 0x01FC1F1D.
    Scan tests: 4, skipped: 0, failed: 0
    Do a test using 0x5533CCAA.
    Scan tests: 5, skipped: 0, failed: 0
    Do a test using 0xAACC3355.
    Scan tests: 6, skipped: 0, failed: 0
    All of the values were scanned correctly.

    The JTAG IR Integrity scan-test has succeeded.

    -----[Perform the Integrity scan-test on the JTAG DR]------------------------

    This test will use blocks of 64 32-bit words.
    This test will be applied just once.

    Do a test using 0xFFFFFFFF.
    Scan tests: 1, skipped: 0, failed: 0
    Do a test using 0x00000000.
    Scan tests: 2, skipped: 0, failed: 0
    Do a test using 0xFE03E0E2.
    Scan tests: 3, skipped: 0, failed: 0
    Do a test using 0x01FC1F1D.
    Scan tests: 4, skipped: 0, failed: 0
    Do a test using 0x5533CCAA.
    Scan tests: 5, skipped: 0, failed: 0
    Do a test using 0xAACC3355.
    Scan tests: 6, skipped: 0, failed: 0
    All of the values were scanned correctly.

    The JTAG DR Integrity scan-test has succeeded.

    [End: Texas Instruments XDS100v2 USB Debug Probe_0]

  • Did you powered up the board by push SW3 on the board:

    The AM572x IDK EVM is started by pressing the start-up push button, SW3. The POWERHOLD input can
    be connected to VRTC_OUT in customer designs to cause the board to power-on as soon as the main
    supply is stable.

  • Yes, i did. When I pressed it, the skyblue LED in the middle, the blue and red LED at the bottom-left corner lit up bright. It draws about 1.4A, read from the power supply. And when I click connect target, CCS terminal will load for a while until the error message come up. At the same time all LED on the board turn off. 

  • After Launch selected target configuration, console output as below.

    Then connect A15_0: console output as below

    ortex_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: 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: 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 ... <<<---

    Please share your full console log.

    Powered up board with or without boot image in any storage?

    After power up board, leave it alone, will the LED turn off after a while? or keep on lighting?

    Does this board work before?

  • Hi Tony,

    I figured out why. It's simply because I set current limit to the power supply which prevents the board from drawing more current during loadup. Because it has always been working in the past. And suddenly not working today.

    Thanks,

    Gerard