I connected the ESP32C3 chip to external flash so that I can store program data on the external flash.
However, the ESP32C3 can't detect the external flash
Code: Select all
esptool.py flash_id
esptool.py v3.2-dev
Found 2 serial ports
Serial port /dev/ttyUSB1
Connecting....
Detecting chip type... ESP32-C3
Chip is ESP32-C3 (revision 3)
Features: Wi-Fi
Crystal is 40MHz
MAC: 7c:df:a1:b0:68:2c
Uploading stub...
Running stub...
Stub running...
Manufacturer: 00
Device: 0000
Detected flash size: Unknown
Hard resetting via RTS pin...
Code: Select all
espefuse.py burn_efuse SPI_PAD_CONFIG_CS 21
Connecting...
Detecting chip type... ESP32-C3
espefuse.py v3.2-dev
The efuses to burn:
from BLOCK1
- SPI_PAD_CONFIG_CS
ATTENTION! This BLOCK uses NOT the NONE coding scheme and after 'BURN', these efuses can not be burned in the feature:
['MAC', 'SPI_PAD_CONFIG_CLK', 'SPI_PAD_CONFIG_Q', 'SPI_PAD_CONFIG_D', 'SPI_PAD_CONFIG_HD']
['SPI_PAD_CONFIG_WP', 'SPI_PAD_CONFIG_DQS', 'SPI_PAD_CONFIG_D4', 'SPI_PAD_CONFIG_D5', 'SPI_PAD_CONFIG_D6']
['SPI_PAD_CONFIG_D7', 'WAFER_VERSION', 'PKG_VERSION', 'BLOCK1_VERSION']
Burning efuses (see 'ATTENTION!' above):
- 'SPI_PAD_CONFIG_CS' (SPI CS pad) 0b000000 -> 0b010101
Check all blocks for burn...
idx, BLOCK_NAME, Conclusion
[01] MAC_SPI_8M_0 is not empty
(written ): 0x00057a9060b0c258010c00000000000000007cdfa1b0682c
(to write): 0x000000000000000000000000000000540000000000000000
(coding scheme = RS)
A fatal error occurred: Burn into MAC_SPI_8M_0 is forbidden (RS coding scheme does not allow this).
How do I use the esp32c3 with no internal flash?