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

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1738|回复: 1

连不上nodemcu...

[复制链接]
发表于 2020-4-7 11:17 | 显示全部楼层 |阅读模式
麻烦大佬帮忙看看这个报错嘛。

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

现在连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

发表于 2020-6-8 15:13 | 显示全部楼层
D8(gpio15)端口接一个10K下拉电阻到G试试,
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-12-1 05:42 , Processed in 0.068914 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表