I have installed the uVision plugin for Eclipse, but when I want to flash download configuration I get the following error:
UVSCWrapper.dll failed to load. java.lang.UnsatisfiedLinkError: com.keil.uv4.uvsc.wrapper.UVSCWrapperDLLJNI.swig_module_init()V com.keil.uv4.uvsc.wrapper.UVSCWrapperDLLJNI.swig_module_init()
Eclipse version: ---------------- Eclipse IDE for C/C++ Developers
Version: Indigo Service Release 1 Build id: 20110916-0149
Keil uVision version: ---------------------
IDE-Version: µVision V4.23.00.0 Copyright (C) 2011 ARM Ltd and ARM Germany GmbH. All rights reserved.
License Information: Eric Bosch Philips Lighting LIC=ATTJR-HL287-WJJV7-CMFWK-14DJQ-ABNCF
Tool Version Numbers: Toolchain: MDK-ARM Standard: 15 user Version: 4.23 Toolchain Path: C:\Keil\4.23\ARM\BIN40 C Compiler: Armcc.Exe V4.1.0.894 Assembler: Armasm.Exe V4.1.0.894 Linker/Locator: ArmLink.Exe V4.1.0.894 Librarian: ArmAr.Exe V4.1.0.894 Hex Converter: FromElf.Exe V4.1.0.894 CPU DLL: SARMCM3.DLL V4.23 Dialog DLL: DARMSTM.DLL V1.63.0.0 Target DLL: UL2CM3.DLL V1.95 Dialog DLL: TARMSTM.DLL V1.60
Do you also have an older uVision version installed at another location (for instance, at C:\Keil)? It might affect DLL discovery algorithm.
Workaround options: 1) add C:\Keil\4.23\uv4 to your %PATH% environment variable. or 2) copy UVSCWrapper.dll and UVSC.dll to default location (C:\Keil\UV4)
Yes, I have installed an older version of uVision in C:\Keil. I have added the C:\Keil\4.23\uv4 to the PATH environment variable and both DLL's from C:\Keil\4.23\uv4 to C:\Keil\UV4, but still I get the error message.
I also get the following error "Incompatible JavaHL library loaded. 1.6.x or later required.", but I don't know if this one is related to the UVSCWrapper error.
Any idea?
Java version can be a cause of a problem. UVSCWrapper.dll is compiled against jdk 1.6.021 and therefore requires Java 1.6.x runtime environment. Please try to install that (www.oracle.com/.../index.html)
Also, please note: - MDK plug-in only supports 32-bit Eclipse version. - UV4.exe version 4.23 is required. You can set path to correct executable via Eclipse preferences (Window->Preferences->uVision)
Thanks!
The Java and Eclipse 64 bit causes the problem. It is now working.