Skip to main content
May 22, 2025
Solved

STM32H5 locking password

  • May 22, 2025
  • 1 reply
  • 432 views

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.)

Best answer by Peter BENSCH

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

1 reply

Peter BENSCH
Peter BENSCHBest answer
Technical Moderator
May 22, 2025

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