Other Parts Discussed in Thread: OMAP-L138, OMAPL138
Tool/software: Code Composer Studio
Configuration: CCSv7 / XDS110 / LCDKOMAPL138 / StarterWare uart example (or any other application)
Debug session fails with the following log, showing there is an issue accessing DDR memory. According to the XDS Features wiki
"If your XDS does not support adaptive clocking an adapter may be required to achieve the device's full JTAG operating rate. Running the XDS with a TCK rate that is less than 1/8th the ARM's functional clock rate is also an option if adaptive clocking is not supported by your XDS."
But the result is not better even with the lowest frequency (100kHz). See second log.
1) Console output with default configuration (CCS Target configuration window)
==================================================================================
ARM9_0: Output: Target Connected.
ARM9_0: Output: ---------------------------------------------
ARM9_0: Output: Memory Map Cleared.
ARM9_0: Output: ---------------------------------------------
ARM9_0: Output: Memory Map Setup Complete.
ARM9_0: Output: ---------------------------------------------
ARM9_0: Output: PSC Enable Complete.
ARM9_0: Output: ---------------------------------------------
ARM9_0: GEL: Error while executing OnTargetConnect(): Target failed to write 0x01C11138
at (*((unsigned int *) (0x01C11000+0x138))|=0x1) [OMAP-L138_LCDK.gel:16]
at device_PLL0(0, 24, 1, 0, 1, 11, 5) [OMAP-L138_LCDK.gel:403]
at Set_Core_300MHz() [OMAP-L138_LCDK.gel:468]
at Core_300MHz_mDDR_150MHz() [OMAP-L138_LCDK.gel:245]
at OnTargetConnect()
ARM9_0: File Loader: Verification failed: Values at address 0xC1080000 do not match Please verify target memory and memory map.
ARM9_0: GEL: File: C:\ti\OMAPL138_StarterWare_1_10_04_01\build\armv5\cgt_ccs\omapl138\lcdkOMAPL138\uart\Debug\uartEcho.out: a data verification error occurred, file load failed.
ARM9_0: Unable to terminate memory download: NULL buffer pointer at 0x320
==================================================================================
2) Console output with JTAG TCLK = 100kHz.
==================================================================================
ARM9_0: Output: Target Connected.
ARM9_0: Output: ---------------------------------------------
ARM9_0: Output: Memory Map Cleared.
ARM9_0: Output: ---------------------------------------------
ARM9_0: Output: Memory Map Setup Complete.
ARM9_0: Output: ---------------------------------------------
ARM9_0: Output: PSC Enable Complete.
ARM9_0: Output: ---------------------------------------------
ARM9_0: GEL: Error while executing OnTargetConnect(): Target failed to write 0x01C11138
at (*((unsigned int *) (0x01C11000+0x138))|=0x1) [OMAP-L138_LCDK.gel:16]
at device_PLL0(0, 24, 1, 0, 1, 11, 5) [OMAP-L138_LCDK.gel:403]
at Set_Core_300MHz() [OMAP-L138_LCDK.gel:468]
at Core_300MHz_mDDR_150MHz() [OMAP-L138_LCDK.gel:245]
at OnTargetConnect()
ARM9_0: Error: (Error -1060 @ 0x2E18) Device is not responding to the request. 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 6.0.628.3)
ARM9_0: Error: (Error -1029 @ 0x2B5F) Invalid data read from ICECrusher 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 6.0.628.3)
ARM9_0: Unable to determine target status after 20 attempts
ARM9_0: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
==================================================================================
May somebody confirm that XDS110 woks fine with OMAPL138?