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

[ESP32C3] [USB_SERIAL_JTAG] [stub] Error while connecting to device #546

Closed
TYPEmber opened this issue Jan 12, 2024 · 6 comments
Closed

Comments

@TYPEmber
Copy link

Same situation #352 with ESP32C3 on M1 Mac
espflash's version is 2.1.0

@SergioGasquez
Copy link
Member

Have you tried with current 3.0.0-dev version from main?

cargo install espflash --git https://github.com/esp-rs/espflash

@TYPEmber
Copy link
Author

No, but after clone & install esp-idf c sdk, this problem no longger occurs with same version(2.1.0) espflash.

@SergioGasquez
Copy link
Member

That is very weird, connecting errors should not depend on that, it should not be related to the app

@MabezDev
Copy link
Member

For completeness, does it work when passing the --no-stub option?

@TYPEmber
Copy link
Author

Yes, before I worked with esp-idf, I can flash esp32c3 with --no-stub.
Further more, after install esp-idf c sdk, without --no-stub still works well. Besides, in this situation, the elf file I flashed is generated directly by esp-idf c sdk.

@SergioGasquez
Copy link
Member

I'll close the issue as it seems to be resolved, feel free to reopen it in the future if it reappears.

@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants