Use hardware reset and connect under reset on boards with ST-LINK/V2, as