Skip to main content
Visitor II
March 19, 2025
Question

JTAG Locking mechanism using optional bytes

  • March 19, 2025
  • 1 reply
  • 535 views

Hi ST team,

We are using STM32H573VI controller for our product development, here we are facing an issue to develop JTAG locking mechanism, As we gone through reference manual of STM32H5 controller, we observed that in FLASH_OPTSR_PRG register contains the PRODUCT STATE, in which at first we made PRODUCT STATE to 0x17 as provisioning state later we made  PRODUCT STATE to 0x5C as locking state. after implementing these we are not able to lock the JTAG. Please share any reference code to lock the JTAG or apart from this we need to configure any other FLASH OB register to make JTAG to be locked.

Kindly let us know as early as possible.

1 reply

Technical Moderator
March 28, 2025

Hi @Harshavardhanv566 

Can you refer to the following article :

How to enable RDP-like product state flash protect... - STMicroelectronics Community

Best Regards