STM32H5 RDP protection C code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-23 7:22 AM - edited ‎2024-09-23 7:23 AM
Hi,
Currently I can able to RDP protection ie., Product state using STM32CubeProgrammer and it is working.
But our requirement is we want to use Any HAL_driver /C-code instead of STM32Cube.
Any suggestion.
Solved! Go to Solution.
- Labels:
-
STM32H5 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-28 5:45 AM
Hello @gatadivijay ,
But STM32CubeProgrammer supports also J-LINK:
Did you try the same steps with this config?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-23 8:08 AM
RDP is a hardware setting, not a HAL-specific setting. You can use it with whatever code you want.
If you don't want to use STM32CubeProgrammer or HAL functions to set the RDP, see the option byte section of the reference manual for the register interface needed to set RDP in code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-23 8:25 AM
Hello @gatadivijay ,
The RDP is replaced by PRODUCT_STATE on STM32H5.
Please refer to this article : How to enable RDP-like product state flash protect... - STMicroelectronics Community
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-23 8:35 AM - edited ‎2024-09-23 8:35 AM
No I want to use HAL_Specific drivers.
If you have any sample code regarding Product State, Please can you attach related HAL Driver Functions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-28 5:10 AM
Thanks Imen.
But in our production set-up we are going to use Jlink.
Whatever you mentioned it is related to ST-Link.
Please can you explain how use PRODUCT_STATE when I use JLINK??
Please provide me Any script /code for this??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-28 5:45 AM
Hello @gatadivijay ,
But STM32CubeProgrammer supports also J-LINK:
Did you try the same steps with this config?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-28 5:49 AM
I can able to program with J-Link Flasher.
But Product State how can I implement on J-Link Flasher??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-28 8:11 AM
When I try this I got below issue. How can I resolve this.
