Windows 10 Driver for wio lite risc-v board

Received this response from Seeed studio today. Maybe solution is here. I’ll spend some time on it today.

Hi there,

Please check the user guide here

Thanks for your time and patience.
Regards

Jelly

Hi,
Using platform_packages = framework-arduino-gd32v @ https://github.com/sipeed/Longduino.git works just fine. The DFU issue is still a problem…with this, and with the GD32 add-ons for Arduino. If I find out more about it, I’ll post it.
Thanks
Dan

Just to revist this, finally the hardware arrived. With the provided GD32 MCU drivers and tools you can do get the USB device (when putting the BOOT0 switch to 1 and resetting the MCU):

Upload with PIO still fails…

AVAILABLE: altera-usb-blaster, dfu, gd-link, jlink, rv-link, serial, sipeed-rv-debugger, um232h
CURRENT: upload_protocol = dfu
dfu-util -d 28e9:0189 -a 0 --dfuse-address 0x08000000:leave -D "C:\Users\Maxi\Documents\PlatformIO\Projects\risv5_test\.pio\build\wio_lite_risc-v\firmware.bin"
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Cannot open DFU device 28e9:0189
No DFU capable USB device available

Upload with tool in GitHub - riscv-mcu/gd32-dfu-utils: Dfu-utils GD32 fork. fails with with the same message.

dfu-util -d 28e9:0189 -a 0 --dfuse-address 0x08000000:leave -D "C:\Users\Maxi\Documents\PlatformIO\Projects\risv5_test\.pio\build\wio_lite_risc-v\firmware.bin"
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Cannot open DFU device 28e9:0189
No DFU capable USB device available

Sadly the return value of the libusb call is not printed so no idea what the underlying real error is…

Upload with the vendor provided tool (https://gd32mcu.21ic.com/en/index, “GD32 MCU Dfu Tool”) does programm the firmware.bin produced by PIO succesfully.

So that’s the only way to upload it now until I figure out why their dfu-util.exe tool doesn’t work. Therefore, I’ve opened issue "Cannot open DFU device 28e9:0189" · Issue #2 · riscv-mcu/gd32-dfu-utils · GitHub.

1 Like

Hi! I was on the same page as you, and I was able to solve this issue by manually installing the WinUSB driver and by locally compiling the current version of dfu-util in the git dev branch. I have roughly documented the process here. Hope it helps!

Thanks for your response and the tips

1 Like