cancel
Showing results for 
Search instead for 
Did you mean: 

Getting error with STM32CubeProgrammer API package's Visual Studio project

Raghavendra.Kandur
Associate

Hi,

I am investigating usage of STM32CubeProgrammer API package to connect, download executables to connected STM32 MCUs.

I was going through example Visual Studio project installed with STM32CubeProgrammer available at "C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\api\project\Visual Studio".

I was able to successfully compile the MSVS project successfully but while running the application, getting following error. Kindly guide to resolve the error.

'STM32CubePrgAPI.exe' (Win32): Loaded 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\api\lib\STM32CubePrgAPI.exe'. Symbols loaded.
'STM32CubePrgAPI.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'STM32CubePrgAPI.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'STM32CubePrgAPI.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
The thread 0x50c8 has exited with code -1073741701 (0xc000007b).
The thread 0x9a0 has exited with code -1073741701 (0xc000007b).
The program '[28304] STM32CubePrgAPI.exe' has exited with code -1073741701 (0xc000007b).

I am using Microsoft Visual Studio Professional 2017.

Regards,

Raghavendra

1 REPLY 1
FValm.1
Associate III

Hi @Community member​!

I don't know if it can be useful for you. A lot of time is passed away. Probably you have already checked it. But I remember that if you was compiling your project as a win32 project you had to consider that the STM32CubeProgrammer should be installed as 32 bit application. Otherwise some library that are supplied in the:

.........\STM32CubeProgrammer\api\lib

do not match with your project configuration...