-
Notifications
You must be signed in to change notification settings - Fork 128
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
ESP32-C2 26MHz logs don't work properly #526
Comments
I don't have a 26mhz board, but to be sure, you're passing the |
Yes, I used the |
I can confirm it's not working by just using the feature However, connecting with a serialmonitor setting baud rate to 74880 ( 115200 * 26 / 40 ) gets me something So I assume you just need to flash the right bootloader and things should be fine (since then the bootloader should set 115200 bauds correctly) |
I have the same problem with my Sparkfun ESP32 Thing with a 26Mhz crystal. I compiled the project with the I flashed with Finally if I connect the monitor with
I have no idea how to flash a bootloader, I was under the impression that espflash would do it for me. |
Id suggest building a bootloader in a esp-idf project and using it,see https://esp-rs.github.io/book/troubleshooting/espflash.html#rtc_clk_init-possibly-invalid-config_xtal_freq-setting. I don't have a 26 MHz board but I can elaborate more on Monday if needed. |
Thanks @SergioGasquez , I had not found that resource in the book. Unfortunately, I have no I based my test on https://github.com/esp-rs/esp-template Using EDIT: I didn't read your post carefully. You suggest using an empty project with the https://github.com/esp-rs/esp-idf-template template to load up a bootloader, and then forget about it? |
I'm trying to compile the project generated by But I don't see any install script. I used EDIT: deleting the |
we are currently revisiting how the bootloader is exposed in esp-idf-sys. This is already done on gh but not released. Currently you can find the bootloader in the build artifacts of esp-idf-sys. It might look like the following inside your target dir |
Cool thanks, so I am now able to build and flash my project by specifying the bootloader that was built in the idf template project. Note that if I run just |
Since this issue has appeared a few times, we could try to include a 26 MHz bootloader for ESP32 and ESP32-C2 and use it if we detect a 26 MHZ freq when flashing |
Log from `embassy_hello_world"
The text was updated successfully, but these errors were encountered: