I have connected an external flash IC specifically the W25Q256JVEIQ_TR (see attached schematic for connections). The plan is to use this instead of the internal flash for on the ESP32-WROOM-32E module. I have used the espefuse.py to move the spi chip select pin to gpio 33 and also set the internal flash reg to 3.3v. As 1.8v isn't given to an external module pin and I don't have room for a separate 1.8V reg so I've used a 3.3v external flash.
These are the following commands used:
Code: Select all
espefuse.py --port COM8 burn_efuse SPI_PAD_CONFIG_CLK 6 SPI_PAD_CONFIG_Q 7 SPI_PAD_CONFIG_D 8 SPI_PAD_CONFIG_HD 9 SPI_PAD_CONFIG_CS0 33
Code: Select all
espefuse.py --port COM8 burn_efuse XPD_SDIO_REG 1 XPD_SDIO_TIEH 1 XPD_SDIO_FORCE 1
I now am left with not being able to program the device at all with the following error message.
Code: Select all
WARNING: Failed to communicate with the flash chip, read/write operations will fail. Try checking the chip connections or removing any other hardware connected to IOs.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00007fff...
Flash will be erased from 0x00010000 to 0x0003ffff...
Flash will be erased from 0x00008000 to 0x00008fff...
Compressed 26640 bytes to 16689...
A fatal error occurred: Packet content transfer stopped (received 8 bytes)
CMake Error at run_serial_tool.cmake:66 (message):
C:/Espressif/python_env/idf5.1_py3.11_env/Scripts/python.exe;;C:/Espressif/frameworks/esp-idf-v5.1.2/components/esptool_py/esptool/esptool.py;--chip;esp32
failed.
Any ideas?
Best regards Dan