How to setup target password in STM32CubeIDE

Modifying the target password[edit]

When debugging the Cortex®-M in "production mode", a typo entering the target password implies to modify the target password registered by the STM32CubeIDE. Indeed, this prevents the user from debugging in "production mode".

This password can be updated with Remote Connections preferences menu: Window > Preferences > Remote Development.

Linux device password setup

Note that if "MPU SSH" is opened, it must be closed first to enable edit.