<div dir="ltr">That's absolutely true. I've had better luck; I've never gotten a 64K chip (even though they all report 64K).<div><br></div><div>There is a <a href="https://github.com/cabo/stlink">fork of the stlink tool</a> that is modified to assume that the chip is 128K regardless of what it reports. If you use standard stlink or openocd, you might believe the error messages and conclude the chip is insufficient. It's also possible to be fooled that something's wrong if the readout protection is enabled, which it often is on stlink boards. My notes to myself about how to use the modified stlink tool are <a href="https://gist.github.com/sowbug/7595b3a98ace434bfb5de3f62126ac74">here</a>. The C8T6HACK=1 part is the important part.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 22, 2020 at 7:51 PM Vagrant Cascadian <<a href="mailto:vagrant@debian.org">vagrant@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2020-10-22, Louis-Philippe Véronneau wrote:<br>
> On 2020-10-22 20 h 17, Mike Tsao wrote:<br>
>> or just buy a $2 ST-Link clone like this<br>
>> <<a href="https://www.aliexpress.com/item/32719963657.html" rel="noreferrer" target="_blank">https://www.aliexpress.com/item/32719963657.html</a>> and flash it to gnuk<br>
>> like this <<a href="https://nx3d.org/gnuk-st-link-v2/" rel="noreferrer" target="_blank">https://nx3d.org/gnuk-st-link-v2/</a>>.<br>
><br>
> Thanks for the link, that's helpful!<br>
<br>
At one point I attempted this, but apparently ordered clones with<br>
insufficient flash capacity... many do not advertise exactly how much<br>
flash is included, and I've heard of some people ordering from the same<br>
vendor getting a variable amount of flash with each device, even in a<br>
single order with multiple devices. So you might need to try a few<br>
orders... before you luck out.<br>
<br>
Some freinds were going to attempt to upgrade the flash on some of my<br>
devices by ordering a flash with sufficient capacity and desoldering the<br>
old one, but never got around to it.<br>
<br>
So, in short, good luck! :)<br>
<br>
<br>
live well,<br>
  vagrant<br>
_______________________________________________<br>
Gnuk-users mailing list<br>
<a href="mailto:Gnuk-users@gnupg.org" target="_blank">Gnuk-users@gnupg.org</a><br>
<a href="https://lists.gnupg.org/mailman/listinfo/gnuk-users" rel="noreferrer" target="_blank">https://lists.gnupg.org/mailman/listinfo/gnuk-users</a></blockquote></div>