"tm32cubeprog_v2-5-0": API-Error with Windows 7
Hello everybody,
I am actually a PC software developer, but would like to be able to update the firmware of the hardware we have developed with our own software.
For this purpose I have downloaded the "en.stm32cubeprog_v2-5-0.zip" and installed the Windows version on a Windows 10 (64 Bit) PC.
I tried the example "1 example with UART bootloader" from the STM-API.
This also works very well under Windows 10/64-bit.
(A Windows 10 with 32 bit is unfortunately not available to me for testing)
But when testing it with Windows 7 (32 / 64 Bit, both the same effect) I get an error when calling the API-function
"connectDfuBootloader".
Code:
if ((usbConnectFlag = connectDfuBootloader(dfuList[0].usbIndex)) == 0)
...
The value in "usbConnectFlag" is then equal to "-5", which according to the API description "STM32CubeProgrammer_API.chm" means something like:
"Operation not supported or unimplemented on this interface".
When using the original GUI-programm of STM it works on Windows 7.
So the driver(s) should be OK. I hope so.
Is there any known problem/bug with Windows 7 and the API?
Or am I doing something wrong?
Please excuse me if I have not yet provided important information, but I am absolutely no expert in the embedded world ;)
Hardware:
Evaluationboard "NUCLEO F072RB"
# Update #
I have now put this question to support.
If I get a satisfactory answer there, I'll post it here.
