Skip to main content
MNitt.1
Associate III
December 9, 2020
Solved

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

  • December 9, 2020
  • 2 replies
  • 1026 views

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?

This topic has been closed for replies.
Best answer by Houda GHABRI

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

2 replies

Houda GHABRI
Houda GHABRIBest answer
ST Employee
December 24, 2020

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
MNitt.1Author
Associate III
January 6, 2021

HI.

Thank you very much.

I'm sorry for the late reply.

I will immediately incorporate it and try it.