How to setup target password in STM32CubeIDE

Applicable for STM32MP13x lines, STM32MP15x lines

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.