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.

CCS V5

Other Parts Discussed in Thread: MSP430F2132, CCSTUDIO, MSP430WARE, MSP-TS430PW28

I have used CCSV4 with MSP430F2132 and dedugged my apllication just fine. Now that I have installed CCS V5 I Get the following error when trying to debug my code" Error connecting to the target:Unknown device." I have even oppened one of the examples that come with CCS V5 for the F2132 and I get the same error.

 

Please advise me as to what the problem could be and how to fix this.

Regards

Matt

  • I am not a big expert on this stuff. But I ahve had this problem several times. The problem is that your CCS is not seeing your microcontroller.

    -Make sure all your connections are good between your microcontroller and your computer. Check the pins to make sure you have it pins mapped correctly. If you still ahve CCS4 you might want to try to run it on that again to be sure it's connected to your computer.

    -Check to make sure that in your project properties you have the correct microcontroller selected. I have had that problem more than once.

    Good Luck

     

     

  • Hi

    Thanks for your reply. Well things are going backwards for me. After I had the problem with CCS5 I uninstalled CCS5 and now CCS4 wich was installed on the same PC don't see my USB FET. Gives me am error which says that no USB FET can be found.

    I double checked my connection and even replaced the micro with a new one.

    I need some help urgently.

    Regards

     

     

     

  • HI Mathew,

    what v4 were you running that worked?  Did CCS ask you to upgrade the firmware on your USB FET?  Or what debug hardware to you use?   What do you see in your device manager when connecting the FET?

    Have a look at this wiki topic.  One of my first thoughts is that this is likely to do with dll version.

    http://processors.wiki.ti.com/index.php/MSP_Debug_Stack

    Please keep us informed.

    Best Regards,
    Lisa
  • Hi Lisa.

    1) I am using CCS V4.0.2.01003.

    2) Yes V5 upgraded my USB FET and when in Device Manager is see it as MSP-FET430UIF-CDC on COM18 on my PC. IS there a patch file for CCSV4?

    Thanks for your help, I appreciate it.

    Regards

     

    Matt

     

     

     

     

     

  • Hi Matt,

    ok the issue you are having is indeed due to msp dll v2 vs v3 issues.  CCS v5 has upgraded you to v3 dll and this will not work with your older CCS installation.

    First of all, I believe it is a good idea to updgrade you v4 installation (should you plan on keeping both ) to 4.2.4 which is the latest release.

    The wiki link I sent you has an upgrade downgrad utility you can use to go between dll versions.   When using v2 your FET will not appear as a CDC device but rather HID.

    http://processors.wiki.ti.com/index.php/MSP_Debug_Stack

    I hope this helps and please keep us informed.

    Best Regards,
    Lisa

  • Hi Lisa.

    I'll rather just use v5 seeing that i am only starting using MSP devides now. Used Freescale before.

    But I get an error on V5, that is why i went back to V4.

    I get the following error when using V5  " Error connecting to the target: Unknown device". Please see my very first post.

     

    Regards

     

    Matt

  • Hi Matt,

    that is actually a good idea to go with the latest release which is v5.1.   So let's see if we can get you up and running with v5.

    You mentioned switching chips.   Have you verified both as working?

    I would do that and uninstall v4.  

    Then I would check again and let CCS upgrade the firmware if necessary.  With the latest  v5.1 release, you will need to be sure that the MSP430v3 dll is the one loaded.

    Please check a few of these steps, as methodical as possible to try and eliminate potential problems.  Please keep me posted with details and we will go from there.

    Best Regards,

    Lisa

  • Hi Lisa.

    Thanks for all your help. I am now back to square 1 with V5. I have uninstalled v4.

    When I want to degug my code I get the following error message " Error connecting to target: Unknown device" .

    What else can I check, the chip is a new MSP430F2132.

    Regards

    Matt

     

  • Hi Matt,

    Are you using an imported project? 

    Does an example work?  Are you using your own hardware?  What is your target configuration settings?  IS the F2132 selectable?  Selected for the project?  I assume so, but want to double check.

    Best Regards,
    Lisa

     

  • Hi Lisa.

    NO, i get the same error if i use on of the examples. Yes I am using my own harware, which I know is working because I used CCS4 to debug my code and some examples "LED"and it was working.

     

    Yes the F2132 is selected. Please se the attached ccml file, hope it helps.

    ?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <configurations XML_version="1.2" id="configurations_0">
        <configuration XML_version="1.2" id="configuration_0">
            <instance XML_version="1.2" desc="TI MSP430 USB1" href="connections/TIMSP430-USB.xml" id="TI MSP430 USB1" xml="TIMSP430-USB.xml" xmlpath="connections"/>
            <connection XML_version="1.2" id="TI MSP430 USB1">
                <instance XML_version="1.2" href="drivers/msp430_emu.xml" id="drivers" xml="msp430_emu.xml" xmlpath="drivers"/>
                <platform XML_version="1.2" id="platform_0">
                    <instance XML_version="1.2" desc="MSP430F2132" href="devices/MSP430F2132.xml" id="MSP430F2132" xml="MSP430F2132.xml" xmlpath="devices"/>
                </platform>
            </connection>
        </configuration>
    </configurations>

     

    Regards

     

    Matt

  • Hi Matt,

    ok, let me give this some thought and run it by a couple colleagues.  It is odd because from what I understand - it worked, after a v5/dll v3 update it stopped with the given error and has not worked since. This would suggest to me a dll version problem - I even experienced this myself in some of the early alpha versions.

    Do you see any other error messages?  Did you get asked to update the FET a second time?   Have you tried using the upgrade/downgrade utility (while CCS is closed and there is not disruption to the FET connection) to first downgrade then upgrade?

    Best Regards,
    Lisa

  • Hi Lisa.

    You understand 100 % correct.  I did not see any other error messages. I even downgraded the FET and then plugged it back into V5 so that the software can do a FET upgrade again. And still I get the same error. I am running on XP if that should help.

    Once again thanks for all your help.

    Regards

     

    Matt

     

     

     

  • Hi Matt,

    no problem.  One further quick question.   What code generation tool version is assigned to the project?  What versions are available?  Is the most current selected?

    I assume the whole power cycle of the FET has likely been done more than once.

    Cheers,
    Lisa

  • Hi Lisa.

    This is a copy of the error log file of the last attempt I made to connect to the target.

    !ENTRY com.ti.ccstudio.debug 1 0 2011-11-21 21:21:40.312
    !MESSAGE DS_ERROR: Error connecting to the target:
    Unknown device

    I am not sure where to chech which code generator is aasigend to the project. I just created a new Grace enable project.

    Here is a list of all the installed software:  ( Sorry about the long List )
     CCSINIT 5.1.0.0 com.ti.ccstudio.ccsinit.win32.feature.group Texas Instruments
      CCStudio p2 Feature 5.0.1.201111011124 com.ti.ccstudio.p2.feature.group Texas Instruments
      CCStudio p2 Tool Feature 5.0.2.201111011124 com.ti.ccstudio.p2tool.feature.group Texas Instruments
      Code Composer Plugins 5.1.0.N201110281600 com.ti.ccstudio.ide.win32.feature.group Texas Instruments
      Code Composer Studio Base Components 5.1.0.485 com.ti.ccstudio.base.feature.group Texas Instruments
      Code Composer Studio IDE Main Feature 5.0.1.201110281600 com.ti.ccstudio.idemain.feature.group Texas Instruments
      Code Composer Studio IDE MSP430 Components 5.1.0.201110281600 com.ti.ccstudio.msp430.feature.group Texas Instruments
      Code Composer Studio IDE Workflow 5.0.1.201110281600 com.ti.ccstudio.workflow.feature.group Texas Instruments
      com.ti.cgt.msp430.4.0.help feature 1.0.0.201109301355 com.ti.cgt.msp430.4.0.help.feature.group Texas Instruments
      Compiler Tools On-line Documentation 1.0.0.0 com.ti.cgt.dmed.win32.feature.group Texas Instruments
      Debug Server 5.1.0.485 com.ti.ccstudio.debugserver.win32.feature.group Texas Instruments
      DVT min 3.1.0.201110191212 com.ti.dvt.min.win32.feature.group Texas Instruments
      DVT RTA Feature 3.1.0.201110191212 com.ti.dvt2.rta.feature.group Texas Instruments
      Eclipse IDE for C/C++ Developers 1.4.0.20110615-0550 epp.package.cpp null
      Grace 1.10.0.17 com.ti.grace.1.10.win32.feature.group Texas Instruments
      Grace (MSP430) (IDE Client) 1.10.0.17 com.ti.sdo.grace.product.ui.feature.group Texas Instruments Inc.
      Grace (MSP430) (Target Content) 1.10.0.17 com.ti.sdo.grace.product_1.10.0.17.feature.group Texas Instruments Inc.
      Graph Visualization 3.1.0.201110191212 com.ti.dvt2.graph.visualization.feature.group Texas Instruments
      LWInstaller 5.1.0.09000 com.ti.ccstudio.installer.win32.feature.group Texas Instruments
      MSP430 Compiler Help 4.0.0 com.ti.cgt.msp430.help.4.0.win32.feature.group Texas Instruments
      MSP430 Compiler Tools 4.0.0 com.ti.cgt.msp430.4.0.win32.feature.group Texas Instruments
      MSP430 Emulators 5.1.1.9 com.ti.ccstudio.msp430.emu.win32.feature.group Texas Instruments
      MSP430 XDCTools 3.22.4.46 com.ti.xdctools.msp430.3.22.win32.feature.group Texas Instruments
      MSP430ware 0.0.0.10 com.ti.msp430.msp430ware.win32.feature.group Texas Instruments
      ROV 3.1.0.201110191212 com.ti.dvt2.rov.feature.group Texas Instruments
      RTSC/XDCtools (IDE Client) 3.22.4.46 org.eclipse.rtsc.xdctools.product.ui.feature.group Texas Instruments
      RTSC/XDCtools (Target Runtime Support) 3.22.4.46 org.eclipse.rtsc.xdctools.product_3.22.4.46.feature.group Texas Instruments
      Third-Party Components for GMF Runtime 1.5.0.v20110426-2230-7P8W6FHV2CYms9gAtyKPaw311A16 org.eclipse.gmf.runtime.thirdparty.feature.group Eclipse Modeling Project
      XDCTools 3.22.4.46 com.ti.xdctools.base.3.22.win32.feature.group Texas Instruments
    Regards
    Matt

     

  • Hi Matt,

    ok, many thanks let me see what I can digest from some colleagues.  You can find the compiler version and the drop down menu for any selection you may have under Project->Properties->General.   Please do try the compiler version check if you have the chance.

    Best Regards,

    Lisa

  • Hi Lisa.

    The compiler is TI v4.0.0

     

    Hope that helps.

     

    Regards

    Matt

     

     

  • Hi Matt,

    I've just tried the F2132 with CCSv5.1.0.09000 and an MSP-FET430UIF interface and haven't seen any issues (SBW Mode).

    Can you please provide additional information, just to make sure that I'm using the same setup:

    • Exact CCS build number (Help --> About)
    • Type of Emulator you use
    • How you power the board and how JP1 in the target socket board is set (assuming that you're using the MSP-TS430PW28 board)
    • Connection Type (JTAG or SBW)

    Thanks,
    Markus

  • Hi Marcus.

    Thanks for your reply. I am using my own design and don't have a dev kit.

    We have how ever solved the problem. Had a TI respresentitive here today.  My CCS V5 worked fine on his dev board. He then mentioned that it is better if I use V5 because it's faster and better the V4. Which made me realise where the problem is, because my board worked with V4.

    I implemented the 2 wire system as on page 24 of SLAU278C. After removing the the capacitor C1 (2.2nf) , my pcb worked on my PC with CCS V5.

    Once again thank you for all your help.

    Regards

    Matt