New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 808903 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: May 2018
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

dfu-util: "Error: Failed to enter idle state on abort"

Project Member Reported by drinkcat@chromium.org, Feb 5 2018

Issue description

When doing repeated flashing of staff board over USB, using the scriptlet attached, dfu-util often fails with this error (or similar):

dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
DfuSe interface name: "Internal Flash  "
Downloading to address = 0x08000000, size = 131072
..............................................Error: Failed to enter idle state on abort

We are still using dfu-util 0.7, which dates back from 2014. There has been a number of upstream fixes since then, including some major refactoring. dfu-util 0.9 seems to work a bit more reliably, and I could reflash staff 16 times before this error occured:

Downloading to address = 0x08000000, size = 131072
^MDownload      [                         ]   0%            0 bytesdfu-util: dfuse_download: libusb_control_transfer returned -4

Let's uprev to dfu-util 0.9 to start with.
 
dfu-test
715 bytes View Download
Status: Fixed (was: Started)
Upreved 0.9, which may have other issues, but maybe not this one in particular.

Sign in to add a comment