cancel
Showing results for 
Search instead for 
Did you mean: 

How do I write a FUS/RF Stack binary file using the STM32Programmer_API?

MNitt.1
Associate II

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Houda GHABRI
ST Employee

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

View solution in original post

2 REPLIES 2
Houda GHABRI
ST Employee

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

MNitt.1
Associate II

HI.

Thank you very much.

I'm sorry for the late reply.

I will immediately incorporate it and try it.