Skip to main content
szhih
Visitor II
February 21, 2019
Question

STM32CubeProgrammer_api project cannot run

  • February 21, 2019
  • 13 replies
  • 5562 views

hi,

   I'm trying to run STM32CubeProgrammer_api project, I could build the STM32CubePrgAPI.exe with no error, but I got the 0xc000007B error when I run it; it seems that missing some runtime DLLs, I tried to install vs2015, vs2013, vs2010 runtime, but got the mistake;

my environment as blow:

os: win7 64bit

build with VS2017 version 15.6.6 and Windows SDK version 10.0.16299.0;

This topic has been closed for replies.

13 replies

alberto.spagnolo
Associate
October 21, 2019

Yes, that's why I didn't use the .lib and imported the dll symbols manually (see stLink_loadDll() in my stLink.c). I've been struggling on this for many days, but at last I was able to make it work.

My code should compile as well with the MSVC compiler and doesn't use the .lib (I got your very same error while trying to use it).

Another possible solution is:

  • uninstall STM32CubeProgrammer
  • uninstall Java64
  • install Java32
  • install STM32CubeProgrammer

At that point, you should have the 32 bit version of both the .dll and the .lib (and you need to compile a 32 bit executable, of course).

I'll keep that beer coupon in my pocket, thanks :beaming_face_with_smiling_eyes:

Marcuka
Associate II
October 22, 2019

Alberto, I follow your advice and install 32bit java and now the example Visual studio project works for me. Thank you so much! Don't forget the beer! Where are you?

alberto.spagnolo
Associate
October 22, 2019

Happy to hear that, Martin :)

I'm from Italy. If I come there, I'll let you know!