STM32_Programmer_CLI to program the PKH into the OTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-09-18 1:31 AM
Hi, All.
Program fuses values is a delicate task. I would like to confirm that it is possible to program PKH(Public Key Hash) using STM32_Programmer_CLI.
The PKH is stored in OTP WORD 24 to 31
For example: Set the value 0x9ffd3d2f into the word 24 (0x18) [pkh0]
STM32_Programmer_CLI -c port=usb1 -otp program wordID=0x18 value=0x9ffd3d2f
Is this right?
Is there a specific command to close the device from STM32_Programmer_CLI?
Thanks!
Solved! Go to Solution.
- Labels:
-
STM32CubeProgrammer
-
STM32MP15 Lines
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-09-21 8:00 AM
Hi @AVazquez​
First pay attention to the Topic/Community you post your question.
I understand you are working on STM32MP1, thus "STM32 MPUs" is the right topic to use.
Then yes you can write OTP with STM32CubeProgrammer and lock it afterward.
refer to
https://wiki.st.com/stm32mpu/wiki/STM32CubeProgrammer#How_to_fuse_STM32MP15x_OTP
Your suggested command looks correct, but pay attention to the procedure in order CubeProgrammer connect to U-boot to write OTP.
You can also use U-Boot as per details in this page with dedicated exemple for PKH :
https://wiki.st.com/stm32mpu/wiki/STM32MP15_secure_boot
Hope it help
Olivier
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
‎2020-09-21 8:00 AM
Hi @AVazquez​
First pay attention to the Topic/Community you post your question.
I understand you are working on STM32MP1, thus "STM32 MPUs" is the right topic to use.
Then yes you can write OTP with STM32CubeProgrammer and lock it afterward.
refer to
https://wiki.st.com/stm32mpu/wiki/STM32CubeProgrammer#How_to_fuse_STM32MP15x_OTP
Your suggested command looks correct, but pay attention to the procedure in order CubeProgrammer connect to U-boot to write OTP.
You can also use U-Boot as per details in this page with dedicated exemple for PKH :
https://wiki.st.com/stm32mpu/wiki/STM32MP15_secure_boot
Hope it help
Olivier
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
‎2020-09-21 11:06 PM
Hi @Community member​
That's all I needed to know.
Thank you very much!
Best regards
Alex
