USB vendor ID 0000 on Blue Pill

Marian Buschsieweke marian.buschsieweke at ovgu.de
Fri Apr 6 18:26:18 CEST 2018


Hi,

I tried to flash gnuk on my STM32F103 blue pill board, but the USB vendor ID
is detected as 0000.

Steps to reproduce:

1. Build:
  ./configure --vidpid=234b:0000 --target=BLUE_PILL && make

2. Connect Blue Pill via USB-TTL adapter:
  A9   <--> RX
  A10  <--> TX
  3.3V <--> 3.3 V
  GND  <--> GND

3. Flash
  - Set boot0 to 1, boot1 to 0, plug USB-TTL adapter in
  - stm32flash -w build/gnuk.bin -v -g 0x0 /dev/ttyUSB0

4. Remove cables and set boot0 to 0, boot1 to 0 and connect Blue Pill board to
   USB

Output of dmesg:

[26499.499164] usb 1-3.2: new full-speed USB device number 77 using xhci_hcd
[26499.605549] usb 1-3.2: New USB device found, idVendor=0000, idProduct=0000
                                                         ^^^^
                                                         Wrong vendor ID
[26499.605556] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[26499.605559] usb 1-3.2: Product: Gnuk Token
[26499.605562] usb 1-3.2: Manufacturer: Free Software Initiative of Japan
[26499.605565] usb 1-3.2: SerialNumber: FSIJ-1.2.9-43223327

Does anyone know what went wrong? Thanks for your help!

Kind regards,
Marian

PS: I'm using the Blue Pill clone:
http://wiki.stm32duino.com/index.php?title=RobotDyn_Black_Pill



More information about the Gnuk-users mailing list