Sketch uses 285749 bytes (9%) of program storage space. Maximum is 3145728 bytes.
Global variables use 30732 bytes (9%) of dynamic memory, leaving 296948 bytes for local variables. Maximum is 327680 bytes.
"C:\Users\loyyo\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1/esptool.exe" --chip esp32s3 --port "COM7" --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 16MB 0x0 "C:\Users\loyyo\AppData\Local\Temp\arduino\sketches\E22D814B16701AD3168E0A2673B68298/sketch_apr16a.ino.bootloader.bin" 0x8000 "C:\Users\loyyo\AppData\Local\Temp\arduino\sketches\E22D814B16701AD3168E0A2673B68298/sketch_apr16a.ino.partitions.bin" 0xe000 "C:\Users\loyyo\AppData\Local\Arduino15\packages\arduino\hardware\esp32\2.0.13/tools/partitions/boot_app0.bin" 0xf70000 "C:\Users\loyyo\AppData\Local\Arduino15\packages\arduino\hardware\esp32\2.0.13\variants\arduino_nano_nora/extra/nora_recovery/nora_recovery.ino.bin" 0x10000 "C:\Users\loyyo\AppData\Local\Temp\arduino\sketches\E22D814B16701AD3168E0A2673B68298/sketch_apr16a.ino.bin"
esptool.py v4.5.1
Serial port COM7
Connecting...
Chip is ESP32-S3 (revision v0.2)
Features: WiFi, BLE
Crystal is 40MHz
MAC: ec:da:3b:55:88:a8
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00003fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00f70000 to 0x00fb5fff...
Flash will be erased from 0x00010000 to 0x00055fff...
Compressed 15088 bytes to 10374...
A fatal error occurred: Packet content transfer stopped (received 8 bytes)
Failed programming: uploading error: exit status 2
Hi @loy-y-s. It seems this error might be related to a problem with the communication between the ESP32-S3 microcontroller and the external flash memory chip on the module.
It is possible that this could be caused by a short or external circuitry connected to the Arduino board.
Make sure the board is not sitting on anything conductive that could short the contacts on the bottom of the board. Make sure there isn't any conductive debris (e.g., strands of wire or component leads) on the board or on the surface the board is sitting on. If you have header pins soldered to the board, inspect the soldering to make sure the solder hasn't made bridges between any of the header pins.
If you have a shield or any external circuitry or components connected to your Arduino board disconnect it.
After that, try uploading again. Hopefully this time it will proceed without any errors.
Hi @ptillisch , thanks for trying to helping me out. I've checked my external circuit and it seems has no conductive debris and the pins are isolated (no solder faulty).
But, when I try to do this again: Reset the Arduino bootloader on the Nano ESP32, this time I get the following: `Sketch uses 285749 bytes (9%) of program storage space. Maximum is 3145728 bytes.
Global variables use 30732 bytes (9%) of dynamic memory, leaving 296948 bytes for local variables. Maximum is 327680 bytes.
"C:\Users\loyyo\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5/dfu-util" --device 0x2341:0x0070 -D "C:\Users\loyyo\AppData\Local\Temp\arduino\sketches\5D4D413A963B50056B2E3864334ADE65/sketch_apr16a.ino.bin" -Q
dfu-util 0.11-arduino4
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util / Tickets
No DFU capable USB device available
Failed uploading: uploading error: exit status 74`.
So, I found this article: Dfu-Util: No DFU Capable USB Device Available [Solved] and follow the steps to solve this prob, but I stuck at the "Put The Arduino Nano ESP32 Into Bootloader Mode" -by pressing the rst button twice really quick; my arduino nano esp32 went all the way back to the [connected and not connected situation (com)].
So, is there a way to solve this problem? I'm sorry, my English is quite bad and hope you can understand what I mean .
Sketch uses 285749 bytes (9%) of program storage space. Maximum is 3145728 bytes.
Global variables use 30732 bytes (9%) of dynamic memory, leaving 296948 bytes for local variables. Maximum is 327680 bytes.
"C:\Users\loyyo\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5/dfu-util" --device 0x2341:0x0070 -D "C:\Users\loyyo\AppData\Local\Temp\arduino\sketches\5D4D413A963B50056B2E3864334ADE65/sketch_apr16a.ino.bin" -Q
dfu-util 0.11-arduino4
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util / Tickets
No DFU capable USB device available
Failed uploading: uploading error: exit status 74