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.

CCS: CSS Uniflash "%1 is not a valid Win32 application"

Other Parts Discussed in Thread: UNIFLASH

Tool/software: Code Composer Studio

Hello,

I've installed uniflash 3.4.1 on my Win 10 64bit and got an error at launch wich tell me to check a log file.

I think this error come because my OS is a 64 bits but I can't find any win64 version of uniflash 3.4; and I absolutely need this version to run an application.

Also the computer is new.

Can you help? Thanks

Here is the log file I get:

!SESSION 2019-03-28 18:25:24.415 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_60
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Command-line arguments: -os win32 -ws win32 -arch x86 -data @noDefault

!ENTRY org.eclipse.osgi 4 0 2019-03-28 18:25:25.012
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: C:\ti\uniflash_3.4\ccs_base\DebugServer\bin\LibraryLoader.dll: %1 n’est pas une application Win32 valide
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.ti.debug.engine.xpcom.Runtime.preXPCOMInit(Runtime.java:163)
at com.ti.debug.engine.xpcom.Runtime.startBare(Runtime.java:116)
at com.ti.debug.engine.xpcom.Runtime.createComponent(Runtime.java:170)
at com.ti.utility.filesystem.DirectoryService.<init>(DirectoryService.java:26)
at com.ti.utility.filesystem.DirectoryService.<init>(DirectoryService.java:9)
at com.ti.utility.filesystem.DirectoryService$SingletonHolder.<clinit>(DirectoryService.java:44)
at com.ti.utility.filesystem.DirectoryService.instance(DirectoryService.java:49)
at com.ti.common.core.utils.ds.CoreUtilsProvider.getTemporaryFileDir(CoreUtilsProvider.java:16)
at com.ti.common.core.CoreUtils.getTemporaryFileDir(CoreUtils.java:114)
at com.ti.uniflash.rcp.Application.getRuntimeAppDir(Application.java:89)
at com.ti.uniflash.rcp.Application.getWorkspaceDir(Application.java:96)
at com.ti.uniflash.rcp.Application.setupWorkspaceFolder(Application.java:103)
at com.ti.uniflash.rcp.Application.start(Application.java:32)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

  • Although Uniflash 3.4.1 was not officially tested with Windows 10, we have several users using it successfully with that OS.

    Are you sure the installation completed successfully? I suspect the installation might be incomplete or somehow corrupted. Could you delete your current installation folder, and try the installation one more time? If it fails again with the same message then please zip up the install_logs folder and attach it here.

  • I use the installation that you can find on the website, though I don't think that's the problem.

    I nearly installed it 5 times, tried to download it again but that's always the same error log.

    I copied it in my previous message so you can check it, there are all the same.

  • Alan,

    I was actually asking for the installation logs, not the error message that appears during launch. The installation logs will confirm whether there were any problems during installation even though it may have appeared to complete successfully. If you go into your uniflash install directory there should be a folder named install_logs. Please zip that up and attach the zip file here. Thanks!
  • https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/81/7723.install_5F00_logs.7zHere are the install log

  • Alan,

    Is it possible to upgrade to UniFlash v4? UniFlash v3 is not supported anymore, and we recommend all v3 users to upgrade to v4 if possible.

    As for the issue itself, we looked at the error message and the logs, and we are guessing that your machine might be missing some Visual Studio runtime dependencies, but it is difficult to say for sure. The UniFlash installer is supposed to install all necessary dependencies, but maybe something is missing in this case?

    One suggestion that came up is to try installing a version of Code Composer Studio in the similar timeframe (this would be 6.1.2 or 6.1.3, processors.wiki.ti.com/.../Download_CCS, and see if you are able to use it for your device. If so, try going back to UniFlash and try again. This assumes that the CCS installer might be able to resolve the dependency issues.

    Thanks,
    Ricky
  • Alan,

    I hope one of the suggestions above helped get you to a usable solution. If you are still having trouble using the tools, please feel free to post an update or start a new thread.