FIREBEETLE ESP32 V4 USB first Upload after compiling failed
didier.Giarratano 2023-01-29 13:07:45 1164 Views1 Replies Dear All,
I would like to test the ESP32 firebeetle to check the power consumption in deep sleep mode.
I'm compiling a sketch that works on another board from another manufacturer (so not a Firebeetle V4).
I updated the "preferences" with: "https://git.oschina.net/dfrobot/FireBeetle-ESP32/raw/master/package_esp32_index.json"
In the "board manager" choice menu, I selected "FireBeele-ESP32" and the USB port.
The compilation goes well but when I try to upload the board I get the following message:
Sketch uses 1006225 bytes (76%) of program storage space. Maximum is 1310720 bytes.
Global variables use 40440 bytes (12%) of dynamic memory, leaving 287240 bytes for local variables. Maximum is 327680 bytes.
esptool.py v3.3
Serial port /dev/cu.usbserial-1450
Connecting......Traceback (most recent call last):
File "serial/serialposix.py", line 575, in read
OSError: [Errno 6] Device not configured
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "esptool.py", line 468, in command
File "esptool.py", line 413, in read
File "esptool.py", line 3571, in slip_reader
File "serial/serialposix.py", line 581, in read
serial.serialutil.SerialException: read failed: [Errno 6] Device not configured
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "serial/serialposix.py", line 398, in _reconfigure_port
termios.error: (6, 'Device not configured')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "esptool.py", line 5387, in <module>
File "esptool.py", line 5380, in _main
File "esptool.py", line 4687, in main
File "esptool.py", line 115, in get_default_connected_device
File "esptool.py", line 664, in connect
File "esptool.py", line 629, in _connect_attempt
File "esptool.py", line 528, in sync
File "esptool.py", line 484, in command
File "serial/serialutil.py", line 372, in timeout
File "serial/serialposix.py", line 401, in _reconfigure_port
serial.serialutil.SerialException: Could not configure port: (6, 'Device not configured')
[80926] Failed to execute script 'esptool' due to unhandled exception!
Failed uploading: uploading error: exit status 1
Do you have any idea what I should do ?
thank you in advance
Hi,
The most likely causes of this are:
Using the wrong serial port (Tools > Port in the Arduino IDE). The IDE not recognizing the board. Using a power only USB cable.
I suggest you download the particular driver for your own board (which is not FireBeetle from DFrobot) and choose that in your board manager. The driver for FireBeetle seems not compatible with the ESP32 you bought.
Hope it can help you.
JaneYu 
