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.

JTag connection issue



Hi,

                   I am using ti8148 based board and JTAG XDM100V2 USB emulator, I am facing problem in connecting to the cortexA8.

CS_DAP_DebugSS: Error connecting to the target: (Error -241 @ 0x0) A router subpath could not be accessed. A security error has probably occurred. (Emulation package 0.0.0.0)

Please help to resolve.

  • Sudheer,

    Can you provide me your flow step-by-step? What is the target configuration file you are using? What is the version of the CCS you are using?

    sudheer singh1 said:
    I am using ti8148 based board and JTAG XDM100V2 USB emulator

    Can you try this JTAG XDM100V2 USB emulator in the DM814x TI EVM? Can you connect to the Cortex-A8 core in the DM814x TI EVM with this emulator?

    Are you using GP (General Purpose) or HS (High Secure) device? This can be determine from the CONTROL_STATUS[10:8] DEVTYPE bits, see the DM814x TRM.

    See also the below e2e threads which looks to be related:

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/116769.aspx

    http://e2e.ti.com/support/dsp/omap_applications_processors/f/42/p/50795/183642.aspx#183642

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/96318.aspx

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/118222.aspx

    http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/112/t/11885.aspx

    http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/332495/1162604.aspx

    Regards,
    Pavel

  • Hi Pavel,

                            I am using CCS 5.5.0.00077, jtag "Texas Instruments XDS100v2 USB Emulator " in EVMDM8148 and I have cross verified the input clock, power to the ti8148 processor and they are fine.

    Can you try this JTAG XDM100V2 USB emulator in the DM814x TI EVM? Can you connect to the Cortex-A8 core in the DM814x TI EVM with this emulator?

    I the CCS version tool it don't  have the option JTAG XDM100V2 USB

    Are you using GP (General Purpose) or HS (High Secure) device? This can be determine from theCONTROL_STATUS[10:8] DEVTYPE bits, see the DM814x TRM.

    We are just using test mode and not the GP or HS now.

    Error log is :

    CS_DAP_DebugSS: Error connecting to the target: (Error -241 @ 0x0) A router subpath could not be accessed. A security error has probably occurred. (Emulation package 0.0.0.0)

  • Sudheer,

    In your 1st post you stated: am using ti8148 based board and JTAG XDM100V2 USB emulator

    Now you state:

    sudheer singh1 said:
       I am using CCS 5.5.0.00077, jtag "Texas Instruments XDS100v2 USB Emulator "

    Finally, do you have XDM100v2 USB or XDS100v2 USB emulator?

    Regards,
    Pavel

  • I am using XDS100v2 USB emulator.


    Regards

  • Sudheer,

    I have check and DM814x device can be used with the XDS100v2 USB Emulator.

    Could you please confirm that you configure your target configuration file (*.ccxml) with (when connect to DM8148 EVM):

    Texas Instruments XDS100v2 USB Emulator    connection
    EVMDM8148                                                  Board or Device

    Regards,
    Pavel

  • yes I am using the same configurations

    Texas Instruments XDS100v2 USB Emulator    connection
    EVMDM8148                                                  Board or Device

  • Sudheer,

    So you have:

    1. CCS5

    2. DM8148 EVM

    3. XDS100v2 USB emulator

    On my side I have the same, except that I have BlackHawk 560M USB emulator and I can connect successful. Can you try with any other JTAG emulator (I suspect there is something wrong with your specific emulator).

    Regards,
    Pavel

  • I have tried same setup for other board with ti8148 processor on it, It was able to connect and do the required processing.

    Any suggestion to debug the the issue further with respect to hardware.

    Regards.

  • Sudheer,

    As you are on the TI 8148 EVM, I think it should be fine in term of HW. Can you load and start u-boot on this EVM? Does the u-boot report that this EVM is HS (High-Secure) device, or EMU (Emulator device) or GP device? What is the full part number of the ti848 processor used in your EVM?

    Regards,
    Pavel