Thore-Krug/Flash-CHIP

Fel connects but data not transferring

scheckley opened this issue · 12 comments

Running the script on Debian Buster:

== Local/cached probe files located ==
== Staging for NAND probe ==
Image Name:   detect NAND
Created:      Sat Oct 26 19:58:32 2019
Image Type:   ARM Linux Script (uncompressed)
Data Size:    97 Bytes = 0.09 KiB = 0.00 MiB
Load Address: 00000000
Entry Point:  00000000
Contents:
   Image 0: 89 Bytes = 0.09 KiB = 0.00 MiB
waiting for fel....OK
usb_bulk_send() ERROR -7: Operation timed out

works ok on a Pi 3 running Jessie.

Did u run this on the same Pi ?

no - laptop running MX Linux 19 (Buster) and a separate Rpi3 running OSMC. Still searching to see if it's a local issue on the laptop.

ah ok, I will see if there's some kind of power saving on the usb port. otherwise, the only difference I can see is sunxi-tools is version 1.4.1 on the Pi and 1.4.2 on the laptop. I tried using a usb-c port on the laptop via an adapter and that gave the same -7 error, so possibly it's the OS rather than a malfunctioning socket, but I'll continue to investigate.

also investigating this linux-sunxi/sunxi-tools#100

could be related to sunxi-tools version in buster

can confirm that, having the same problem with debian buster, did a downgrade of sunxi-tools to 1.4.1-1 from debian stretch. Works like a charm.

I had the same issue, but using sunxi-tools 1.4.1-1 from stretch on ubuntu 19.10 did not solve it for me.
However I could get it to work by connecting an external power supply to the chip.

It's a Power related issue so yeah providing more power should fix it.

Would it be worth to add this as a hint to the readme? Seems like people seem to miss this as a relatively simple fix when running into this problem.

I will add it later

No worries I can quickly make a pr

I had the same problem, tried all sorts of different cables on an Ubuntu Eoan install with no luck. I had no idea how to downgrade sunxi tools to 1.4.1, so I went the long route, created a Debian Stretch Virtual machine and it worked first time with the same cables