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

How to modify the configuration of SDK,such as the port port port rate #239

Closed
xiaguangbo opened this issue Mar 12, 2024 · 4 comments
Closed

Comments

@xiaguangbo
Copy link

xiaguangbo commented Mar 12, 2024

The port print rate for the ESP32C2 defaults to 74880 instead of the usual 115200. After Cargo Run downloads, it will be garbled when it starts printing, and the default frame rate of espflash monitor will also be garbled
There may be other things that need to be configured. What should I do?

@SergioGasquez
Copy link
Member

Which crystal clock frequency is your ESP32-C2? Which version of espflash are you using?

@xiaguangbo
Copy link
Author

xiaguangbo commented Mar 13, 2024

Which crystal clock frequency is your ESP32-C2? Which version of espflash are you using?

crystal 26M,espflash v3。26 / 40 = 74880 / 115200 = 0.65 ... I remember seeing it in the ESP Docs.

@xiaguangbo
Copy link
Author

Which crystal clock frequency is your ESP32-C2? Which version of espflash are you using?

crystal 26M,espflash v3。26 / 40 = 74880 / 115200 = 0.65 ... I remember seeing it in the ESP Docs.

Wrong, espflash before v2, just updated to v3, now the default state is not garbled! esp32c2 baud rate is still 74880, now the tool automatically adjusts the baud rate

@SergioGasquez
Copy link
Member

Yes, 26 MHz C2 support was added in espflash 3.0.0, closing the issue. Feel free to reopen if needed.

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

2 participants