• Not Answered

CCS: Unable to start debug "Hello World" program on C6A8168EVM... I get device in reset state errors...

Hi TI Community,

                               I just started with my brand new C6A8168 EVM + with 8 GB SD Card (Linux Kernel 2.6.37) and the EVM came with a display device(a portable DVI connected LCD display). I'm using CCSv5.2 to program/debug. I'm using XDS100v2 JTAG connector.

What I would like to do is to display "Hello World" on the portable display.

The problem I'm facing is this:

1. (Before I added the GEL File to Target Configuration)

    Error connecting to the target: (Error -1180 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.0.635.0)

    -

2. (After I added the GEL File to target configuration evm816x.gel)

    Error connecting to the target: (Error -1180 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.0.635.0)

    

Any help will be greatly appreciated.

Regards

Vikram

4 Replies

  • Vikram,

    Please have a look and follow the steps at this wiki page to connect to the DSP core on the C6A8168.

  • In reply to AartiG:

    Aarti, I followed the wiki and other threads and I was able to bring the DSP out of reset mode in a No-Project-Debug-Mode.

    After that I started a new Hellow Word project, included a target configuration and inside the target configuration for the C-A8 core I included the GEL file.

    Now when I debug I'm facing a new problem. When loading process starts to load the HelloWorld.out, after the GEL file startup sequence, I get the errors as below:

    
    
    CortexA8: GEL Output: EVM816x Startup Sequence

    CortexA8: GEL Output: PRCM Setup Complete
    CortexA8: GEL Output: Configuring Pad Functions...
    CortexA8: Output: Main PLL Init is in Progress, Please wait .....
    CortexA8: Output: Main PLL Init is Done .....
    CortexA8: Output: EVM816x DDR PLL Init is in Progress for 796 MHz DDR Clock, Please wait .....
    CortexA8: Output: DDR3 Selected.
    CortexA8: Output: DM816x DDR PLL Init is Done .....
    CortexA8: Output: EVM816x DDR2/3 PRCM Init is in progress .....
    CortexA8: Output: EVM816x DDR2/3 PRCM Init is Done .....
    CortexA8: Output: Initializing EMIF1 .....
    CortexA8: Output: DDR3 SWLEVELING DONE FOR EMIF0
    CortexA8: Output: DDR3 SWLEVELING DONE FOR EMIF1
    CortexA8: Output: DM816x EMIF Init is Done @ 796MHz Clock Rate.....
    CortexA8: GEL Output: Startup Complete.

    CortexA8: GEL Output: GEL Reset
    CortexA8: Trouble Writing Memory Block at 0x5c68 on Page 0 of Length 0xc0: (Error -2130 @ 0x5C68) 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.635.0)
    CortexA8: GEL: File: D:\CCSv5\HelloWorld2\Debug\HelloWorld2.out: Load failed.

    Help!

    Thank you
    Vikram
  • In reply to Vikram Shivanna:

    Vikram,

    Try starting the debug session in the same manner as you did before (non-project debug session). Right-click on the Cortex A8 core in the Debug view and connect to it. Then go to Run->Load->Load Program and browse to the .out file to load it (assuming the project/.out file is built for Cortex A8).

     

  • In reply to AartiG:

    Aarti,
    I did that. Now I try to load CortexA8 core with HelloWorld.out(also built for C-A8) in a non-project debug session. It did not succeed, kindly look at the errors:
    
    
    CortexA8: GEL Output: EVM816x Startup Sequence

    CortexA8: GEL Output: PRCM Setup Complete
    CortexA8: GEL Output: Configuring Pad Functions...
    CortexA8: Output: Main PLL Init is in Progress, Please wait .....
    CortexA8: Output: Main PLL Init is Done .....
    CortexA8: Output: EVM816x DDR PLL Init is in Progress for 796 MHz DDR Clock, Please wait .....
    CortexA8: Output: DDR3 Selected.
    CortexA8: Output: DM816x DDR PLL Init is Done .....
    CortexA8: Output: EVM816x DDR2/3 PRCM Init is in progress .....
    CortexA8: Output: EVM816x DDR2/3 PRCM Init is Done .....
    CortexA8: Output: Initializing EMIF1 .....
    CortexA8: Output: DDR3 SWLEVELING DONE FOR EMIF0
    CortexA8: Output: DDR3 SWLEVELING DONE FOR EMIF1
    CortexA8: Output: DM816x EMIF Init is Done @ 796MHz Clock Rate.....
    CortexA8: GEL Output: Startup Complete.

    CortexA8: Output: PRCM for C674x is in Progress, Please wait.....
    CortexA8: Output: C674x L2 RAM Accesses are PASSED
    CortexA8: Output: User Can Connect to C674x
    CortexA8: GEL Output: GEL Reset
    CortexA8: 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.635.0)
    CortexA8: 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.635.0)
    CortexA8: 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.635.0)
    CortexA8: 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.635.0)
    CortexA8: 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.635.0)
    CortexA8: 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.635.0)
    CortexA8: 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.635.0)
    CortexA8: 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.635.0)
    CortexA8: 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.635.0)
    CortexA8: 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.635.0)
    CortexA8: 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.635.0)
    CortexA8: Trouble Writing Memory Block at 0x5c68 on Page 0 of Length 0xc0: (Error -2130 @ 0x5C68) 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.635.0)
    CortexA8: GEL: File: D:\VikramD\PhilipsProjects\PMSProject\CCSv5\HelloWorld2\Debug\HelloWorld2.out: Load failed.
    CortexA8: 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.635.0)