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.

FATAL ERROR Failed to initialize the device. Session aborted

Other Parts Discussed in Thread: MSP430F4270, MSP430F2274, MSP430G2231, MSP430FG4619, MSP430F1612

Hello,

I am trying to run sample codes for my MSP430F4270 device. I have been writing and running my code using IAR Kickstart version on simulator mode with no problem. However, when I am trying to debug the code on the device by using the USB debugger interface, I get the following error:

Tue Dec 07 16:25:12 2010: Failed to initialize device.

Tue Dec 07 16:25:15 2010: Failed to load debugee: C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\FET_examples\msp430x4xx\C-source\Debug\Exe\101207.d43

This is the same even I try with the sample "Flashing the led example". 

Steps Needed to Recreate Problem: 

-Create a project on IAR Kickstart free edition which comes with the CD
-Connect the UIF and the device
-Select your device on IAR -> Project->Options->General Options
-Select IAR -> Project->Options->Debugger->"simulator"
-Debug the program >> No errors.
-Stop debugging and select "USB Interface" on Project->Options->Debugger
-Debug the program  >> This error is displayed: "FATAL ERROR Failed to initialize the device. Session aborted"

I cannot make any progress without fixing this problem. Any help is appreciated!

  • Bump.    

    Same error here (Windows XP, MSP430F2274)

    Fri Feb 11 13:32:42 2011: Fatal error: Failed to re-initialize   Session aborted! 

    Fri Feb 11 13:32:42 2011: Failed to load debugee: C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\430\FET_examples\FET_examples\msp430x2xx\C-source\Debug\Exe\msp430x2xx (C).d43 

    Thanks.

  • Now that I "upgraded" to IAR 5.2 I'm getting this problem too.

    I'm pretty sure it was working fine last summer with version 5.1

    Windows 7  MSP430G2231

  • Edit: I found a solution that fixed the problem for me, if anyone else encounters this check out the very last post in this thread: http://e2e.ti.com/support/microcontrollers/msp43016-bit_ultra-low_power_mcus/f/166/t/58343.aspx

    It suggests checking your FET debug options and changing it to 4-wire JTAG, but instead I just chose the radio button for 'automatic selection' under 'debugging protocol'

     


     

    Having the same error here using IAR embedded workbench for MSP430 v5.20.1 trying to download to a msp430f2274 on the ez430 rf dev kit. I'm using Parallels VM on a MBP with an installation of Windows 7 to run IAR; it was working just fine a few days ago, and I did not update the IDE or change anything before it stopped.

    IAR product info:

    IAR Assembler for MSP430
      5.20.1 (5.20.1.50214)
      C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\430\bin\a430.exe
      11/29/2010 7:32:18 PM, 2081280 bytes
     
    IAR C/C++ Compiler for MSP430
      5.20.1 [Kickstart] (5.20.1.30214)
      C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\430\bin\icc430.exe
      11/29/2010 7:41:16 PM, 15781888 bytes

    Debug Log:

    Wed Mar 23 13:49:39 2011: Interface dll version 2.4.7.1
    Wed Mar 23 13:49:39 2011: Not supported by selected Interface or Interface is not initialized
    Wed Mar 23 13:49:39 2011: Not supported by selected Interface or Interface is not initialized
    Wed Mar 23 13:49:39 2011: Not supported by selected Interface or Interface is not initialized
    Wed Mar 23 13:49:39 2011: Not supported by selected Interface or Interface is not initialized
    Wed Mar 23 13:49:39 2011: Not supported by selected Interface or Interface is not initialized
    Wed Mar 23 13:49:40 2011: Not supported by selected Interface or Interface is not initialized
    Wed Mar 23 13:49:40 2011: Not supported by selected Interface or Interface is not initialized
    Wed Mar 23 13:49:40 2011: Not supported by selected Interface or Interface is not initialized
    Wed Mar 23 13:49:40 2011: Not supported by selected Interface or Interface is not initialized
    Wed Mar 23 13:49:40 2011: Not supported by selected Interface or Interface is not initialized
    Wed Mar 23 13:49:42 2011: Fatal error: Failed to re-initialize   Session aborted!
    Wed Mar 23 13:49:42 2011: Failed to load debugee: C:\msp430\AN069 - one way audio\Software\OneWaySingleTX\Debug\Exe\OneWaySingleTX.d43

     

     

  • same problem with me while programming a MSP430FG4619 by MSP-FET430U100. the solution offered by bill pankau didn;t work for me as the default setting is 4-wire jtag only!!

  • I get the same error with 5.3 workbench and MSP430 development board from Olimex.  The JTAG option is grayed out.

    I have the Olimex board with RS232 serial cable via a port replicator connected to USB port on the computer,

    Any thoughts?

  • I had this same problem... 

    My IAR EW was working fine V4.6b, for a few years.

    Last week I loaded TI's code composer studio V4.2, this broke my IAR EW ! 

    The code composer studio reinstalled the drivers for the FET430UIF, and the IAR EW could not see the FET.

     

    ** THE FIX **

    Uninstall the FET driver with device manager, reinstall by pointing the device manager to:

    My folder was : C:\Program Files\IAR Systems\Embedded Workbench 4.0\430\drivers\TIUSBFET\WinXP

    This fixed my issue.

     

     

  • I have been having the exact same issue with my MSP430F1612 on my Apple MBP. I am running the same Parallels VM environment and everything. The only difference is that mine has not worked a single time!!! Please help!!!

    I'm getting this on my log: 

    Tue Apr 15, 2014 13:33:04: Using license: Standalone license - IAR Embedded Workbench for Texas Instruments MSP430, 4K KickStart Edition 5.60
    Tue Apr 15, 2014 13:33:05: Could not find MSP-FET430UIF on specified COM port : (Initialize) , port=USB, version=0xffffffff
    Tue Apr 15, 2014 13:33:09: Fatal error: Failed to re-initialize Session aborted!

**Attention** This is a public forum