Part Number: TMDS243GPEVM
DDR4 Initialization GEL script always fails with an error about being unable to access target memory:
MAIN_Cortex_R5_0_0: GEL Output: Running from R5 MAIN_Cortex_R5_0_0: GEL Output: DDR not initialized with R5 connect. Go to menu Scripts --> AM24 DDR Initialization -> AM24_DDR_Initialization_ECC_Disabled to initialize DDR. ==== MAIN_Cortex_R5_0_0: Trouble Writing Memory Block at 0x801f8000 on Page 0 of Length 0x7ff0: (Error -1065 @ 0x801F9000) Unable to access device memory. 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.4.0.00129) MAIN_Cortex_R5_0_0: File Loader: Verification failed: Target failed to write 0x801F8000 MAIN_Cortex_R5_0_0: GEL: File: C:\Users\******\workspace_v10\enet_lwip_cpsw_am243x-evm_r5fss0-0_freertos_ti-arm-clang\Debug\enet_lwip_cpsw_am243x-evm_r5fss0-0_freertos_ti-arm-clang.out: Load failed. MAIN_Cortex_R5_0_0: GEL Output: --->>> DDR4 Initialization is in progress ... <<<--- MAIN_Cortex_R5_0_0: Trouble Writing Memory Block at 0xf300020 on Page 0 of Length 0x4: (Error -1065 @ 0xF300024) Unable to access device memory. 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.4.0.00129) AM24_DDR_Initialization_ECC_Disabled() cannot be evaluated. Target failed to write 0x0F300020 at *((unsigned int*) (AM24_DDRSS_SS_BASE+0x020))=(unsigned int) 0x000001EF [AM24_DDRSS_Config.gel:34] at DDRSS_Init_Reg_Copy(0) [AM24_DDRSS_Config.gel:129] at AM24_DDR_Initialization_ECC_Disabled()AM24_DDR_Initialization_ECC_Disabled() cannot be evaluated. Could not read 0x0F30A14C: execution state prevented access at (*((unsigned int*) ((AM24_DDRSS_CTL_BASE+0x2000)+0x14c))&0x1) [AM24_DDRSS_Config.gel:116] at AM24_DDR_Initialization_ECC_Disabled()
I've tried multiple times to restart the board, to reconnect USB for JTAG, to reconnect target, and so on - but I always get this error. I am using the built-in XDS110 USB. At the same time, if I call Run->Load->Load Program, I am able to load some simple examples and run them. I also tried to call "CTRL_Unlock_all" without success.
Using CCS 10.4 with "mcu_plus_sdk_am243x_08_00_00_21".