1. Open Hardware | CPU Options | Reset.
2. Add a custom EVE script Connect To SoC Using TnDCM Reset to Initialization before Programming | Connect.
3. Check the Same as Programming in Initialization before Debug Session section.
4. Edit the script parameters via the arrow button.
If HOST debug protection is selected HOST password is written. If HSM debug protection is selected HSM password is written. If both protection is selected both passwords are written.
SR6P7/G7 devices have a HOST password only.