Can't Connect to my node32s showing error


The error that it's saying is:
/usr/local/bin/arduino-cli compile --fqbn esp32:esp32:node32s --build-cache-path /tmp --output-dir /tmp/1304209601/build --build-path /tmp/arduino-build-BDCECFBB3B47DFF6C1E7CAD56523DA6A /tmp/1304209601/Untitled_2_jul10a
[info] Sketch uses 931693 bytes (71%) of program storage space. Maximum is 1310720 bytes.
[info] Global variables use 41144 bytes (12%) of dynamic memory, leaving 286536 bytes for local variables. Maximum is 327680 bytes.

Flashing with command:C:/Users/bless/.arduino-create/esp32/esptool_py/4.2.1/esptool.exe --chip esp32 --port COM3 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 C:/Users/bless/AppData/Local/Temp/extrafiles456751033/Untitled_2_jul10a.bootloader.bin 0x8000 C:/Users/bless/AppData/Local/Temp/extrafiles456751033/Untitled_2_jul10a.partitions.bin 0xe000 C:/Users/bless/AppData/Local/Temp/extrafiles456751033/tools/partitions/boot_app0.bin 0x10000 C:/Users/bless/AppData/Local/Temp/arduino-create-agent3995136996/Untitled_2_jul10a.bin
esptool.py v4.2.1
Serial port COM3
Connecting....
Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: e4:65:b8:20:87:ac
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...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x000f4fff...
Compressed 17472 bytes to 12125...

A fatal error occurred: Packet content transfer stopped (received 8 bytes)
Executing command: exit status 2

Hi @arjunva7.

This error might be caused by the communication lines between the computer and the microcontroller on the board not being able to support the rather high default upload speed. If so, the problem should be fixed by reducing the upload speed, which is configurable via a convenient menu.

Select Tools > Upload Speed > 115200 from the Arduino IDE menus and then try uploading the sketch again, just as you did before. Hopefully this time the upload will be successful. If not, add a reply here on the forum thread to let us know and we'll investigate further.

Optimizing Upload Speed

If the sketch upload no longer failed after reducing the upload speed, you will have determined that the board is not capable of managing uploads at the default 921600 baud, but is capable of them at 115200 baud.

Especially with more complex sketches, the upload will take a significant amount of time at 115200 baud. It is likely that the board is capable of managing uploads at some speed higher than 115200 baud, so it is worth doing some experimentation to determine the maximum speed at which you can reliably upload to the board. You can do this by repeating the "Configure Upload Speed" procedure above, but selecting different speeds each time. Then attempting an upload to see if the new speed is appropriate.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.