Sketch won't upload! Nano ESP32

Hello!
I have been trying for months to solve this issue so I hope any of you can solve it:
When I try to upload ANY code to my board it just says this:

Arduino: 1.8.19 (Windows 10), Board: "Arduino Nano ESP32, With FAT partition (default), By Arduino pin (default), Normal mode (TinyUSB)"

C:\Users\Manolis\AppData\Local\Arduino15\packages\arduino\hardware\esp32\2.0.13\cores\esp32\esp32-hal-uart.c: In function 'uartSetPins':

C:\Users\Manolis\AppData\Local\Arduino15\packages\arduino\hardware\esp32\2.0.13\cores\esp32\esp32-hal-uart.c:153:9: warning: 'return' with no value, in function returning non-void

         return;

         ^~~~~~

C:\Users\Manolis\AppData\Local\Arduino15\packages\arduino\hardware\esp32\2.0.13\cores\esp32\esp32-hal-uart.c:149:6: note: declared here

 bool uartSetPins(uint8_t uart_num, int8_t rxPin, int8_t txPin, int8_t ctsPin, int8_t rtsPin)

      ^~~~~~~~~~~

Sketch uses 761073 bytes (24%) of program storage space. Maximum is 3145728 bytes.

Global variables use 57452 bytes (17%) of dynamic memory, leaving 270228 bytes for local variables. Maximum is 327680 bytes.

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 http://sourceforge.net/p/dfu-util/tickets/



No DFU capable USB device available

An error occurred while uploading the sketch



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Then, I try to reset the bootloader, but then it doesn't work too!

Arduino: 1.8.19 (Windows 10), Board: "Arduino Nano ESP32, With FAT partition (default), By Arduino pin (default), Normal mode (TinyUSB)"

Sketch uses 285741 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.

usage: esptool [-h]

               [--chip {auto,esp8266,esp32,esp32s2,esp32s3beta2,esp32s3,esp32c3,esp32c6beta,esp32h2beta1,esp32h2beta2,esp32c2,esp32c6,esp32h2}]

               [--port PORT] [--baud BAUD]

               [--before {default_reset,usb_reset,no_reset,no_reset_no_sync}]

               [--after {hard_reset,soft_reset,no_reset,no_reset_stub}]

               [--no-stub] [--trace] [--override-vddsdio [{1.8V,1.9V,OFF}]]

               [--connect-attempts CONNECT_ATTEMPTS]

               {load_ram,dump_mem,read_mem,write_mem,write_flash,run,image_info,make_image,elf2image,read_mac,chip_id,flash_id,read_flash_status,write_flash_status,read_flash,verify_flash,erase_flash,erase_region,merge_bin,get_security_info,version}

               ...

esptool: error: argument --baud/-b: invalid arg_auto_int value: '{upload.speed}'

esptool: error: argument --baud/-b: invalid arg_auto_int value: '{upload.speed}'





This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I WILL DO ANYTHING TO FIX IT!! PLEASE HURRY!

ManolisG

Your topic has been moved to the Nano ESP32 category of the forum

Ok. Thanks

Hello @manolisg11!
IDE 1.x is no longer in active development and does not support all Nano board features. In particular, the bootloader update of the Nano ESP32 is known not to work. :warning:

Please try the bootloader update process with a recent IDE (2.3.3 is out) and the latest core (there's a newer version available!) and let us know.

My 2.x IDE does not work! It has an error about xtensa in the Arduino ESP32 boards package and even with the ESP32 boards package from ESSPRESIF it still doesn't work!! Also I have to open the IDE with administration privellages to work.

Εμμανουήλ Γεωργάτης

Hi @manolisg11,

What board library version are you using for the Arduino ESP32 boards ?
Are you using the example codes or a custom one?
Can you provide us the output you have with your Arduino IDE 2.x?

No I am using a custom code but I have tried to upload different codes none of them work...

Can you please post the full verbose compiler/linker output when compiling a sketch like blink. You might have to attach it as a text file because those outputs are usually quite long

There are vague problems when compiling for ESP32 based boards (not only Arduino Nano ESP32).

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