sg90舵机+esp8266烧录问题-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 407|回复: 0

[未解决] sg90舵机+esp8266烧录问题

[复制链接]
发表于 2022-4-4 19:59 | 显示全部楼层 |阅读模式
Arduino:1.8.20 Hourly Build 2021/12/20 07:33 (Windows 10), 开发板:"Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 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, 115200"

Executable segment sizes:

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

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

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

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

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

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

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

esptool.py v2.8

Serial port COM3

Connecting....

Chip is ESP8266EX

Traceback (most recent call last):

  File "C:/Users/Adobe/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 347, in command

    p = self.read()

  File "C:/Users/Adobe/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/Adobe/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 2041, in slip_reader

    read_bytes = port.read(1 if waiting == 0 else waiting)

  File "C:/Users/Adobe/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/pyserial\serial\serialwin32.py", line 293, in read

    raise SerialException("GetOverlappedResult failed ({!r})".format(ctypes.WinError()))

serial.serialutil.SerialException: GetOverlappedResult failed (PermissionError(13, '�ܾ����ʡ�', None, 5))



During handling of the above exception, another exception occurred:



Traceback (most recent call last):

  File "C:\Users\Adobe\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3/tools/upload.py", line 65, in <module>

    esptool.main(cmdline)

  File "C:/Users/Adobe/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 2902, in main

    print("Features: %s" % ", ".join(esp.get_chip_features()))

  File "C:/Users/Adobe/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 1040, in get_chip_features

    if self.get_chip_description() == "ESP8285":

  File "C:/Users/Adobe/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 1034, in get_chip_description

    efuses = self.get_efuses()

  File "C:/Users/Adobe/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 1030, in get_efuses

    self.read_reg(0x3ff00054) << 32 |

  File "C:/Users/Adobe/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/Adobe/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/esptool\esptool.py", line 358, in command

    self._port.timeout = saved_timeout

  File "C:/Users/Adobe/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/pyserial\serial\serialutil.py", line 368, in timeout

    self._reconfigure_port()

  File "C:/Users/Adobe/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/pyserial\serial\serialwin32.py", line 222, in _reconfigure_port

    'Original message: {!r}'.format(ctypes.WinError()))

serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, '�ܾ����ʡ�', None, 5)

serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, '�ܾ����ʡ�', None, 5)





在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。

一直是报错的

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

本版积分规则

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

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

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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