HELP NEEDED! Arduino NANO ESP32 can't be coded

Hi.
I have just got the arduino nano esp32 for a school project. When i try to upload smth, it says "Arduino: 1.8.19 (Linux), Board: "Arduino Nano ESP32, With FAT partition (default), By Arduino pin (default), Normal mode (TinyUSB)"

Sketch uses 285869 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.
/home/minecraft/.arduino15/packages/arduino/tools/dfu-util/0.11.0-arduino5/dfu-util --device 0x2341:0x0070 -D /tmp/arduino_build_47669/Blink.ino.bin -Q
dfu-util 0.11-arduino4
dfu-util: Cannot open DFU device 2341:0070 found on devnum 6 (LIBUSB_ERROR_ACCESS)
dfu-util: No DFU capable USB device available
dfu-util: Cannot open DFU device 2341:0070 found on devnum 6 (LIBUSB_ERROR_ACCESS)

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/

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
"
I am using Linux/raspbian. my arduino nano esp32 is in regular mode/ running the preloaded sketch. and can someone pls tell me what all these rgb light sequences are and help me upload? Thanks. I gotta finish this in 24hrs, so pls help. :smiley:

Your user is not in the correct group. Most likely you need to add it to "dialout" and "plugdev".

OK but how? Is there some special sudo command or smth?
And pls explain all these light sequences to me. Thx

I tried adding myself with "sudo usermod -a -G dialout minecraft", but got{Arduino: 1.8.19 (Linux), Board: "Arduino Nano ESP32, With FAT partition (default), By Arduino pin (default), Normal mode (TinyUSB)"

Sketch uses 285869 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.
/home/minecraft/.arduino15/packages/arduino/tools/dfu-util/0.11.0-arduino5/dfu-util --device 0x2341:0x0070 -D /tmp/arduino_build_278619/Blink.ino.bin -Q
dfu-util 0.11-arduino4
An error occurred while uploading the sketch
dfu-util: Cannot open DFU device 2341:0070 found on devnum 6 (LIBUSB_ERROR_ACCESS)
dfu-util: No DFU capable USB device available

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

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
}
and when uploaded by programmer, got Arduino: 1.8.19 (Linux), Board: "Arduino Nano ESP32, With FAT partition (default), By Arduino pin (default), Normal mode (TinyUSB)"

Sketch uses 285869 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.
python3 /home/minecraft/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool.py --chip esp32s3 --port /dev/ttyACM0 --baud {upload.speed} {upload.flags} --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 16MB 0x10000 /tmp/arduino_build_278619/Blink.ino.bin
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.

Show what groups you are in:
$ groups
Show what groups you need to be in:
$ ls -l /dev/tty[AU]*
For group changes to take effect you need to log out and in again.

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