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 Initializing emulator: No USB FET was found



I am running CCS v4 Core Edition. When I want "Debuging", I get: "Error Initializing emulator: No USB FET was found". My emulator is MSP430 USB - Debug - Interface MSP - FET430UIF und I can see that is properly installed. My emulator with IAR works!

  • Hi Admir,

    What version of IAR are you using that it works with?

    CCSv4 is a very old version - and it was before we changed to MSP430DLLv3 for the emulator firmware. Can you please go to device manager, and see if your MSP-FET430UIF is listed as CDC or VCP? CCSv4 will only support MSP430DLLv2, which will mean the MSP-FET430UIF would have to enumerate as VCP. If it says CDC, that means that the FET tool has MSP430DLLv3 firmware in it, and it will not be able to be recognized by any version of CCS older than CCSv5.1 or IAR EW 5.40.  

    My guess is that you have a newer IAR that uses DLLv3, and this is why your tool is recognized by your newer IAR but not by your older CCS.

    The solution in this case would be to either download the latest version of CCSv6 (which has A LOT of improvements over CCSv4), or you will have to use your IAR to do a DLL downgrade when you want to switch between IDEs, and upgrade back when you want to use IAR again. I think the best recommendation would be to download the updated CCS version if you need to use CCS instead of IAR.

    Regards,

    Katie

  • Hi Katie,

    Thank you very much for your answer!

    Yes in "Device manager" is: "MSP - FET430UIF - CDC (COM15)". I'm running IAR Embedded Workbench for MSP430 IDE 6.20.1. In IAR I have problem with: #include "display.c". When I compiling, I get: "Fatal Error [Pe035]: #error directive: This library is too old for this compiler!" What I can do? I need "display.c" for eZ430 - Chronos Warch.

    Regardes,

    Admir
  • Hi Admir,

    I have IAR version 6.20.1 as well, so I tried to reproduce your issue, but I had no issue. Here is what I did:

    1. Download the eZ430-Chronos package from this link: http://www.ti.com/lit/zip/slac341
    2. Run the installer
    3. If you installed in the default location (C:\Program Files(x86)\Texas Instruments) you'll have to run IAR as an administrator so that it can convert the old project. So right click on IAR and select Run as Administrator.
      1. Then when IAR opens, go to File > Open > Workspace, and navigate to the workspace in C:\Program Files(x86)\Texas Instruments\eZ430-Chronos\Software Projects\Chronos Watch\IAR\Sports Watch\ez430_chronos.eww.
      2. It will tell you that it will update the project to a newer version - let it do this (this is why you need to run as administrator, or this step will fail because it is needing to manipulate files in C:\Program Files(x86))
    4. After opening the workspace, at the top in the dropdown select the project configuration to be "915MHz - Unrestricted IAR Workbench (USA)" or the unrestricted version with the frequency for your region (basically you want one other than kickstart if you want to have display.c included).
    5. I did Project > Make, and it built with no issues.

    Does this differ much from what you did? I was not able to recreate the issue with IAR 6.20.1.

    What file is the #error directive in - does it point to a file or line of code somewhere?

    Regards,

    Katie

  • Hi Katie,

    Now I get this errot: " #error This library is too old for this compiler!" in "sysmac.h"!

    Regards,

    Admir
  • Admir,

    I can't find a file called sysmac.h anywhere in the eZ430-Chronos software download. What specific project are you running? If you do the steps I listed in my previous post, did you get any error? I got no errors in IAR 6.20.1.
    -Katie
  • Hi Katie,

    Yes I get errors. When I want compile, I get: Fatal Error[Pe035]: #error directive: This library is too old for this compiler! And path from file sysmac.h is: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\430\inc\sysmac.h

    Admir
  • Katie,

    In include file "string.h" is: #include "sysmac.h"

    Regards

    Admir
  • Ahhh - thank you for providing the file path. This is a file in the support libraries that come with IAR . If you go to C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\430\inc\clib\sysmac.h and open it, does it say something like this:

    "#if !defined(__IAR_SYSTEMS_ICC__)
    #error The compiler is too old for this library!
    #elif __IAR_SYSTEMS_ICC__ < 8
    #error The compiler is too old for this library!
    #elif __IAR_SYSTEMS_ICC__ > 8
    #error This library is too old for this compiler!
    #endif"

    This code is checking the IAR version that you are running. Can you see what number the code in your sysmac.h is comparing this (__IAR_SYSTEMS_ICC__) against? In IAR 6.20.1 and IAR6.30.1 that I have installed, it looks like it is comparing it against 8. Perhaps you have somehow got sysmac.h from an older version, and it's comparing against a lower version.

    -Katie
  • I have this:

    #if __IAR_SYSTEMS_ICC__ > 7
    #error This library is too old for this compiler!
    #endif

    Regards

    Admir
  • It sounds like somehow you have an older version of that file than I do. Can you perhaps try checking for IAR updates?
    -Katie
  • Hi Katie,

    Thank you very much! This is the solution. I got no errors! Now can I continue to work.

    Admir
  • Great! I'm so glad we were able to get you up and running!
    -Katie

**Attention** This is a public forum