I have designed a custom board using an ESP32-S3. It's the first one that I've designed with an external flash, all the other standalone-chips I've used had an internal flash.
Problem is that when I try to upload an script, I get the following error:
esptool.py v4.6
Serial port COM5
Connecting....Traceback (most recent call last):
Code: Select all
File "esptool.py", line 37, in <module>
Chip is ESP32-S3 (revision v0.2)
File "esptool\__init__.py", line 1064, in _main
Features: WiFi, BLE
File "esptool\__init__.py", line 859, in main
Crystal is 40MHz
File "esptool\cmds.py", line 466, in write_flash
MAC: cc:ba:97:18:be:8c
File "esptool\util.py", line 37, in flash_size_bytes
Uploading stub...
Running stub...
TypeError: argument of type 'NoneType' is not iterable
Stub running...
[21112] Failed to execute script 'esptool' due to unhandled exception!
Changing baud rate to 921600
Changed.
Configuring flash size...
the selected serial port Configuring flash size...
does not exist or your board is not connected
I may think that the problem is in the flash, since is the only thing I changed from previous desings and it seems to be freezing when it tries to access the flash.
The flash I am using is the following:
https://www.lcsc.com/datasheet/lcsc_dat ... C97521.pdf
And here the schematic:
And finally, here all the configurations I am using to upload the (empty) sketch:
Do you have any advice on where should the error be?
Thank you very much!