[Problem feedback] v25 arduino 无法上传程序
Tofloor
poster avatar
tmld
deepin
2025-07-31 21:31
Author

arduino 无法上传程序。

Sketch uses 1663375 bytes (52%) of program storage space. Maximum is 3145728 bytes.
Global variables use 58876 bytes (17%) of dynamic memory, leaving 268804 bytes for local variables. Maximum is 327680 bytes.

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

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

Failed uploading: uploading error: exit status 2

Reply Favorite View the author
All Replies
neko
deepin
Ecological co-builder
Resources Team Moderator
2025-07-31 22:34
#1

用sudo提升权限再试试,或者将用户添加到该设备所属用户组,并设置用户组读写权限

Reply View the author
freeor🤔
deepin
2025-08-01 13:34
#2

sudo chmod 777 /dev/ttyUSB0 试试可以下载了,

添加到该设备所属用户组

Reply View the author
tmld
deepin
2025-08-01 13:44
#3

老师!能详细点吗?

Reply View the author
tmld
deepin
2025-08-01 13:48
#4
freeor🤔

sudo chmod 777 /dev/ttyUSB0 试试可以下载了,

添加到该设备所属用户组

可以了,谢谢啦!

Reply View the author