good day.
I need help uploading the code on the esp32 wrover, because every time I upload the code, it pops up something like this.
Sketch uses 276669 bytes (21%) of program storage space. Maximum is 1310720 bytes.
Global variables use 20288 bytes (6%) of dynamic memory, leaving 307392 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.6
Serial port COM3
Connecting....Traceback (most recent call last):
File "esptool.py", line 37, in <module>.
File "esptool__init__.py", line 1064, in _main
File "esptool__init__.py", line 859, in main
File "esptoolcmds.py", line 466, in write_flash
File "esptoolutil.py", line 37, in flash_size_bytes
TypeError: argument of type 'NoneType' is not iterable
Chip is ESP32-D0WDQ6 (revision v1.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 08:b6:1f:8e:60:30
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
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...
[24748] Failed to execute script 'esptool' due to unhandled exception!
Failed uploading: uploading error: exit status 1
but when I hold down rst, it goes something like this
Sketch uses 276669 bytes (21%) of program storage space. Maximum is 1310720 bytes.
Global variables use 20288 bytes (6%) of dynamic memory, leaving 307392 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.6
Serial port COM3
Connecting......................................
A fatal error occurred: Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
Failed uploading: uploading error: exit status 2
anticipating questions, I have already installed the CH340 driver, added esp32 wrover as the microcontroller I am uploading the code to and added the url (https://dl.espressif.com/dl/package_esp32_index.json).
please reply quickly
windows11
arduino ide
I need help uploading the code on the esp32 wrover, because every time I upload the code, it pops up something like this.
Sketch uses 276669 bytes (21%) of program storage space. Maximum is 1310720 bytes.
Global variables use 20288 bytes (6%) of dynamic memory, leaving 307392 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.6
Serial port COM3
Connecting....Traceback (most recent call last):
File "esptool.py", line 37, in <module>.
File "esptool__init__.py", line 1064, in _main
File "esptool__init__.py", line 859, in main
File "esptoolcmds.py", line 466, in write_flash
File "esptoolutil.py", line 37, in flash_size_bytes
TypeError: argument of type 'NoneType' is not iterable
Chip is ESP32-D0WDQ6 (revision v1.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 08:b6:1f:8e:60:30
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
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...
[24748] Failed to execute script 'esptool' due to unhandled exception!
Failed uploading: uploading error: exit status 1
but when I hold down rst, it goes something like this
Sketch uses 276669 bytes (21%) of program storage space. Maximum is 1310720 bytes.
Global variables use 20288 bytes (6%) of dynamic memory, leaving 307392 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.6
Serial port COM3
Connecting......................................
A fatal error occurred: Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
Failed uploading: uploading error: exit status 2
anticipating questions, I have already installed the CH340 driver, added esp32 wrover as the microcontroller I am uploading the code to and added the url (https://dl.espressif.com/dl/package_esp32_index.json).
please reply quickly
Quote:.AI: What operating system are you using to upload code to the ESP32 Wrover?
windows11
Quote:AI: Which development environment do you use (e.g. Arduino IDE, PlatformIO)?
arduino ide