Hi,
connected the new board. Try to upload the sketch, but fail. The board itself is recognized, even prints some data to the serial monitor (default app or smth , as boards have been bought recently), but uploading fails. Tried to change settings, manipulate with boot button etc, but not successful so far. Seems the problem is with settings, as I tried a second board with the same brand. Could you point me to some info describing Ardino IDE setings for such boards
ESP32 S3 N16R8 Upload issue
-
lbernstone
- Posts: 1132
- Joined: Mon Jul 22, 2019 3:20 pm
Re: ESP32 S3 N16R8 Upload issue
If you have a port labelled UART, use that.
Otherwise, you will need to hold down the boot button as you plug in the device for the first upload (make sure to choose usb-cdc)
https://docs.espressif.com/projects/ard ... le-version
Otherwise, you will need to hold down the boot button as you plug in the device for the first upload (make sure to choose usb-cdc)
https://docs.espressif.com/projects/ard ... le-version
Re: ESP32 S3 N16R8 Upload issue
Thks, played with the boot a lot, the board itself is connected, shows info on the status bar, and even prints some info on Serial. Also followed this video https://www.youtube.com/watch?v=oYE88c4yrNw
Will study doc from your link. Hopefully it will help...
Will study doc from your link. Hopefully it will help...
-
lbernstone
- Posts: 1132
- Joined: Mon Jul 22, 2019 3:20 pm
Re: ESP32 S3 N16R8 Upload issue
Post the log rather than your interpretation. Sounds more like a bad cable to me.
Re: ESP32 S3 N16R8 Upload issue
Sketch uses 275659 bytes (21%) of program storage space. Maximum is 1310720 bytes.
Global variables use 20700 bytes (6%) of dynamic memory, leaving 306980 bytes for local variables. Maximum is 327680 bytes.
"C:\Users\janis\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\5.1.0/esptool.exe" --chip esp32s3 --port "COM8" --baud 921600 --before default-reset --after hard-reset write-flash -z --flash-mode keep --flash-freq keep --flash-size keep 0x0 "C:\Users\janis\AppData\Local\arduino\sketches\6AAA5187E21B93257E5CE566B22CFE3A/sketch_feb19a.ino.bootloader.bin" 0x8000 "C:\Users\janis\AppData\Local\arduino\sketches\6AAA5187E21B93257E5CE566B22CFE3A/sketch_feb19a.ino.partitions.bin" 0xe000 "C:\Users\janis\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.4/tools/partitions/boot_app0.bin" 0x10000 "C:\Users\janis\AppData\Local\arduino\sketches\6AAA5187E21B93257E5CE566B22CFE3A/sketch_feb19a.ino.bin"
esptool v5.1.0
Serial port COM8:
Connecting......................................
A fatal error occurred: Failed to connect to ESP32-S3: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esp ... oting.html
Failed uploading: uploading error: exit status 2
Global variables use 20700 bytes (6%) of dynamic memory, leaving 306980 bytes for local variables. Maximum is 327680 bytes.
"C:\Users\janis\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\5.1.0/esptool.exe" --chip esp32s3 --port "COM8" --baud 921600 --before default-reset --after hard-reset write-flash -z --flash-mode keep --flash-freq keep --flash-size keep 0x0 "C:\Users\janis\AppData\Local\arduino\sketches\6AAA5187E21B93257E5CE566B22CFE3A/sketch_feb19a.ino.bootloader.bin" 0x8000 "C:\Users\janis\AppData\Local\arduino\sketches\6AAA5187E21B93257E5CE566B22CFE3A/sketch_feb19a.ino.partitions.bin" 0xe000 "C:\Users\janis\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.4/tools/partitions/boot_app0.bin" 0x10000 "C:\Users\janis\AppData\Local\arduino\sketches\6AAA5187E21B93257E5CE566B22CFE3A/sketch_feb19a.ino.bin"
esptool v5.1.0
Serial port COM8:
Connecting......................................
A fatal error occurred: Failed to connect to ESP32-S3: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esp ... oting.html
Failed uploading: uploading error: exit status 2
Re: ESP32 S3 N16R8 Upload issue
Have another S3. on Chip: ES32-S3_WROM-1. Works fine. Connected newly bought boards with the same cable - failed.
Board connected (can see it on status bar) and even prints some info to Serial -looks like from the default app uploaded by the manufacturer. Tried on TWO (!) newly bought boards. The same!
Board connected (can see it on status bar) and even prints some info to Serial -looks like from the default app uploaded by the manufacturer. Tried on TWO (!) newly bought boards. The same!
Re: ESP32 S3 N16R8 Upload issue
Interesting - if I unplug S3 WROM-1 . which is working fine, and plug S3 N16R8, COM, port is no longer valid. A new one appears. If you select it, the board is recognized- appears in the status line and prints something in the Serial monitor. but upload is not working
Re: ESP32 S3 N16R8 Upload issue
Communicated with ChatGPT, found the reason:
- Serial Monitor. still open after the previous board test
What Is Happening
During upload:
IDE opens the COM port
Board resets
USB disconnects
Windows creates a new COM port
IDE still tries to use the old one
Closed Serial Monitor, and upload works!
- Serial Monitor. still open after the previous board test
During upload:
IDE opens the COM port
Board resets
USB disconnects
Windows creates a new COM port
IDE still tries to use the old one
Closed Serial Monitor, and upload works!
Who is online
Users browsing this forum: ChatGPT-User, Google [Bot] and 3 guests