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.

CCS/TMDXIDK5718: Target connect error --- CortexA15_0: GEL: Error while executing OnTargetConnect(): Target failed to read 0x4AE0C204

Part Number: TMDXIDK5718
Other Parts Discussed in Thread: TMDSIDK437X

Tool/software: Code Composer Studio


Hello,
Could you please tell me how to clear my errors and reach main() ?

[My operation]

- CCS740.
- TMDXIDK5718.
- Several AM57 processor SDK RTOS installed:
    processor_sdk_rtos_am57xx_3_01_00_06
    processor_sdk_rtos_am57xx_4_01_00_06
    processor_sdk_rtos_am57xx_4_02_00_09
    processor_sdk_rtos_am57xx_4_03_00_05
    processor_sdk_rtos_am57xx_5_00_00_15
- On CCS
    - Create a new project for IDK_AM571X/XDS100v2/CtxA[ARM]/EmptyProject(with main.c).
    - Build
    - Launch a target configuration file (CCXML)
    - Connect to the A15 core >>>> Error.

[The console output]

Cortex_M4_IPU1_C0: GEL Output: --->>> AM571x Cortex M4 Startup Sequence In Progress... <<<---
Cortex_M4_IPU1_C0: GEL Output: --->>> AM571x Cortex M4 Startup Sequence DONE! <<<---
Cortex_M4_IPU1_C1: GEL Output: --->>> AM571x Cortex M4 Startup Sequence In Progress... <<<---
Cortex_M4_IPU1_C1: GEL Output: --->>> AM571x Cortex M4 Startup Sequence DONE! <<<---
C66xx_DSP: GEL Output: --->>> AM571x C66x DSP Startup Sequence In Progress... <<<---
C66xx_DSP: GEL Output: --->>> AM571x C66x DSP Startup Sequence DONE! <<<---
CortexA15_0: GEL Output: --->>> AM571x Cortex A15 Startup Sequence In Progress... <<<---
CortexA15_0: GEL Output: --->>> AM571x 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: --->>> AM571x Target Connect Sequence Begins ... <<<---
CortexA15_0: GEL: Error while executing OnTargetConnect(): Target failed to read 0x4AE0C204
         at (*((unsigned int *) 0x4AE0C204)&0xF0000000) [AM571x_startup_common.gel:85]
         at AM571x_show_device_info() [AM571x_startup_common.gel:73]
         at AM571x_target_connect_sequence() [AM571x_startup_common.gel:33]
         at OnTargetConnect()

My CCS project was attached:

/cfs-file/__key/communityserver-discussions-components-files/81/180829_5F00_JustMain_5F00_ccs740_5F00_tmdxidk5718.zip

[p.s.]

- SD boot was fine.
    - Linux
    - RTOS EtherCAT_slave

- TMDSIDK437X was fine. The similar operation reached main().

  • Hi,

    You most probably have code previously running on your target that pre-initialized and protected some registers. This may be either running from a SD card or from code pre-programmed in Flash memory in the board. I suggest changing the boot mode or simply removing the SD card, disconnect from the core and externally boot/reset the board.

    At this point, neither the project nor the JTAG connection are influencing this.

    Hope this helps,
    Rafael
  • Other suggestions to try is to disconnect to the target and either:

    -power cycle the target

    -or perform a system reset

    Thanks

    ki

  • desouza and Lee,
    Thank you very much for your solutions.
    I could see pausing at main().

    In my case the on-board QSPI NOR Flash Memory contained Android.
    I had 2.5sec from reset to connect A15.

    I tried the CCS system reset (Ctrl+Shift+S) and the on-board WarmReset button. Both were successful.
    I liked the WarmReset button for a quick operation.