Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggested PowerShell Installation fails #53

Open
ivancmz opened this issue Jun 14, 2024 · 3 comments
Open

Suggested PowerShell Installation fails #53

ivancmz opened this issue Jun 14, 2024 · 3 comments

Comments

@ivancmz
Copy link

ivancmz commented Jun 14, 2024

Hi, on the readme.md there's a suggested way of installing on PowerShell:

Invoke-WebRequest 'https://dl.espressif.com/dl/idf-env/idf-env.exe' -OutFile .\idf-env.exe; .\idf-env.exe driver install --espressif --ftdi --silabs --wch

But I get the following output:

thread 'main' panicked at 'internal error: entered unreachable code: Bad help structure (doesn't match with path)', C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\clap-nested-0.4.0\src\lib.rs:343:25
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

The file gets downloaded, I can use it. What I believe is failling is the drivers installation.

@ivancmz
Copy link
Author

ivancmz commented Jun 14, 2024

Yes, when I try only this after the file is downloaded it also fails:

.\idf-env.exe driver install --espressif --ftdi --silabs --wch
thread 'main' panicked at 'internal error: entered unreachable code: Bad help structure (doesn't match with path)', C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\clap-nested-0.4.0\src\lib.rs:343:25
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

I also tried on an elevated powershell (administrator) tab.

@ivancmz
Copy link
Author

ivancmz commented Jun 14, 2024

It works when I remove --wch option!

@ShawnHymel
Copy link

Thanks for the heads up! It looks like the README is out of date. I got it to work by using the command on this doc page: https://docs.espressif.com/projects/esp-idf/en/stable/esp32s3/api-guides/jtag-debugging/configure-builtin-jtag.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants