ESP32-S3 with 64MB external flash
Posted: Mon Jul 08, 2024 4:12 pm
Hello, I made a PCB with ESP32-S3 and a 512Mb external SPI flash (F35SQA512M-WWT - 512Mb - up to 133Mhz)
I already did several other esp design with external flash but it seems I missed something on this one:
- I have GPIO 45 pulled down so the VDDSPI = 3.3V
- the SPI flash is connected to the ESP32-S3 like this: - when i try to upload the stub in order to flash the bootloader, I have this (same error with any flash mode or freq)
- when i try to read flash status I have that :
- and of course i cannot change any status bit:
0x3f3f3f seems a little bit redondant... I'm ready for an answer like "the flash is not compatible" but I really wonder why it would not be ?
Thank you for your time
I already did several other esp design with external flash but it seems I missed something on this one:
- I have GPIO 45 pulled down so the VDDSPI = 3.3V
- the SPI flash is connected to the ESP32-S3 like this: - when i try to upload the stub in order to flash the bootloader, I have this (same error with any flash mode or freq)
Code: Select all
esptool.py --chip esp32s3 -p /dev/ttyACM0 --before=default_reset --after=hard_reset write_flash --flash_mode qio --flash_freq 80m --flash_size 64MB 0x0 bootloader/bootloader.bin
esptool.py v4.7.0
Serial port /dev/ttyACM0
Connecting...
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 30:30:f9:2f:2e:08
Uploading stub...
Running stub...
Stub running...
A fatal error occurred: Unable to verify flash chip connection (No serial data received.).
Code: Select all
esptool.py --no-stub -p /dev/ttyACM0 read_flash_status --bytes 3
esptool.py v4.7.0
Serial port /dev/ttyACM0
Connecting...
Detecting chip type... ESP32-S3
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 30:30:f9:2f:2e:08
Enabling default SPI flash mode...
Status value: 0x3f3f3f
Hard resetting via RTS pin...
Code: Select all
esptool.py --no-stub -p /dev/ttyACM0 write_flash_status --bytes 3 0x3e3f3f
esptool.py v4.7.0
Serial port /dev/ttyACM0
Connecting...
Detecting chip type... ESP32-S3
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 30:30:f9:2f:2e:08
Enabling default SPI flash mode...
Initial flash status: 0x3f3f3f
Setting flash status: 0x3e3f3f
After flash status: 0x3f3f3f
Hard resetting via RTS pin...
Thank you for your time