<div dir="ltr">I did try to flash NeuG to the device, but that resulted in a blinking green LED and nothing else. Here's the command for reference:<br><br>    sudo stm32flash -w ../../neug/src/build/neug.bin -g 0x0 /dev/ttyUSB0 <br><br>Output:<br><br>    stm32flash 0.5<br><br>    <a href="http://stm32flash.sourceforge.net/">http://stm32flash.sourceforge.net/</a><br><br>    Using Parser : Raw BINARY<br>    Interface serial_posix: 57600 8E1<br>    Version      : 0x22<br>    Option 1     : 0x00<br>    Option 2     : 0x00<br>    Device ID    : 0x0410 (STM32F10xxx Medium-density)<br>    - RAM        : 20KiB  (512b reserved by bootloader)<br>    - Flash      : 128KiB (size first sector: 4x1024)<br>    - Option RAM : 16b<br>    - System RAM : 2KiB<br>    Write to memory<br>    Erasing memory<br>    Wrote address 0x08005c24 (100.00%) Done.<br><br>    Starting execution at address 0x08000000... done.<br><br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><br><br><a href="https://raymii.org" target="_blank">https://raymii.org</a><br></div></div>
<br><div class="gmail_quote">On Wed, Oct 12, 2016 at 8:07 PM, Remy van Elst <span dir="ltr"><<a href="mailto:relst@relst.nl" target="_blank">relst@relst.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Aidan,<br><br></div>That flag seems to work, thanks! I did update the article for reference.<br></div><div class="gmail_extra"><br clear="all"><div><div class="m_-4952933318188357059gmail_signature" data-smartmail="gmail_signature"><br><br><a href="https://raymii.org" target="_blank">https://raymii.org</a><br></div></div>
<br><div class="gmail_quote"><div><div class="h5">On Wed, Oct 12, 2016 at 2:18 AM, Aidan Thornton <span dir="ltr"><<a href="mailto:makosoft@gmail.com" target="_blank">makosoft@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><span><p dir="ltr">On 11 Oct 2016 16:33, "Remy van Elst" <<a href="mailto:relst@relst.nl" target="_blank">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" target="_blank">https://i.imgur.com/PQ7QG2B.p<wbr>ng</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>
</span><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>
<br></div></div><span class="">______________________________<wbr>_________________<br>
gnuk-users mailing list<br>
<a href="mailto:gnuk-users@lists.alioth.debian.org" target="_blank">gnuk-users@lists.alioth.debian<wbr>.org</a><br>
<a href="https://lists.alioth.debian.org/mailman/listinfo/gnuk-users" rel="noreferrer" target="_blank">https://lists.alioth.debian.or<wbr>g/mailman/listinfo/gnuk-users</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div>