Provisioning OptionByte Key data with the CubeProgrammer API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-02 12:18 AM
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
- Labels:
-
STM32CubeProgrammer
-
STM32H5 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-22 6:42 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-22 6:52 AM
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
