2020-12-08 11:09 PM
A Windows application that writes multiple binary files at once because you have to write multiple binary files to STM32WB at once. Is developing. I can write a binary file to FLASH using CubeProgrammer_API, I can't find a function in CubeProgrammer_API to write a binary file for FUS/RF Stack. Is there another API? Can you tell me if there is one? Also, if you have sample code, could you please tell me?
Solved! Go to Solution.
2020-12-24 08:00 AM
Hi MNitt.1,
Thanks for rising this point.
Indeed FUS/Stack Upgrade functionalities are already available in STM32CubeProgrammer API (DLL) and Unfortunately not yet exposed in API header file.
Please find attached the API extension where you can find functionalities needed for stack/fus upgrade :
int firmwareDelete();
int firmwareUpgrade(const wchar_t* filePath, unsigned int address, unsigned int firstInstall, unsigned int startStack, unsigned int verify);
int startWirelessStack();
If your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Houda
2020-12-24 08:00 AM
Hi MNitt.1,
Thanks for rising this point.
Indeed FUS/Stack Upgrade functionalities are already available in STM32CubeProgrammer API (DLL) and Unfortunately not yet exposed in API header file.
Please find attached the API extension where you can find functionalities needed for stack/fus upgrade :
int firmwareDelete();
int firmwareUpgrade(const wchar_t* filePath, unsigned int address, unsigned int firstInstall, unsigned int startStack, unsigned int verify);
int startWirelessStack();
If your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Houda
2021-01-06 03:37 AM
HI.
Thank you very much.
I'm sorry for the late reply.
I will immediately incorporate it and try it.