Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dfu-util Error: 74 -- please update dfu-util #30

Open
mash-graz opened this issue Feb 13, 2021 · 3 comments
Open

dfu-util Error: 74 -- please update dfu-util #30

mash-graz opened this issue Feb 13, 2021 · 3 comments
Assignees

Comments

@mash-graz
Copy link

if i use the dfu-util included in your tools-dfuutil packages for uploads i get the well known error 74:

CURRENT: upload_protocol = dfu
Uploading .pio/build/sipeed-longan-nano/firmware.bin
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2020 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
DfuSe interface name: "Internal Flash  "
Found GD32VF103, which reports a bad page size and count for its internal memory.
Fixed layout based on part number: page size 1024, count 128.
Downloading to address = 0x08000000, size = 8264

Erase   	[                         ]   0%            0 bytes
Erase   	[======                   ]  24%         2048 bytes
Erase   	[============             ]  49%         4096 bytes
Erase   	[==================       ]  74%         6144 bytes
Erase   	[======================== ]  99%         8192 bytes
Download	[                         ]   0%            0 bytes
Download	[======                   ]  24%         2048 bytes
Download	[============             ]  49%         4096 bytes
Download	[==================       ]  74%         6144 bytes
Download	[======================== ]  99%         8192 bytes
Download	[=========================] 100%         8264 bytes
Download done.
File downloaded successfully
dfu-util: Error during download get_status
*** [upload] Error 74
=============================  [FAILED] Took 1.89 seconds ====================================

this well known error is already fixed in more recent upstream releases of dfu-util.

it would be very helpful, if you could replace the binaries in the tools-dfuutil by one of this fixed versions.

@maxgerhardt
Copy link

maxgerhardt commented Mar 29, 2021

The outdated version was also reported in https://community.platformio.org/t/sipeed-longan-nano-on-linux-mint-20-1/20307.

Can a new version please be uploaded? 😄

@retiredfeline
Copy link

I also encountered this problem, please fix. I got dfu-util version 0.11 from my Linux distro's repositories. Since updating the gd32v platform insists on installing the old dfu-util package, I worked around this by renaming bin/dfu-util out of the way and then making a symlink to /usr/bin/dfu-util, the latest version.

@gsauthof
Copy link

gsauthof commented Jan 2, 2022

Duplicate of #17 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants