Skip to main content
May 22, 2025 11:39 AM UTC
Solved

STM32H5 locking password

Hi

We are developing a product that uses an STM32 microcontroller. In the microcontroller’s firmware, we have implemented a password that the user must enter at startup. If the user forgets the password, how will the program run? (Note: No software or hardware fallback has been implemented for this issue, and the source code is not accessible.)

This topic has been closed for replies.
Peter BENSCH
Peter BENSCHBest answer
ST Technical Moderator
May 22, 2025 12:12 PM UTC

Well - the aim of passwords is to grant access only if the password is known.

A forgotten password is like a lost house key - you have to break the lock and install a new one. With the STM32H5, this is the same as completely erasing and reprogramming it. Anything else would not be good enough security, would it?

Regards
/Peter

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.

1 reply

Peter BENSCH
Peter BENSCHBest answer
ST Technical Moderator
May 22, 2025 12:12 PM UTC

Well - the aim of passwords is to grant access only if the password is known.

A forgotten password is like a lost house key - you have to break the lock and install a new one. With the STM32H5, this is the same as completely erasing and reprogramming it. Anything else would not be good enough security, would it?

Regards
/Peter

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.