cancel
Showing results for 
Search instead for 
Did you mean: 

Error "CubeProgrammer_API or one of its dependencies is missing" with Programmer version 2.4.0

SDALL.1
Associate

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

1 REPLY 1
Houda GHABRI
ST Employee

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