Skip to content

2.0.0-rc.3 fails to monitor with esp32 and CONFIG_XTAL_FREQ=26 #410

Closed
@rodrigorc

Description

Hello.

I have an esp32 with an XTAL at 26 MHz. I have a fresh "hello-world" template, and with espflash 1.7.0 it works flawlessly out of the box, both the flash and the serial monitor.

Then I updated to 2.0.0-rc.3. If now I run the "monitor" command without re-flashing (that is with the chip flashed by 1.7.0) then it works fine.

But if I re-flash with 2.0.0-rc.3, then the "monitor" command prints:

 (63) rtc_clk_init: Possibly invalid CONFIG_XTAL_FREQ setting (40MHz). Detected 26 MHz.

And then a lot of garbage. I'm not sure if the code is running properly, as it is only a "hello-world".

I've tried to set these values in the sdkconfig.defaults, as I used to do with the old idf.py system:

CONFIG_XTAL_FREQ_26=y
CONFIG_XTAL_FREQ=26

but they didn't seem to change anything. Moreover with esp-flash 1.7.0 those options were not set and it worked ok.

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

  • Status

    Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions