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 - in TMS320F28335

Other Parts Discussed in Thread: TMS320F28335

Hi..

I'm getting the following error in Code Composer Studio 4 while programming TMS320F28335.

Error connecting to the target:
Error 0x80000240/-151
Fatal Error during: Initialization, OCS,

then if i retry:

Error connecting to the target:
Error 0x80000200/-1047
Fatal Error during: OCS,
PTI_ERR_EMU_CLOSE Error Occured at 0x00000000

I re-installed CCS4,but the problem persists.

CCS4 was working perfectly before.But now, even for basic codes this error is showing.

Please help me to rectify this error.

  • Hi Mahesh,

    Can you please describe in detail what steps you are following? Is this error occurring while debugging?

    Regards,

    Gautam

  • Hi Gautam,

    Yes..Error is occuring while debugging.

    file--->new CCS project

    project name:pjct

    project type:C2000

    Configurations: I selected both 'debug' and 'release'

    projects: I din select anything

    CCS project settings:

    Output type:Executable

    Device variant:TMS320C28XX  TMS320F28335

    Code Generation Tools:TI v5.2.3

    Linker command file:28335_RAM_lnk.cmd

    Runtime Support Library:rts2800_fpu32.lib

    add source file..

    typed a basic program..

    build successful..

    Target content:None

    Target--->New Target Configuration

    file name: xds100v1-f28335

    connection:Texas Instruments XDS100v1 USB emulator

    Device:TMS320F28335

    Target--->Debug Active Project

    Now the above error is showing.

    The same error is showing even when i debug without connecting DSP to the system.

    regards,

    Mahesh

  • Hello!

    I am afraid that this is a problem of corrupted physical connection. I had this message when either my device was power-off or the phisical connection was absent. What kind of KIT do you apply. What kind of connection is with PC (USB-JTAG or other)?

    Regards,

    Igor

  • Hello!

    Yes,i am connecting through USB. It was working few days back.

    I'm also getting same error when device is absent. But two LED's are glowing in the device when i connect it to pc. But the error is same.

    regards

    Mahesh

  • Hi Mahesh,

    According to what you quote, your control card is ON. Please check for the positioning of your toggle switch on the dock whether its in ON or USB. For debugging purpose it has to be on USB. Else, uninstall the driver from device manager and create a new workspace and check.

    Regards,

    Gautam

  • Hello!

    Try to do following.

    1 Power-on your device connected to your PC via USB-cable.

    2 Find your device connection in the System device manager of your PC (like "USB serial port #"). If you find it you should delete it.

    3 Power-off your device and disconnect USB-cable (just in case).

    4 Connect USB-cable to your PC.

    5 Power-on your device. If the physical connection is normal that the system will report that new hardware detected.

    6 Even if the message "new hardware detected" does not appear you should reinstall the driver of your target device connection (for example XDS100 or what you use).

    7 Check in the System device manager of your PC that your device connection is present.

    8 Run CCS, open project and set the option of target device correctly and the target device connection in conformity with your connection driver.

    9 During you configure project's options select the DEBUG version only.

    Regards,

    Igor

  • Hi Gautam....

    Toggle switch was in correct position only.

    In device manager, 'Texas Instruments Inc. XDS100 Version 1.0 A' and  'Texas Instruments Inc. XDS100 Version 1.0 B' are in USB controllers only....

    Still problem persists...please tell some other suggestions...

    regards

    Mahesh

  • Hi Igor!

    In device manager, my device is in USB controllers.Should i delete that?

    I tried the procedure you told without deleting device from usb controller.

    But the problem still persists.

    Please give some suggestions.

    regards,

    Mahesh

  • Hi!

    Well, if all things are very bad... Check your USB-cable, try to take other USB-cable... So far I have only one crazy offer. Have you another PC that you have not used to work with your target device? Try install CCS and your target device drivers at other PC. Connect your device at this PC. If the problem persists, I'm afraid that your device is corrupted. And by the way, try to establish the chronology of events: remember your all actions that preceded the failure. It is very difficult to build any assumptions in your case.

    Regards,

    Igor

  • Hi Mahesh,

    Yes, uninstall the device from device manager and then "Scan for new hardware changes". And create a new workspace and import your project or rather Create a new project; copy paste the code. Let me know whether this works for you.

    Regards,

    Gautam

  • hi..

    thanx all...

    now my codes are working!!

    solution is to uninstall ccs4 completely n reinstall it...

    reinstall usbdrivers also..

    regards

    Mahesh

  • Congrats Mahesh... !