My sdkconfig file has this:
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
CONFIG_ESPTOOLPY_FLASHFREQ_40M=
CONFIG_ESPTOOLPY_FLASHFREQ_26M=
CONFIG_ESPTOOLPY_FLASHFREQ_20M=
CONFIG_ESPTOOLPY_FLASHFREQ="80m"
But the second stage boot message is this:
[Sep 9 10:52:25.021] [0;32mI (29) boot: ESP-IDF v3.0-r11 2nd stage bootloader[0m
[Sep 9 10:52:25.021] [0;32mI (29) boot: compile time 17:48:58[0m
[Sep 9 10:52:25.021] [0;32mI (29) boot: Enabling RNG early entropy source...[0m
[Sep 9 10:52:25.021] [0;32mI (34) qio_mode: Enabling default flash chip QIO[0m
[Sep 9 10:52:25.022] [0;32mI (39) boot: SPI Speed : 40MHz[0m
[Sep 9 10:52:25.022] [0;32mI (43) boot: SPI Mode : QIO[0m
[Sep 9 10:52:25.022] [0;32mI (47) boot: SPI Flash Size : 4MB[0m
Any thoughts how how to make 80mhz happen? I was able to change form DIO to QIO.
flash frequency does't change to 80Mhz
-
- Posts: 9759
- Joined: Thu Nov 26, 2015 4:08 am
Re: flash frequency does't change to 80Mhz
What hardware do you use?
Re: flash frequency does't change to 80Mhz
Adafruit Huzzah32
Mongoose-os
Mongoose-os
Re: flash frequency does't change to 80Mhz
Hi pwiner99,
What method did you use to flash?
To change flash settings like this, you need to both recompile and re-flash the bootloader.bin with new esptool.py arguments ("-fs 80m" in this case). The flash speed setting will be overriden by esptool.py at flashing time if one is supplied on the command line.
If you use IDF "make flash", this should happen automatically but you may need to do something different if using another method.
(Note that DIO<->QIO & DOUT<->QOUT is special because the esptool mode is always "DIO" or "DOUT", and then the second stage bootloader in IDF enables QIO or QOUT mode. But the other flash modes, flash freq, and flash size are all set in a header which esptool.py can overwrite.)
What method did you use to flash?
To change flash settings like this, you need to both recompile and re-flash the bootloader.bin with new esptool.py arguments ("-fs 80m" in this case). The flash speed setting will be overriden by esptool.py at flashing time if one is supplied on the command line.
If you use IDF "make flash", this should happen automatically but you may need to do something different if using another method.
(Note that DIO<->QIO & DOUT<->QOUT is special because the esptool mode is always "DIO" or "DOUT", and then the second stage bootloader in IDF enables QIO or QOUT mode. But the other flash modes, flash freq, and flash size are all set in a header which esptool.py can overwrite.)
Re: flash frequency does't change to 80Mhz
ESP_Angus,
Thanks for the response. It was helpful. Sorry I didn't reply earlier. This set up the first phase correctly for me.
mos flash --esp-flash-params dio,32m,80m
I had trouble getting the flash size right. I thought 4m for 4 megabyte and it would error. 32m worked.
Paul
Thanks for the response. It was helpful. Sorry I didn't reply earlier. This set up the first phase correctly for me.
mos flash --esp-flash-params dio,32m,80m
I had trouble getting the flash size right. I thought 4m for 4 megabyte and it would error. 32m worked.
Paul
Who is online
Users browsing this forum: No registered users and 168 guests