Comments (19)
Hey! I have tried changing cables and ports on my computer. But I still get "usb_bulk_send () ERROR -7: Operation timed out".
My sunxi-tools version (1.4.2 + git20181114.6d598a-3).
I can't find 4.1.1-1 that is mentioned above.
I am on Debian Stable 10 Buster :)I cannot find that version either and I am on the same version of sunxi-tools
I'm on Ubuntu 20.04 LTS
does this work? https://debian.pkgs.org/9/debian-main-amd64/sunxi-tools_1.4.1-1_amd64.deb.html
from flash-chip.
same issue, downgraded with a deb and comment out the package in the script to stop it updating again until i was done flashing my chip, happy to have it back working again!
from flash-chip.
I confirm the fix.
from flash-chip.
Additional information, outputs from dmesg and lsusb:
from flash-chip.
Also I had a scope on the 5V going to the CHIP (CHG-IN) and it is perfectly stable during the operation.
from flash-chip.
I'm having the same problem, also checked the voltage, and tried from different computers
The problem happens when running
from Ubuntu VM on Windows 10 Host and running
from a raspberry Pi 4
from ChromeOS laptop
from flash-chip.
I saw this post from a little while ago:
"Error -7 is a libusb problem which is mostly caused by bad cable"
But as I posted earlier, I did check the voltage on the CHIP with an oscilloscope and it is stable (I use an external 2A lab supply to power the CHIP). The R-Pi is powered from a 2A USB supply (which I bought from Adafruit with my first R-Pi). I communicate with the R-Pi via ssh, there is no direct connection to the PC.
The USB cable is the one that came with one of my Motorola phones and they are quite good.
from flash-chip.
I see this problem too.
from flash-chip.
It's not necessarily the cable. Check your version of sunxi-tools. I encountered this problem with Debian 10 which has the current stable sunxi-tools version 4.1.2. I rolled back to version 4.1.1-1 and the script then worked for my pocketchip (don't forget to comment out sunxi-tools from the apt install line in the script).
from flash-chip.
Rolling back to sunxi-tools fixed my "usb_bulk_send() ERROR -7: Operation timed out" issue as well.
from flash-chip.
This should now be fixed, the script installs an older version of sunxi-tools, it was tested on ubuntu but don't know if it works on debian though it should.
from flash-chip.
Hey! I have tried changing cables and ports on my computer. But I still get "usb_bulk_send () ERROR -7: Operation timed out".
My sunxi-tools version (1.4.2 + git20181114.6d598a-3).
I can't find 4.1.1-1 that is mentioned above.
I am on Debian Stable 10 Buster :)
from flash-chip.
Hey! I have tried changing cables and ports on my computer. But I still get "usb_bulk_send () ERROR -7: Operation timed out".
My sunxi-tools version (1.4.2 + git20181114.6d598a-3).
I can't find 4.1.1-1 that is mentioned above.
I am on Debian Stable 10 Buster :)
I cannot find that version either and I am on the same version of sunxi-tools
I'm on Ubuntu 20.04 LTS
from flash-chip.
Hey! I have tried changing cables and ports on my computer. But I still get "usb_bulk_send () ERROR -7: Operation timed out".
My sunxi-tools version (1.4.2 + git20181114.6d598a-3).
I can't find 4.1.1-1 that is mentioned above.
I am on Debian Stable 10 Buster :)I cannot find that version either and I am on the same version of sunxi-tools
I'm on Ubuntu 20.04 LTSdoes this work? https://debian.pkgs.org/9/debian-main-amd64/sunxi-tools_1.4.1-1_amd64.deb.html
This fixes it for me on Debian 10 (Raspberry PI4)
from flash-chip.
Confirming sunxi-tools downgrade fix.
from flash-chip.
I had the same problem using a RPI4, installed the sunxi tool with no avail.
Reading the oficial Next Thing documentation it says:
"If you are using a computer with USB3 ports, itβs suggested that you attach a USB2-compliant hub and connect your CHIP to the hub, instead of directly to the USB3 port."
So I switched from the usb3 port to the usb2 port of my RPi4 and it worked perfectly fine.
from flash-chip.
Here is how you downgrade sunxi-tools on newer versions of Ubuntu based distros.
- Append
deb http://de.archive.ubuntu.com/ubuntu/ bionic main universe
to/etc/apt/sources.list
- Do
sudo apt update
- Install the package:
sudo apt install sunxi-tools=1.4.1-1
- Mark hold to prevent upgrade:
apt-mark hold sunxi-tools
- To prevent any other complications Remove
deb http://de.archive.ubuntu.com/ubuntu/ bionic main universe
from/etc/apt/sources.list
Then you can flash.
from flash-chip.
Here is how you can downgrade sunxi-tools on Debian
- Add a source that has the older version of sunxi-tools:
nano /etc/apt/sources.list
and appenddeb http://deb.debian.org/debian/ stretch main
- Update apt's cache:
sudo apt update
- Install the package:
sudo apt install sunxi-tools=1.4.1-1
- Mark hold to prevent it from being upgraded:
apt-mark hold sunxi-tools
- To avoid complications you can remove
stretch main
from the sources.list again
from flash-chip.
Hey! I have tried changing cables and ports on my computer. But I still get "usb_bulk_send () ERROR -7: Operation timed out".
My sunxi-tools version (1.4.2 + git20181114.6d598a-3).
I can't find 4.1.1-1 that is mentioned above.
I am on Debian Stable 10 Buster :)I cannot find that version either and I am on the same version of sunxi-tools
I'm on Ubuntu 20.04 LTSdoes this work? https://debian.pkgs.org/9/debian-main-amd64/sunxi-tools_1.4.1-1_amd64.deb.html
Downloading this deb file, and downgrading fixed the issue, but you must comment out the flash.sh script's apt install of the tools, as this will re-upgrade the package you just downgraded.
Running Flash.sh with the sunxi-tools 1.4.1-1 solved the issue for me!
from flash-chip.
Related Issues (20)
- Error: Unable to locate sunxi-fel utility HOT 3
- Unable to locate sunxi-fel utility-cannot download HOT 3
- Invaid command spl HOT 1
- Not working on latest OSX HOT 3
- Strange error while attempting flash HOT 1
- Flashing CHIP on Raspberry Pi - usb_bulk_send() ERROR -7 HOT 3
- I tried several USB cables on various Pi's and a VM virtualbox (Debian) on Windows 10. HOT 1
- Fel connects but data not transferring HOT 12
- 2019_November, both my old way and this new way fail HOT 2
- Working on Ubuntu1804 not on 1604
- Flashing error: UBI data write failure (Bad address) HOT 2
- Flashing error HOT 1
- Flashing Headless Servermode No Wlan HOT 1
- No good in the latest ubuntu HOT 4
- Fedora and issues while flashing HOT 3
- Issue with DOS/Unix line ending incompatibilities
- Which version of linux to use HOT 1
- Fel problem (ubuntu) HOT 21
- Error 7 HOT 13
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 flash-chip.