连不上nodemcu...-Arduino中文社区 - Powered by Discuz! Archiver

chuckbei 发表于 2020-4-7 11:17

连不上nodemcu...

麻烦大佬帮忙看看这个报错嘛。

前两天写好了程序,传到板子上,可以正常跑起来,结果第二天睡醒就不行了;

现在连USB后,8266下面一直在发热,但是设备管理器可以识别出;

Arduino:1.8.12 (Windows 10), 开发板:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Executable segment sizes:


IROM   : 438940          - code in flash         (default or ICACHE_FLASH_ATTR)


IRAM   : 28312   / 32768 - code in IRAM          (ICACHE_RAM_ATTR, ISRs...)


DATA   : 1364)         - initialized variables (global, static) in RAM/HEAP


RODATA : 5220) / 81920 - constants             (global, static) in RAM/HEAP


BSS    : 30208 )         - zeroed variables      (global, static) in RAM/HEAP


项目使用了 473836 字节,占用了 (45%) 程序存储空间。最大为 1044464 字节。
全局变量使用了36792字节,(44%)的动态内存,余留45128字节局部变量。最大为81920字节。
esptool.py v2.8
Serial port COM4
Connecting........_
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: f4:cf:a2:4c:af:aa
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Traceback (most recent call last):
File "C:\Users\mumu_\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3/tools/upload.py", line 65, in <module>
    esptool.main(cmdline)
File "C:/Users/mumu_/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 2933, in main
    detect_flash_size(esp, args)
File "C:/Users/mumu_/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 2241, in detect_flash_size
    flash_id = esp.flash_id()
File "C:/Users/mumu_/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 607, in flash_id
    return self.run_spiflash_command(SPIFLASH_RDID, b"", 24)
File "C:/Users/mumu_/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 853, in run_spiflash_command
    old_spi_usr = self.read_reg(SPI_USR_REG)
File "C:/Users/mumu_/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 490, in read_reg
    val, data = self.command(self.ESP_READ_REG, struct.pack('<I', addr))
File "C:/Users/mumu_/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 347, in command
    p = self.read()
File "C:/Users/mumu_/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 292, in read
    return next(self._slip_reader)
File "C:/Users/mumu_/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 2045, in slip_reader
    raise FatalError("Timed out waiting for packet %s" % waiting_for)
esptool.FatalError: Timed out waiting for packet header
esptool.FatalError: Timed out waiting for packet header

lwq1947 发表于 2020-6-8 15:13

D8(gpio15)端口接一个10K下拉电阻到G试试,
页: [1]
查看完整版本: 连不上nodemcu...