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.

Cannot start MSP430 debugging session

Other Parts Discussed in Thread: MSP430G2231, MSP430F5437A

I am having problems getting the MSP430 LaunchPad working with CCS 4.2.4.00033.  I have searched the foums and noticed that a few other people have had similar problems with mixed results.  I have read the posts and suggested solutions and I still have a system which does not work and I would appreciate some help.

I have installed CCS 4.2.4.0003 with administrator privileges and with UAC turned of.  The system is a Windows 7 Ultimate 64-bit machine.  The application was installed to the default directory and I selected to install the MSP430 core tools.

I have opened CCS and started a new project and set the target to the MSP430G2231.  I opened a new C file and pasted in the code from the simple LED and counter example:
MSP430G2xx1 Demo - Software Toggle P1.0

The code compiles OK but when I try to debug I get the message

Error initialising emulator
Could not initialise device interface

The system has created the following COM port

MSP430 Application UART (COM7)

and this port only appears in the device manager when the board is plugged in.

I would appreciate it if anyone could help me resolve this problem.

Thanks in advance,
Mark

  • You could install KickStart and try your luck there. You may not want to use KickStart, but it does not hurt to try if that works.

  • Installed IAR KickStart and opened the flashing LED example.  This compiles OK but when I try Project->Download and Debug I get the following error:

    Fatal error: Failed to initialize.
    Check if hardware is connected.
    Check if drivers are installed.
    Try to restart the computer.
    Tools using the parallel port are not supported on Windows Vista
    Session aborted!

    I have restarted the computer and I still get the same message.

    Regards,
    Mark

  • In that case, read: http://processors.wiki.ti.com/index.php/MSP430.dll_v3

    Both CCS and IAR automatically install supposedly the same set of released dll's automatically. The above wiki offers Beta 2 of these dll's.

  • Thanks for the information.  I have run the installer and still no luck.  I have follwed the install instructions and those in the step MSP430.DLLv3 in IDEs and UIF Interface Up-/Downgrade Process.  This last step generates an error telling me that there is an error:

    Could not find MSP-FET430UIF on specified COM port

    When I run IAR I get the same error as above.  When I run CCS I get the following error:

    Error initializing emulator:
    Could not find MSP-FET430UIF on specified COM port

    This looks like a reworded version of the original error.

    Regards,
    Mark

  • I have been wrestling with this problem for over 2 months.

    Here is my scenario and experiences.

    Hardware:  ez430-RF2500 kit.

    Software:   IDE :  CCS V4.2.4.00033  on a Win XP SP3 machine.

    So far, I have found no definitive solution, but I do always eventually  manage to get my ez430 board recognized 

    without the above errors. What 'usually' seems to work for me are the following steps :

    1. Close CCS and any terminal app I may have been using to view COM port output (usually Hyperterminal)

    2. Uninstall the MSP430 Application UART (COMx) in device manager.

    3. Run the app MSP430_DLLv3_CCS_Setup.exe, which I believe simply places the new MSP430.dll

        where it needs to go. Allow default folder settings.

    4. When finished, I then proceed to insert the ez430 USB stick into my USB port.  Also, I am using a powered

        USB 4 port hub in case there are power issues, (which should not be the case).

        I usually do not get recognition on the first try, and I can immediately determine success/failure by my 

                hub's port activity green LED indicator. If the LED comes on and stays on, I'm in luck. If not,

        I keep re-inserting. Success can happen on the 4th or 5th try, but sometimes taking many more tries.

       Once, I walked away for a few hours, came back, re-inserted, and got recognition the first time.

    So far, I have not been able to predict when the problem will recur, and what it specifically takes to resolve it.

    TI people:

    Is this problem isolated to the ez430 USB interface board ?

    Do other MSP430 programmers have similar issues ?

    I've been following many old and recent threads on this and it has been plaguing many a

    developer for an unacceptable length of time. Is TI working on a solid fix ?

     

    Thanks,

    Joe Pepe

     

     

  • Joe,

    Thanks for taking the time to reply.  I have followed your suggestions and so far I am having no luck  I still get the same problem as discussed.

    I'm with you in that this is infuriating.

    Regards,
    Mark

  • I am in the same boat as you Mark, this is indeed infuriating. I find it curious that the ez430 demo program runs flawlessly (im using the RF256x) and information is sent between the boards wirelessly and the incoming data is understood by the PC application. However connecting with ANY program (fet-pro430, IAR,CCS) bounces back an error that the fet devices cannot be found on the specified COM port. 

    I've tried everything from different drivers to uninstalling all USB drivers on the system and starting from scratch, I even did a fresh install of Win7 to wipe out any programs I forgot about that might be causing a conflict. No progress. I've been doing this for about 3 weeks now and I'm at my wit's end. 

    Some other users suggested looking for any cell phone syncing software or certain mouse drivers may cause a conflict, neither of which are a problem I have. I'm going to go out on a limb and say that its the drivers supplied by TI causing the error because this is the ONLY usb device I have ever owned that causes this much of a problem. 

  • I am having a similar problem, only with IAR Embedded Workbench IDE version 5.20. Everything seems detected, with version 3 of msp430.dll and the ports that installed properly on the device manager. I've never been able to debug my MSP430F5437A device after several days of attempts, and nearly bricking the debugger.
  • Please see the following post for details on resolving the issue:
    e2e.ti.com/.../1883791

**Attention** This is a public forum