CB1 icon indicating copy to clipboard operation
CB1 copied to clipboard

Cannot use sunxi-fel to connect to CB1 eMMC

Open vader7071 opened this issue 2 years ago • 5 comments

Setup:

  • Windows 10
  • CB1 eMMC v1.1
  • Downloaded sunxi-fel.exe on 19 Aug 2023 from this GitHub (along with all other necessary files).

Issue: I connect my BigTreeTech CB1 via my BigTreeTech PI4B adapter to my computer via USB cable. Jumpers are set as per instructions. I run Zadig and find the "unknown device" (yes, the USB ID matches) and click "Install Driver". Zadig completes.

Next I go to Powershell and run the command .\sunxi-fel.exe -v ver and I get the following error:

Program 'sunxi-fel.exe' failed to run: The specified executable is not a valid application for this OS platform.At
line:1 char:1
+ .\sunxi-fel.exe -v ver
+ ~~~~~~~~~~~~~~~~~~~~~~.
At line:1 char:1
+ .\sunxi-fel.exe -v ver
+ ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
    + FullyQualifiedErrorId : NativeCommandFailed

Am I downloading the wrong file?

vader7071 avatar Aug 21 '23 12:08 vader7071

I am still having this issue.

vader7071 avatar Sep 20 '23 19:09 vader7071

I could run this pgm. Maybe you have not the correct version. But running this pgm it ends successfully. The verify says the new driver is installed correctly. But windows still says “unknown device #1” !

GePo00 avatar Sep 24 '23 14:09 GePo00

Setup:

  • Windows 10
  • CB1 eMMC v1.1
  • Downloaded sunxi-fel.exe on 19 Aug 2023 from this GitHub (along with all other necessary files).

Issue: I connect my BigTreeTech CB1 via my BigTreeTech PI4B adapter to my computer via USB cable. Jumpers are set as per instructions. I run Zadig and find the "unknown device" (yes, the USB ID matches) and click "Install Driver". Zadig completes.

Next I go to Powershell and run the command .\sunxi-fel.exe -v ver and I get the following error:

Program 'sunxi-fel.exe' failed to run: The specified executable is not a valid application for this OS platform.At
line:1 char:1
+ .\sunxi-fel.exe -v ver
+ ~~~~~~~~~~~~~~~~~~~~~~.
At line:1 char:1
+ .\sunxi-fel.exe -v ver
+ ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
    + FullyQualifiedErrorId : NativeCommandFailed

Am I downloading the wrong file?

Have you run the command in the correct folder ?

NaMoUrGCh avatar Sep 29 '23 15:09 NaMoUrGCh

@GePo00 The ZaDig program works fine (the USB driver program). The issue I am having is with sunxi-fel program to write the uboot.

@NaMoUrGCh yes, I have tried running sunxi-fel from multiple directories, thinking I might not have been in the correct folder. I even went as far as to specify the exact location of sunxi-fel when I executed the command via PowerShell. To try and ensure this wasn't the issue, I created a folder on my C drive labeled "c:\cb1" and tried running everything from that location to ensure I had my path as simple and direct as possible. Still did not work.

vader7071 avatar Sep 29 '23 19:09 vader7071

Same issue here :(

I got it working, but there is still no device found.

MrG1981 avatar Mar 28 '24 10:03 MrG1981