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 Loading msp430.dll

Other Parts Discussed in Thread: MSP430FR5969, CCSTUDIO

Hi,
I am using Code Composer Studio version 6.01.00040, developing with the MSP430FR5969.

I have had no problems with development thus far until I downloaded the update to the MSP430 Emulators. When I updated to version 6.0.1.5 of the MSP430 Emulators I now receive the following error message whenever I try to download my program to the MSP:

Error initializing emulator: Error loading msp430.dll. Please make sure that the file exists (C:\TI\ccsv6\ccs_base\DebugServer\drivers\msp430.dll)

I can confirm that the msp430.dll file does exist in that location. I have performed a number of re-installs of CCS and was able to pinpoint the problem to the update to the MSP430 Emulators.

Is there anything I can do to fix this? For the time being, I am going to re-install and ignore the MSP430 Emulators update.

  • Hi Robert,

    Robert Lane said:
    Is there anything I can do to fix this? For the time being, I am going to re-install and ignore the MSP430 Emulators update.

    You can find the latest dll here: http://processors.wiki.ti.com/index.php/MSP_Debug_Stack

    Regards,

    Gautam

  • Hi Gautam,

    Still no dice! I just replaced the msp430.dll in that location with the downloaded one. Still same issue.

    Hi Robert,

    Have you got it working yet?

    Regards,

    Anup

  • Anup,

    Would you be able to run dependency walker on the dll?  There may be a missing dependency.

    http://www.dependencywalker.com/

    Regards,

    John

  • Hi, 

    I ran dependency walker on my msp430.dll that I downloaded with the latest version of Code Composer Studio,

    I got these warnings:

    "Warning: At least one delay-load dependency module was not found.
    W
    arning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module."

    Also, these files could not be found:
    GPSVC.DLL
    IESHIMS.DLL

  • Thanks Robert.  When I run it on my copy I get the IESHIMS.DLL error as well.  It doesn't seem to cause a problem for me.  I don't see the GPSVC.DLL error though, it resolves for me.

    Are you on 32bit or 64bit windows?  I can give it a try on another machine.

    John

  • I'm on a 64-bit machine

  • We think we have the problem figured out.  The update introduced a dependency on a specific version of  Microsoft redistributable libraries that may or may not be present on a given machine.

    You can try installing the library package from here and see if that clears up the problem for you.  I already have this package installed.

    http://www.microsoft.com/en-ca/download/details.aspx?id=5555

    John

  • Ah, those library packages seemed to do the trick, everything is working fine again!

    Thanks.

  • Great!   We are going to get the package updated to include the required content just in case it isn't already present.

    John

  • Just a quick follow up on this. If this question gets too involved, I can make another thread for it...

    I went ahead and upgraded my project from Compiler version 4.3.5 to 4.4.1 and I am now getting this warning:

    !CONFIGURATION: 'com.ti.ccstudio.buildDefinitions.MSP430.Debug.2027445260' [Tue Dec 02 11:09:43 PST 2014] !TOOL: 'com.ti.ccstudio.buildDefinitions.MSP430_4.4.exe.linkerDebug.460667459'
    !WARNING: Unresolved option: com.ti.ccstudio.buildDefinitions.MSP430_4.4.linkerID.USE_HW_MPY

    !CONFIGURATION: 'com.ti.ccstudio.buildDefinitions.MSP430.Release.1137519284' [Tue Dec 02 13:46:20 PST 2014] !TOOL: 'com.ti.ccstudio.buildDefinitions.MSP430_4.4.exe.linkerRelease.1610691758'
    !WARNING: Unresolved option: com.ti.ccstudio.buildDefinitions.MSP430_4.4.linkerID.USE_HW_MPY


    It looks like it has something to do with the hardware multiplier, but the chip that I am using (MSP430FR5969) does not seem to have a linker option for the hardware multiplier. Could that be what is causing this warning?

    Thanks!

  • Thanks John!

    I can confirm that this resolves my issue on a 32-bit machine as well.

    Regards,

    Anup

  • Robert Lane said:

    I went ahead and upgraded my project from Compiler version 4.3.5 to 4.4.1 and I am now getting this warning:

    !CONFIGURATION: 'com.ti.ccstudio.buildDefinitions.MSP430.Debug.2027445260' [Tue Dec 02 11:09:43 PST 2014] !TOOL: 'com.ti.ccstudio.buildDefinitions.MSP430_4.4.exe.linkerDebug.460667459'
    !WARNING: Unresolved option: com.ti.ccstudio.buildDefinitions.MSP430_4.4.linkerID.USE_HW_MPY

    !CONFIGURATION: 'com.ti.ccstudio.buildDefinitions.MSP430.Release.1137519284' [Tue Dec 02 13:46:20 PST 2014] !TOOL: 'com.ti.ccstudio.buildDefinitions.MSP430_4.4.exe.linkerRelease.1610691758'
    !WARNING: Unresolved option: com.ti.ccstudio.buildDefinitions.MSP430_4.4.linkerID.USE_HW_MPY

    In compiler version 4.4.0 and higher, the --use_hw_mpy option has been changed from a linker option to a compiler option. The reasoning for this is explained in the README.txt that you can find in the main install folder of the compiler tools. You can find and set the same hardware multiply option that was previously set for your project by going to Project Properties->CCS Build->MSP430 Compiler->Optimization.

  • Great! Thanks for the information