arduino和esp8266问题

arduino和esp8266问题

我似乎无法连接我的 esp8266 d1 mini;谁能帮我?

这是我收到的错误消息:

Arduino: 1.8.13 (Linux), Board: "LOLIN(WEMOS) D1 mini (clone), 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, DOUT (compatible), 40MHz, 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

Executable segment sizes:
ICACHE : 32768           - flash instruction cache 
IROM   : 231788          - code in flash         (default or ICACHE_FLASH_ATTR) 
IRAM   : 26777   / 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    : 25616 )         - zeroed variables      (global, static) in RAM/HEAP 
Sketch uses 260937 bytes (24%) of program storage space. Maximum is 1044464 bytes.
Global variables use 27988 bytes (34%) of dynamic memory, leaving 53932 bytes for local variables. Maximum is 81920 bytes.
esptool.py v3.0
Serial port /dev/ttyUSB0
Traceback (most recent call last):
  File "/home/oem/.arduino15/packages/esp8266/hardware/esp8266/3.0.0/tools/pyserial/serial/serialposix.py", line 322, in open
    self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
PermissionError: [Errno 13] Permission denied: '/dev/ttyUSB0'

在处理上述异常的过程中,又出现了一个异常:

Traceback (most recent call last):
  File "/home/oem/.arduino15/packages/esp8266/hardware/esp8266/3.0.0/tools/upload.py", line 66, in <module>
    esptool.main(cmdline)
  File "/home/oem/.arduino15/packages/esp8266/hardware/esp8266/3.0.0/tools/esptool/esptool.py", line 3551, in main
    esp = chip_class(each_port, initial_baud, args.trace)
  File "/home/oem/.arduino15/packages/esp8266/hardware/esp8266/3.0.0/tools/esptool/esptool.py", line 271, in __init__
    self._port = serial.serial_for_url(port)
  File "/home/oem/.arduino15/packages/esp8266/hardware/esp8266/3.0.0/tools/pyserial/serial/__init__.py", line 90, in serial_for_url
    instance.open()
  File "/home/oem/.arduino15/packages/esp8266/hardware/esp8266/3.0.0/tools/pyserial/serial/serialposix.py", line 325, in open
    raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0'
the selected serial port serial.serialutil.SerialException: [Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0'
 does not exist or your board is not connected

通过在“文件”->“首选项”中启用“在编译期间显示详细输出”选项,此报告将提供更多信息。

相关内容