Skip to main content
Associate II
April 2, 2025
Question

Provisioning OptionByte Key data with the CubeProgrammer API

  • April 2, 2025
  • 2 replies
  • 436 views

Hi,

I'm looking into creating a custom tool to provision our STM32H533 boards which will allow a non-trusted 3rd party to flash the firmware, configure the Option Bytes and program secret keys into the OptionByte Key storage areas.

I cannot see any way to program the OB Key data via the API.  Is it possible?

For reference, the CLI parameter would be -sdp secret_key_file.obk

Thanks in advance.

Michael Waites

2 replies

Maryem
Technical Moderator
April 22, 2025

Hello @MichaelWaites ,

 

Apologies for the delayed response.

 

Unfortunately, at this time, the provisioning of OB Key data is not supported by the STM32CubeProgrammer API.

I have forwarded your request to the concerned team.

Internal ticket number: 208305 (This is an internal tracking number and is not accessible or usable by customers)

I will keep you updated on any progress regarding this feature.

 

Maryem.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Associate II
April 22, 2025

Hi Maryem,

Thanks for responding and raising a ticket.  I've got my fingers crossed that the internal team considers this a worthwhile addition!

Best regards,

Michael

Associate
November 20, 2025

Hello Maryem,

Is there any update on this topic?