即使满足所有要求,Ubuntu 18.04、Arduino 1.8.5、NodeMCU v1 也不会闪烁。为什么?

即使满足所有要求,Ubuntu 18.04、Arduino 1.8.5、NodeMCU v1 也不会闪烁。为什么?

在您将其标记为重复之前,我已阅读了我能找到的所有内容,并完成了以下操作。

1)我已将自己添加到 dialout 组,然后注销,然后重新登录,chmod 0666,甚至 0777 /dev/ttyUSB0。

2)我已经按照建议做了ESP8266 警告:espcomm_sync 失败错误:espcomm_open 失败 UBUNTU 18.04

~$ esptool.py --port /dev/ttyUSB0 chip_id
esptool.py v2.5.1
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
MAC: 60:01:94:5d:4d:9d
Uploading stub...
Running stub...
Stub running...
Chip ID: 0x005d4d9d
Hard resetting via RTS pin...

及格了!

3) 我尝试了 7 种从新包装中取出的不同主板。

4)我已尝试设置中的每个波特率。

5)为了以防万一,我已经尝试了 NodeMCU v1 和 v0.9 的所有可能的设置组合。

6) 电路板温度和接线通过所有检查,这不是重复的问题,因为您链接的问题中的所有步骤都已测试过,但错误仍然存​​在。

每次我尝试通过 Arduino 1.8.5 上传时,仍然会出现以下错误

error: cannot access /dev/ttyUSB0
An error occurred while uploading the sketch

error: espcomm_open failed
error: espcomm_upload_mem failed

为什么?Arduino 应用程序 1.8.5 在 Ubuntu 18.04 中存在错误吗?

沮丧程度是用锤子砸碎的。请告诉我我遗漏了什么。

哦,更妙的是,这些电路板将在 Mac Pro 上完美闪烁,所以我知道它仅与 Ubuntu 上的 Arduino 应用程序隔离。

答案1

Arduino 1.8.5 Linux 中有一个错误。更新到 Arduino 1.8.6 Linux 解决了我的问题。如果其他人遇到此问题,请更新或降级到 1.8.4。希望这对其他人有所帮助。

相关内容