esp8266在arduino上开发一直无法读取串口,怎么解决-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 388|回复: 0

[未解决] esp8266在arduino上开发一直无法读取串口,怎么解决

[复制链接]
发表于 2022-4-22 11:50 | 显示全部楼层 |阅读模式
Arduino:1.8.19 (Windows 10), 开发板:"Generic ESP8266 Module, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 57600"

Executable segment sizes:

ICACHE : 32768           - flash instruction cache

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

IRAM   : 26793   / 32768 - code in IRAM          (IRAM_ATTR, ISRs...)

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

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

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

项目使用了 260889 字节,占用了 (27%) 程序存储空间。最大为 958448 字节。

全局变量使用了27980字节,(34%)的动态内存,余留53940字节局部变量。最大为81920字节。

esptool.py v3.0

Serial port COM4

Connecting........_____....._____....._____....._____....._____....._____.....____Traceback (most recent call last):

  File "C:\Users\stray\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/upload.py", line 66, in <module>

    esptool.main(cmdline)

  File "C:/Users/stray/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 3552, in main

    esp.connect(args.before, args.connect_attempts)

  File "C:/Users/stray/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 529, 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 (0x08)

_

选择的串口 _

不存在或开发板没有连接


您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-11-28 09:21 , Processed in 0.098988 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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