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.

Error connecting to the target:

Other Parts Discussed in Thread: TMS320C5505

This is Ramkumar From india. We have designed the TMS320C5505 EvalutionBoard.I got a Error when i connect the target device.
 i need one help. c5505 Board assembling is over sir. i checked power supply and all. power supply is working fine, and i checked on board Emulator sir.By using Mprog i have loaded Texas serial number (XDS100 EMU). It is also working properly sir. But i have  faced problem When i connect the device.

when i connect the kit C5505 to EMU (on board) the target was not connected  sir. This is the error i got it sir.

Error connecting to the target:
Error 0x80002240/-121
Fatal Error during: Initialization, OCS, Control,


i dont know what is the problem. am using CCS 4. i think i didnt configure correctly in Software side. This is the first time am using CCS 4.

kindly help for this time sir.

  • Ramkumar,

    There is a utility to help understand emulation error messages called dbgjtag.exe which is located in the \ccsv4\common folder.  Syntax for checking error messages is: dbgjtag -E single,number=-121.  The result from this query indicates that there is a configuration problem.

    Have you looked at the CCSv4 Getting Started Guide located here: http://processors.wiki.ti.com/index.php/CCSv4_Getting_Started_Guide?  There are instructions on how to make a Target Configuration which is the first thing to try. 

    Depending on the JTAG emulator you are using there may be a diagnostic utility available to check out the physical connection between CCSv4 on the host PC and the target board.  This is another check that should be made to verify the communications channel.

    Regards.

  • hi Tommy ,

    Thanks for Replying me

     sorry i can get dbjtag.exe.What is this. what i have to do for that. it is common folder can i remove or execute, what i should do exactly. yeah thanks for gave the link. Hope i will get a solutions. Actually i don't know how to open a excisting project and how to debug and how to connect.so kindly tel me the detail atlaest  how to connect the target device using on board emulator

  • The utility dbgjtag.exe is part of the Code Composer Studio installation.  The path I gave you was for CCSv4.  Do you have this?

    Use the CCSv4 Getting Started Guide to understand how to develop, load and debug programs.  Using the emulator is part of the guide.

    Regards.

  • ya i got the link.. i go through this link... thanks for ur help.. will catch u soon

  • Hi tommy  how was today

     

    ok i tried Tommy, but Error is same only.can u tel me how to target new configuration.I'm not using usbstick C5505. Its my own Board using Tms320C5505, on board Emulator Audio codec, Flash, I2C EEPROM thats all. i don't know how to target the device. this is the main thing i have to do. so pls tommy can u tel the way of connect it. i ref wiki also but i  couldn't get. reply me soon bye for now

  • The Wiki Getting Started Guide should apply to any target system.  You don't provide enough information to determine what is your problem.  I have a few questions that might help with the understanding.

    - Are you using Code Composer Studio?  Which version?
    - How did you implement "onboard emulator"?  Typically customers use external emulator for their own target boards.
    - How have you tried to make the Target Configuration?
    - How exactly are you trying to connect to the target when you get the error message?

    Regards.

  • sorry tommy i forgot to tel thats and all..  so here i will let u know..

     

    1. Yes am using ccs v4.

    2. yes am using on board emu, by using FT2232D chip using MPROG  i loaded TI serial number its detected also. no problem in on board Emu. the 4 emu pis are connected to C5505. i didnt use external emu. by using usb cable i connected to Kit and PC.

    3. yes lot of times i tried i got a same error. i just tried to connect.. first i did new target configurations and select TMS320C5505 Device Emu is texas instrunesnts XDS100EMU  and save. then in C++ projec window right click Import Existing proj and select LED project---> in Project Options Buils active project then Rebuild . After that in Target option select Debug at time only i got this error. i dont know this is the correct way pls tel me tommy.

     

     

  • What USB drivers are you using?  There are specific drivers delivered with our eZdsp board to support the onboard emulation.

    How did you determine how to implement the onboard emulation?  According to schematic for C5515 eZdsp there are 7 pins used for the JTAG interface on the DSP.  I am guessing that there is an implementation issue on the JTAG interface.  Here are 2 links on JTAG implementation that may be of assistance:

    http://processors.wiki.ti.com/index.php/XDS100
    http://processors.wiki.ti.com/index.php/XDS_Target_Connection_Guide#Troubleshooting.

    Regards.

  • I'm not using any onboard Emu drivers tommy. can u send the link the emu drivers. i will download it.  Actualy we did xds100 emulator. but by using usbstick 5505 ref schematic we did onboard emulator.we didnt use 7 pins. TCK,TDI,TDO,TMS,TRSTn these are the pin whic i connected to FT2232D to C5505. Remaing pin that is EMU0 and EMU 1 are connected to power supply with series 10k resistor. 

     

    is there any issue tel me tommy.. here i have some more prob's. have to finish it earlier itself. my ref schematic is usbstick  C5505.

  • Ramkumar,

    All the information you need to implement your own embedded emulation logic and SW is described in the first link in my previous post.  Have you gone through all that information ?

    Regards.

  • Your embedded files do not show up for me.

    Regards.