STM32H573 Secure Manager – Change PRODUCT_STATE from TZ-CLOSED to CLOSED at runtime without SWD/JTAG
Hi everbody,
we are using an STM32H573 with ST Secure Manager and would like to perform the final Product State transition from TZ-CLOSED to CLOSED at the end of production.
At this point, the device is already assembled and SWD/JTAG is no longer accessible. Therefore, we would like to trigger the transition through an authenticated internal command from the Non-Secure application.
From the documentation, we understand that:
PRODUCT_STATEis controlled via Flash Option Bytes.- The Non-Secure application cannot directly modify the relevant Secure Flash registers.
- We could not find a documented Secure Manager runtime API for changing the Product State.
Could you please clarify:
- Is there an existing Secure Manager API to perform
TZ-CLOSED → CLOSEDat runtime without SWD/JTAG? - If not, can this be implemented via an OEM Secure Module?
- Is an OEM Secure Module allowed to modify the
PRODUCT_STATEOption Byte?
Thanks and best regards
Mario
