[Problem feedback] 请教如何解决
Tofloor
poster avatar
tmld
deepin
2025-08-19 14:52
Author

Usage: esptool [OPTIONS] COMMAND [ARGS]...

Try 'esptool -h' for help
╭─ Error ──────────────────────────────────────────────────────────────────────╮
│ Invalid value for '--port' / '-p': Path '/dev/ttyACM0' is not readable. │
╰──────────────────────────────────────────────────────────────────────────────╯

Failed uploading: uploading error: exit status 2

Reply Favorite View the author
All Replies
骑木马的哥哥
deepin
2025-08-19 15:43
#1

错误信息提示/dev/ttyACM0这个设备不可读。可能是权限不足。

执行esptool命令的时候,命令前面加上sudo试试呢?

Reply View the author
骑木马的哥哥
deepin
2025-08-19 15:46
#2

错误信息还提示:Invalid value for '--port' / '-p' (不可用的选项:--port或-p)

你执行命令的选项也不对。执行esptool -h查看帮助。

Reply View the author
tmld
deepin
2025-08-20 09:13
#3

谢谢

Reply View the author