2020-04-23 04:57 AM
I have checked the java version (which I have in the PATH as C:\Program Files\Java\jre1.8.0_201\bin):
C:\windows\system32>java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
C:\windows\system32>set | findstr JRE
JRE_HOME=C:\Program Files\Java\jre1.8.0_201
I noticed CubeProgrammer_API.dll is a 64-bit compiled with gcc 8.2.0 (MSys2) and STM32CubeProgrammer.exe is a 32-bit compiled with MinGW
I have succesfully used the CLI version for interfacing with my ST-LinkV3 but I really would prefer to use the GUI.
Thank you
2020-05-03 03:08 PM
Hi @SDALL.1
There is two possible reasons of your issue:
1- You installed STM32CubeProgrammer with different Java architecture than the one you are running with (64/32 bits discrepancy). You can avoid this by ensuring that you have only one Java architecture in your machine and re-install the tool.
2- Admin rights access issue : try to run STM32CubeProgrammer with run as admin option (right click on STM32CubeProgrammer icon and click on run as administrator).
Best regards,
Houda