Arduino 1.8.13
I make the necessary group settings following the instructions in:
https://linuxhint.com/install_arduino_ide_debian_10/
add to Additional boards Manager and installed the 2.7.4 version of esp8266
http://arduino.esp8266.com/stable/packa ... index.json
Select the NodeMCU 1.0 (ESP-12E Module) board.
I plugged in my new NodeMCU v3 and tried to load the Blink example .
Executable segment sizes:
BSS : 24880 ) - zeroed variables (global, static) in RAM/HEAP
IRAM : 26752 / 32768 - code in IRAM (ICACHE_RAM_ATTR, ISRs...)
IROM : 228640 - code in flash (default or ICACHE_FLASH_ATTR)
DATA : 1248 ) - initialized variables (global, static) in RAM/HEAP
RODATA : 688 ) / 81920 - constants (global, static) in RAM/HEAP
Sketch uses 257328 bytes (24%) of program storage space. Maximum is 1044464 bytes.
Global variables use 26816 bytes (32%) of dynamic memory, leaving 55104 bytes for local variables. Maximum is 81920 bytes.
esptool.py v2.8
Serial port /dev/ttyUSB0
Connecting........_____....._____....._____....._____....._____....._____....._____
Traceback (most recent call last):
File "/home/diegoclimbing/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/upload.py", line 65, in <module>
esptool.main(cmdline)
File "/home/diegoclimbing/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py", line 2890, in main
esp.connect(args.before)
File "/home/diegoclimbing/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool/esptool.py", line 483, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Invalid head of packet (0x00)
esptool.FatalError: Failed to connect to ESP8266: Invalid head of packet (0x00)
I have tried different baud rates.
Also different solutions proposed in other forums related to the reset and flash pins.
https://github.com/espressif/esptool/issues/432
Nothing works, any idea what is causing the failure?