Hello,
I just received a TI AM335x ICE board. First, I installed Code Composer Studio 5.1.1. I followed the instructions on the Getting Started Guide [1] in order to run pre-built application on the board. I always get this error while trying to initialize the device with the GEL script:
CortxA8: Trouble Writing Memory Block at 0x4c0000e4 on Page 0 of Length 0x4: (Error -1065 @ 0x4C0000E4) 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 5.0.569.0)
AM335x_EVM_Initialization() cannot be evaluated.
target access failed
at *((unsigned int *) (0x4C000000+0x0E4))=(unsigned int) Read_Latency [AM335x_15x15_EVM.gel:61]
at EMIF_MMR_Config(RD_LATENCY, TIMING1, TIMING2, TIMING3, SDRAM_CONFIG, REF_CTRL) [AM335x_15x15_EVM.gel:852]
at cmd_DDR2_EMIF_Config(0x80, 0x00, 0x00, 0x0, 0x0, 0x12, 0, 0, 0, 0x80, 0x40, 0x04, 0x0666B3D6, 0x143731DA, 0x00000347, 0x40805332, 0x0000081a) [AM335x_15x15_EVM.gel:802]
at DDR2_EMIF_Config() [AM335x_15x15_EVM.gel:85]
at AM335x_EVM_Initialization()
Am I missing something?
More precisely, here is what I did:
- Created a new Target Configuration File based on a "Texas Instruments XDS100v2 USB Emulator" connection and a AM335x device.
- Click on menu "View / Target Configurations" in order to show my newly added configuration.
- Right click on the new configuration and select "Launch Selected Configuration".
- Open the debug view.
- Right click on the Cortex A8 device and select "Connect Target".
- Click on menu "Tools / GEL files" and load GEL file "C:\ti\am335x_sysbios_ind_sdk_1.0.0.2\sdk\tools\gel\AM335x_15x15_EVM.gel".
- Execute AM335x Initialization from the menu "Scripts/AM335x System Initialization/AM335x_EVM_Initialization". The error happens here.
Thank you,
Philippe Hamelin
[1] http://processors.wiki.ti.com/index.php/AM335x_SYSBIOS_Industrial_SDK_Getting_Started_Guide
-------------
COMPLETE LOG
-------------
CortxA8: Output: **** AM335x 15x15 EVM Initialization is in progress ..........
CortxA8: Output: **** Subarctic ALL ADPLL Config for OPP == OPP100 is In Progress .........
CortxA8: Output: Input Clock Read from SYSBOOT[15:14]: 24MHz
CortxA8: Output: **** Going to Bypass...
CortxA8: Output: **** Bypassed, changing values...
CortxA8: Output: **** Locking ARM PLL
CortxA8: Output: **** Core Bypassed
CortxA8: Output: **** Now locking Core...
CortxA8: Output: **** Core locked
CortxA8: Output: **** DDR DPLL Bypassed
CortxA8: Output: **** DDR DPLL Locked
CortxA8: Output: **** PER DPLL Bypassed
CortxA8: Output: **** PER DPLL Locked
CortxA8: Output: **** DISP PLL Config is in progress ..........
CortxA8: Output: **** DISP PLL Config is DONE ..........
CortxA8: Output: **** Subarctic ALL ADPLL Config for OPP == OPP100 is Done .........
CortxA8: Output: **** Subarctic OPP100 DDR2 EMIF and PHY configuration is in progress.........
CortxA8: Output: EMIF PRCM is in progress .......
CortxA8: Output: EMIF PRCM Done
CortxA8: Output: DDR PHY Configuration In progress
CortxA8: Output: Waiting for VTP Ready .......
CortxA8: Output: DDR PHY CMD0 Register configuration is in progress .......
CortxA8: Output: DDR PHY CMD1 Register configuration is in progress .......
CortxA8: Output: DDR PHY CMD2 Register configuration is in progress .......
CortxA8: Output: DDR PHY DATA0 Register configuration is in progress .......
CortxA8: Output: DDR PHY DATA1 Register configuration is in progress .......
CortxA8: Output: emif Timing register configuration is in progress .......
CortxA8: Trouble Writing Memory Block at 0x4c0000e4 on Page 0 of Length 0x4: (Error -1065 @ 0x4C0000E4) 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 5.0.569.0)
AM335x_EVM_Initialization() cannot be evaluated.
target access failed
at *((unsigned int *) (0x4C000000+0x0E4))=(unsigned int) Read_Latency [AM335x_15x15_EVM.gel:61]
at EMIF_MMR_Config(RD_LATENCY, TIMING1, TIMING2, TIMING3, SDRAM_CONFIG, REF_CTRL) [AM335x_15x15_EVM.gel:852]
at cmd_DDR2_EMIF_Config(0x80, 0x00, 0x00, 0x0, 0x0, 0x12, 0, 0, 0, 0x80, 0x40, 0x04, 0x0666B3D6, 0x143731DA, 0x00000347, 0x40805332, 0x0000081a) [AM335x_15x15_EVM.gel:802]
at DDR2_EMIF_Config() [AM335x_15x15_EVM.gel:85]
at AM335x_EVM_Initialization()
CortxA8: Trouble Reading Register CP15_CONTROL_REGISTER: (Error -2131 @ 0x20013F00) 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 5.0.569.0)
CortxA8: Trouble Reading Register CP15_MMU_XLATION_TABLE_BASE_CONTROL: (Error -2131 @ 0x20023F40) 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 5.0.569.0)
CortxA8: Trouble Reading Register CP15_MMU_XLATION_TABLE_BASE_0: (Error -2131 @ 0x20023F00) 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 5.0.569.0)
CortxA8: Trouble Reading Register CP15_MMU_XLATION_TABLE_BASE_1: (Error -2131 @ 0x20023F20) 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 5.0.569.0)
CortxA8: Trouble Reading Register CP15_MMU_DOMAIN_ACCESS_CONTROL: (Error -2131 @ 0x20033F00) 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 5.0.569.0)
CortxA8: Trouble Reading Register CP15_CONTROL_REGISTER: (Error -2131 @ 0x20013F00) 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 5.0.569.0)
CortxA8: Trouble Reading Register CP15_MMU_XLATION_TABLE_BASE_CONTROL: (Error -2131 @ 0x20023F40) 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 5.0.569.0)
CortxA8: Trouble Reading Register CP15_MMU_XLATION_TABLE_BASE_0: (Error -2131 @ 0x20023F00) 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 5.0.569.0)
CortxA8: Trouble Reading Register CP15_MMU_XLATION_TABLE_BASE_1: (Error -2131 @ 0x20023F20) 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 5.0.569.0)
CortxA8: Trouble Reading Register CP15_MMU_DOMAIN_ACCESS_CONTROL: (Error -2131 @ 0x20033F00) 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 5.0.569.0)