Answer the question
In order to leave comments, you need to log in
What should I do if I can't upload firmware to NodeMCU v3?
Hello, I bought a NodeMCU v3 microcontroller (with a CH340 processor and a built-in wifi module ESP-12E), installed the drivers, connected it to a PC and it was detected normally: Next, I set up the Arduino IDE for the microcontroller, installed the necessary packages, and configured everything for the board: But when it came to the firmware of the module, the Arduino IDE tried to connect to the microcontroller and upload the firmware, but in the end an error just appears:
Скетч использует 257220 байт (24%) памяти устройства. Всего доступно 1044464 байт.
Глобальные переменные используют 26816 байт (32%) динамической памяти, оставляя 55104 байт для локальных переменных. Максимум: 81920 байт.
esptool.py v2.8
Serial port COM6
Connecting........_____....._____....._____....._____....._____....._____.....____Traceback (most recent call last):
File "C:\Users\Bogdan\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.0/tools/upload.py", line 65, in <module>
esptool.main(cmdline)
File "C:/Users/Bogdan/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.0/tools/esptool\esptool.py", line 2890, in main
esp.connect(args.before)
File "C:/Users/Bogdan/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.0/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: Timed out waiting for packet header
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
And because of this error, I absolutely cannot do anything with the board, so I ask knowledgeable people to help me somehow, I will be grateful for any help.
Answer the question
In order to leave comments, you need to log in
Try changing the bootloader in arduino ide and check for updates to the board manager
It doesn't go into download mode.
The download should start when the dashes run.
The board should have buttons for the Boot and EN buttons.
Try the code to finish compiling, press Boot, without releasing, press EN, then release Boot first and then EN.
Also try turning on the port monitor and clicking on Boot, boot info should appear in the monitor (you may have to play around with the monitor port speed).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question