Hello @sstaub
This seems to be related to MBED 6.6 and stlink/jlink issue, can you please check this solution ?
After editing your MBED framework, you may need to keep “reset” button pushed on your Nucleo before uploading the new program to get stlink upload protocol working (or switch to upload_protocol = mbed once before working with stlink again).