Customm flash error

Gjoedensen
Posts: 1
Joined: Fri Nov 26, 2021 8:32 am

Customm flash error

Postby Gjoedensen » Fri Nov 26, 2021 9:18 am

I have created a custom board for ESP32-D0WD-V3 (revision 3) with a 16MB flash chip (AT25SF128A).
When I program the board I receive an error that it couldn't auto-detect the flash size, and therefore defaulting to 4MB.

Output:

Code: Select all

Connecting...
Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 58:bf:25:a5:7d:18
Stub is already running. No upload is necessary.
Configuring flash size...
Warning: Could not auto-detect Flash size (FlashID=0x1891f, SizeID=0x1), defaulting to 4MB
Flash will be erased from 0x00001000 to 0x00005fff...
I have programmed it and validated that the Serial, WiFi, and I2C are working, but I am only allowed to use 1/4 of the chip.

Has anyone experienced this problem?

ESP_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

Re: Customm flash error

Postby ESP_Sprite » Fri Nov 26, 2021 10:22 am

I'd say your flash is incompatible with esp-idf, but if it works OK aside from the flash size issue, you can try to file an issue to add your specific flash chip; perhaps they can do that. For now, you can also set the flash size manually on the esptool.py command line and it'll use that instead of trying to autodetect.

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 103 guests