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.

IAR error: failed to initialize device

Genius 3300 points

1. I am using MSP-EXP430G2 with MSO430G2553 on it.

2. While debugging I get below error:

  Emulator: fatal error : failed to reinitialize

  Session aborted

3. IAR version: 6.20.1

4. On board all the jumpers: test,rst,rxd,txd & vcc are connected. 

I have checked voltage on VDD pin, its : 3.56V

In PC->Device Manager-, com3 is successfully connected.

5. After failures, I have also tried downloaded "msp430.dll_developer_package_rev_3.04.003.004" & replaced "HIL.dll" & "MSP430.dll" files in IAR/430/bin directory also.

6. I have seen that several people had similar issues.

7. Code is attached for setting if someone can check.

8. I have selecetd  project options->FET debugger-> SPI-BY interface.  But still same error.

code.rar

  • Vindhyachal Takniki said:

    1. I am using MSP-EXP430G2 with MSO430G2553 on it.

    2. While debugging I get below error:

      Emulator: fatal error : failed to reinitialize

      Session aborted

     Hi , When I was using windoze a lot of these problem plagued me, the only solution can be to reinstall the drivers but sometimes is not enough.

     Try this I remember applied a lot of times (standard winzz procedure)

     attach board to USB, open device manager, locate it then uninstall all MSP driver.

    detach USB, reattach to another port and try reinstall...

     If still doesn't work, uninstall again device driver, detach BOard and never reattach till end of procedure,

    open control panel software manager and uninstall IAR.

    when finished power down (NOT REBOOT) your pc.

    Power on and then reinstall IAR from scratch, when finished try plug board to USB, install driver so plug and pry as is necessary with this worst system....

     Not sure this can solve for you, it was solving for me but sometimes no way to exit this tunnel also with other periplheral...

  • I have tried using CCS V6. Below error generated:

    MSP430: Trouble Writing Memory Block at 0xffe4 on Page 0 of Length 0x4: Could not write device memory
    MSP430: GEL: File: C:\Users\deepak\workspace_v6_0\adsf\Debug\adsf.out: Load failed.
  • Finally got the system working by:
    1. Setting the project options and debugger correctly.
    2. Doing a maintenance reinstall of the software which also reinstalls the drivers.
    So now the debugger is working!

**Attention** This is a public forum