2015-01-05 01:48 PM
Hi,
I have installed STMstudio 3.3 on win7 x64, and I have installed java x86. (http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html).
When I want to run, I select ST-Link SWD,but I get a message Error opening ST-link connection.
I run the application as administrator.
I'm writing program in Eclipse+GCC compiler, and I don't have any problems to download the code.
Can you help me?
Thanks
#java #stmstudio-stm32f4-win7-x64 #stmstudio #runtime2015-01-07 05:37 AM
Hello,
I may suggest: 1. To ensure that no other connection is established with the discovery before using the STMStudio (unplug/plug again the USB cable to be sure) 2. Ensure that the desktop shortcut is really pointing to the 32-bits version of Java machine (right-click on STMStudio desktop icon - properties - target should start by C:/windows/SysWOW64 on Win7-64) 3. If the issue persists, please post the file error.log that should reside into Program Files (x86)/STMicroelectronics/STMStudio/dll Best regards2015-01-14 02:42 PM
Hi,
I have installed win 7 x86, st-link driver, stmstudio and Java 7 jdk, but I still have the same problem. I run the program as administrator, and choose ST-Link SWD but I got a message ?Error opening ST-Link connection?
This is the contents of the error.log file:******** xxx *************************** GDI DUMP => Date : Wed Jan 14 23:36:32 2015STLinkUSBDriver.dll loadedNo ST-Link device detected on the USBError opening ST-Link connection**** End of GDI DUMP ****Any help...?2015-01-15 06:57 AM
This is the target content: C:\Windows\System32\javaw.exe -Xms512m -Xmx512m -jar ''C:\Program Files\STMicroelectronics\STMStudio\STMStudio.jar''
I have installed jre7 and jdk 1.7, also and ST-link V2 driver, but still have the same problem.http://java.com/en/download/manual_java7.jsphttp://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.htmlhttp://www.st.com/web/en/catalog/tools/PF2581672015-07-21 12:13 PM
Hi, I know it has been a few months since you have asked your question, but it might help others.
Even on Windows 7 x64 version, you can(and probably will have to for other reasons) install 32-bit, and 64-bit Java JRE(it doesn't matter if you have same version(e.g. 1.7.80) with different ''bitness''). For example, my target path inside shortcut tab, looks like this:''C:\Program Files (x86)\Java\jre1.8.0_51\bin\javaw.exe'' -Xms512m -jar ''C:\Program Files (x86)\STMicroelectronics\STMStudio\STMStudio.jar''
Path inside the first pair of quotes points to the installed Java VM(in this case 32-bit on Windows 7 x64), after that, follows the size of memory allocation pool which your instance will be using, and finally '-jar' with the path to your java package.
After you are certain that everything is OK on the ''software'' side, check your connections/wiring. I had the same problem previously, my root cause was a loose test clip :\ Perhaps, you could try to flash your device through the STMDiscovery's ST-Link, and immediately after that, try connecting through STMStudio.
Good luck =)