ST-LINK/V2 SWD Incorrect Connection Protection
Hi there,
I'm designing a very compact PCB. For the debug header I'm using 4-wire SWD with a 2x2 header on the board (specifically CLP-102-02-L-D). There's no keying or polarisation meaning that the programming lead could be plugged in in four different orientations, potentially connecting MCU VDD/GND from the ST-LINK to any of the pins on the board. Hopefully this image illustrates the (potential) problem:
I haven't been able to find if there is any concern with connecting incorrect pins together. I know MCU VDD is a measured voltage, my only concern would be connecting GND from the ST-LINK to +3V£ on the board side; could this cause a short or is this all protected on the ST-LINK side? I have struggled to find a header that is small enough with some kind of keying to prevent invalid connections, but if there is a real possibility of damage to the board I will need to rethink this!
Thank you for your help.
