Skip to content

Bootloop when using 64MBit flash with ESP8266 #17198

Closed
@mikhan253

Description

@mikhan253

Port, board and/or hardware

ESP8266 ESP-07 with W25Q64F

MicroPython version

ESP8266_GENERIC-FLASH_2M_ROMFS-20250415-v1.25.0.bin
ESP8266_GENERIC-FLASH_1M-20250415-v1.25.0.bin
ESP8266_GENERIC-OTA-20250415-v1.25.0.bin
ESP8266_GENERIC-20250415-v1.25.0.bin

Reproduction

programmed with the following commands:

esptool --port COM3 --baud 115200 write_flash --erase-all --flash_size=detect -fm dout 0 ESP8266_GENERIC-FLASH_2M_ROMFS-20250415-v1.25.0.bin
esptool.py v4.8.1
Serial port COM3
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 18:fe:34:9d:5c:bb
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 8MB
Erasing flash (this may take a while)...
Chip erase completed successfully in 16.0s
Flash params set to 0x0380
Compressed 639680 bytes to 428052...
Wrote 639680 bytes (428052 compressed) at 0x00000000 in 37.8 seconds (effective 135.5 kbit/s)...
Hash of data verified.

Expected behaviour

No response

Observed behaviour

Initially starts with the message: "Writing init data" and then bootloops forever.

ets Jan 8 2013,rst cause:2, boot mode:(3,0)

load 0x40100000, len 31264, room 16
tail 0
chksum 0x7a
load 0x3ffe8000, len 1060, room 8
tail 12
chksum 0xc8
ho 0 tail 12 room 4
load 0x3ffe8430, len 1124, room 12
tail 8
chksum 0x2b
csum 0x2b
Writing init data
rf_cal[0] !=0x05,is 0xFF

ets Jan 8 2013,rst cause:2, boot mode:(3,0)

load 0x40100000, len 31264, room 16
tail 0
chksum 0x7a
load 0x3ffe8000, len 1060, room 8
tail 12
chksum 0xc8
ho 0 tail 12 room 4
load 0x3ffe8430, len 1124, room 12
tail 8
chksum 0x2b
csum 0x2b
rf_cal[0] !=0x05,is 0xFF
....
....

Additional Information

No, I've provided everything above.

Code of Conduct

Yes, I agree

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions