Recently, I accidentally put the wrong firmware on a Somu, thereby bricking it.
In order to unbrick it, it is necessary to link it with a STLink.
See the following schema to have the correct pinout (taken from here).

Don’t forget it may be mirrored from what you are seeing. Use the the clues and asymmetries in order to figure out which pin is which.
The following correspondance must be made: