Skip to main content
Associate II
Apr 2, 2025 7:18 AM UTC
Question

Provisioning OptionByte Key data with the CubeProgrammer API

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

This topic has been closed for replies.

3 replies

Maryem
ST Employee
Apr 22, 2025 1:42 PM UTC

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
Apr 22, 2025 1:52 PM UTC

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
Nov 20, 2025 9:52 AM UTC

Hello Maryem,

Is there any update on this topic?