ESP32-S3 烧录过程中遇到的问题

Moderator: ESP_ZT

MAXliang
Posts: 2
Joined: Wed May 17, 2023 2:59 am

ESP32-S3 烧录过程中遇到的问题

Postby MAXliang » Fri May 26, 2023 2:05 pm

请问这个问题要怎么解决啊?蟹蟹!
ninja build stopped subcommand failed
Attachments
微信图片_20230526220007.jpg
微信图片_20230526220007.jpg (1.19 MiB) Viewed 29215 times

ESP_Junru
Posts: 49
Joined: Tue Jul 12, 2022 6:26 am

Re: ESP32-S3 烧录过程中遇到的问题

Postby ESP_Junru » Thu Jun 01, 2023 6:13 am

build 目录删除再重新尝试一下

New_way
Posts: 2
Joined: Sat Jun 24, 2023 10:14 am

Re: ESP32-S3 烧录过程中遇到的问题

Postby New_way » Sat Jun 24, 2023 10:25 am

这是串口的问题吗,也是烧录不了程序

ESP_Junru
Posts: 49
Joined: Tue Jul 12, 2022 6:26 am

Re: ESP32-S3 烧录过程中遇到的问题

Postby ESP_Junru » Mon Jun 26, 2023 2:51 am

能识别到串口吗?

New_way
Posts: 2
Joined: Sat Jun 24, 2023 10:14 am

Re: ESP32-S3 烧录过程中遇到的问题

Postby New_way » Mon Jun 26, 2023 9:35 am

放弃vscode转用IDF了,按照官方文档最后一步烧录程序idf.py -p PORT [-b BAUD] flash,
报错
Executing action: [-b
ninja: error: unknown target '[-b', did you mean 'lib'?
command "[-b" is not known to idf.py and is not a Ninja target

ESP_Junru
Posts: 49
Joined: Tue Jul 12, 2022 6:26 am

Re: ESP32-S3 烧录过程中遇到的问题

Postby ESP_Junru » Wed Jun 28, 2023 3:41 am

-b 是设置波特率,默认是 115200
正常使用 idf.py flash monitor 即可

需要设置端口波特率就是,具体的按照你的实际来
idf.py -p dev/ttyUSB0 -b 115200 flash monitor

Who is online

Users browsing this forum: No registered users and 4 guests