<div dir="ltr"><div dir="ltr">Hello,<br><br>I saw that there was a similar thread here before, but I still can't<br>understand what am I doing wrong.<br>The versions are:<br>gnuk: 177ef67edfa2306c2a369a037362385c354083e1 (release/1.2.14)<br>chopstx: aeea3c31f8dab3e5920e4c35f6199b519f928c79 (release/1.14)<br><br>I run Ubuntu 18.04, so I used the toolchain from here: <a href="https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads">https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads</a><br>I compiled gnuk with these commands:<br>./configure --vidpid=234b:0000 --target=ST_DONGLE<br>make CROSS=/home/ardavast/Downloads/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi- build/gnuk-vidpid.bin<br><br>I flashed an ST-LINK/V2 device with OpenOCD:<br>reset halt<br>stm32f1x unlock 0<br>reset halt<br>stm32f1x mass_erase 0<br>flash write_bank 0 /home/ardavast/src/gnuk-orig/src/build/gnuk-vidpid.bin 0<br>stm32f1x lock 0<br>reset halt<br><br>After plugging the device, I get the following:<br>dmesg:<br>[ 8192.537428] usb 3-3: new full-speed USB device number 45 using xhci_hcd<br>[ 8192.686923] usb 3-3: New USB device found, idVendor=0000, idProduct=0000<br>[ 8192.686928] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3<br>[ 8192.686931] usb 3-3: Product: Gnuk Token<br>[ 8192.686934] usb 3-3: Manufacturer: Free Software Initiative of Japan<br>[ 8192.686937] usb 3-3: SerialNumber: FSIJ-1.2.14-67023331<br><br>usb-devices:<br>T:  Bus=03 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 45 Spd=12  MxCh= 0<br>D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1<br>P:  Vendor=0000 ProdID=0000 Rev=00.00<br>S:  Manufacturer=Free Software Initiative of Japan<br>S:  Product=Gnuk Token<br>S:  SerialNumber=FSIJ-1.2.14-67023331<br>C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA<br>I:  If#= 0 Alt= 0 #EPs= 3 Cls=0b(scard) Sub=00 Prot=00 Driver=(none)<br></div></div>