尝试在M1上使用macOS在VSCode上使用PlatformIO调试ESP32-S3。
从他们的网站上安装了ftdi驱动程序。(安装了VCP驱动程序,而不是D3XX驱动程序,因为我找不到编译和安装它们的方法)。
由于ESP32-S3有一个内部调试器,我刚刚创建了一个USB,将D -/D+引脚连接到主板gpio 19和20(以及grd)。顺便说一句,当我将其连接到macbook时,我在/dev/*下没有看到任何额外的端口
无论我的platform.ini配置如何,都会出现以下错误。
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 20000 kHz
adapter speed: 5000 kHz
Info : tcl server disabled
Info : telnet server disabled
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6010, description '*', serial '*' at bus location '*'
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6014, description '*', serial '*' at bus location '*'
.pioinit:11: Error in sourced command file:
Remote connection closed
我的平台:
[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
upload_port = /dev/cu.wchusbserial553C0085431
monitor_speed=115200
build_type = debug
debug_init_break = tbreak setup
;debug_tool = esp-builtin
debug_tool = esp-prog
已删除并安装ftdi驱动程序。尝试使用ESP-IDF时出现类似错误。
有什么想法吗?
1条答案
按热度按时间cl25kdpy1#
如果您将USB连接器直接连接到esp 32 s3模块上,则应尝试将板参数从 * esp 32-s3-devkitc-1* 更改为 * esp 32 s3-builtin*。通过这种方式,您可以指定正在使用内置调试器。