Comments (7)
I have the same problem in Ubuntu and solve it by add file /etc/udev/rules.d/70-ttyusb.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="28e9", ATTRS{idProduct}=="0189", MODE="0666"
SUBSYSTEM=="usb_device", ATTRS{idVendor}=="28e9", ATTRS{idProduct}=="0189", MODE="0666"
then replug usb
from gd32-dfu-utils.
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!
from gd32-dfu-utils.
I am experiencing the same thing. I cant load the libusb drivers in Zadig either. Did you find a solution in the meantime?
from gd32-dfu-utils.
Hm I tried using libusb-win32-bin-1.2.6.0.zip from https://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/ to install a libusb-win32 filter for the USB device. It said it could install the filter successfully but then the device fails to re-enumerate and is shown as "Unknown USB device (requesting device descriptor failed)"
So I'm still at a loss on how to properly install a libusb filter for the device. I'd like to try this method
https://www.smallcab.net/download/programme/xm-07/how-to-install-libusb-driver.pdf
But the inf-wizard.exe
just crashes for after being executed..
from gd32-dfu-utils.
Whoa I have no idea what I did but I used the the above libusb-win32 filter and pressed the reset button shortly after the installer wants to reset the device, and after that I still have the same device in the device manager, but dfu-util
now says
C:\Users\Maxi\Desktop\Neuer Ordner>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/
Opening DFU capable USB device...
ID 28e9:0189
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
GD32 flash memory access detected
Device model: GD32VF103CB
Memory segment (0x08000000 - 0801ffff)(rew)
Erase size 1024, page count 128
Downloading to address = 0x08000000, size = 11084
Download [=========================] 100% 11084 bytes
Download done.
File downloaded successfully
Error sending dfu abort request
But exiting the DFU mode fails and also the new firmware doesn't seem to be running (still the one from the last really succesful upload). So it's still a fail.
from gd32-dfu-utils.
Same issues as above, I tried to follow the above instructions, I got lost in installation of the winUSB part ...
Pls help ...
from gd32-dfu-utils.
@jribesgo Thanks! Followed your process recompiling and replacing the dfu-util by PlatformIO, I'm now able to use the VSCode IDE to build and upload. I still get "Error during download get_status" but the code seems to run fine.
from gd32-dfu-utils.
Related Issues (9)
- proper history would be appreciated
- Linux usb
- Poll timeout
- dfu-util: Error during download get_status with Longan Nano HOT 4
- GD32VF103 variant not supported HOT 1
- When I run ./configure, error : syntax error near unexpected token `USB,' HOT 2
- Please upstream these quirk fixes HOT 2
- gb32-dfu-utils 的源码修改能否 PR 到 dfu-utils 官方仓库吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gd32-dfu-utils.