bigtreetech / bigtreetech/CB1

Cannot use sunxi-fel to connect to CB1 eMMC

Open
#137 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
496
Forks
86
PR merge metrics
No merged PRs in 30d

Description

**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?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by checking the downloaded sunxi-fel.exe and reproducing .\sunxi-fel.exe -v ver in PowerShell on Windows 10. Compare the executable with the CB1 and sunxi-fel requirements; done means the tool is recognized as a valid Windows application and can connect to the CB1 eMMC setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
embedded-iot, operating-systems, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.