esp-rs / std-training

Embedded Rust on Espressif training material.

Home Page:https://esp-rs.github.io/std-training

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

xiaguangbo opened this issue · comments

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?

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

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.

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

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