<p dir="ltr">On 11 Oct 2016 16:33, "Remy van Elst" <<a href="mailto:relst@relst.nl">relst@relst.nl</a>> wrote:<br>
><br>
> Small update, <br>
><br>
> I fried one Nitrokey when trying to solder on the ST Link headers. Bummer.<br>
><br>
> I hot-air desoldered an USB header from an old motherboard in the e-waste bin and used the standard USB pinout, which suprisingly, worked. (<a href="https://i.imgur.com/PQ7QG2B.png">https://i.imgur.com/PQ7QG2B.png</a>).<br>
><br>
> The stm32flash tool was unable to remove the flash protection:<br>
><br>
>     $ sudo stm32flash -u  /dev/ttyUSB0 <br>
>     stm32flash 0.5</p>
<p dir="ltr">stm32flash should work but you want the -k flag, -u is for removing write protection not read protection. Don't forget to use -j to read-protect it again after you're done flashing if you intend to put real keys on there.</p>