esp32/boards: Add GENERIC_C3_USB board with USB serial/JTAG support.Add a new board type for ESP32-C3 revision 3 and up that implement the USB serial/JTAG port on pin 18 and 19. This variant uses the USB serial for programming and console, leaving the UART free.
- Pins 18 and 19 are correctly reserved for this variant. Also pins 14-17 are reserved for flash for any ESP32-C3 so they can't be reconfigured anymore to crash the system.
- Added usb_serial_jtag.c and .h to implement this interface.
- Interface was tested to work correctly together with webrepl.
- Interface was tested to work correctly when sending and receiving large files with ampy.
- Disconnecting terminal or USB will not hang the system when it's trying to print.
micropython为ESP32-C3添加USB和JTAG支持
- shaoziyang
- 帖子: 3967
- 注册时间: 2019年 10月 21日 13:48
micropython为ESP32-C3添加USB和JTAG支持
为 ESP32-C3添加USB/JTAG支持。使用USB作为编程和终端接口,不使用UART。
-
- 帖子: 48
- 注册时间: 2021年 6月 3日 10:12
Re: micropython为ESP32-C3添加USB和JTAG支持
这个只能下载用吧,不能hid之类的
-
- 帖子: 48
- 注册时间: 2021年 6月 3日 10:12
Re: micropython为ESP32-C3添加USB和JTAG支持
这个只能下载用吧,不能hid之类的
- shaoziyang
- 帖子: 3967
- 注册时间: 2019年 10月 21日 13:48
Re: micropython为ESP32-C3添加USB和JTAG支持
hid不清楚实现了没有,没有看到说明。circuitpython实现了hid,可以做USB键盘和鼠标。
-
- 帖子: 48
- 注册时间: 2021年 6月 3日 10:12
Re: micropython为ESP32-C3添加USB和JTAG支持
我看datasheet说esp32c3的usb只能用来下载和调试用,不能其他操作
- shaoziyang
- 帖子: 3967
- 注册时间: 2019年 10月 21日 13:48
Re: micropython为ESP32-C3添加USB和JTAG支持
还没有仔细看文档。如果它是标准USB,可以编程控制,就可以做其他功能。如果不能编程就不行。
-
- 帖子: 1
- 注册时间: 2021年 12月 10日 16:06
Re: micropython为ESP32-C3添加USB和JTAG支持
不清楚就不要乱说哈,我翻了半天,才发现CircuitPython的USB-HID模式压根就不支持ESP32-C3,见这个链接:
http://www.circuitpython.cn/latest/shar ... index.html
- shaoziyang
- 帖子: 3967
- 注册时间: 2019年 10月 21日 13:48
Re: micropython为ESP32-C3添加USB和JTAG支持
没看到说不支持ESP32-C3啊
-
- 随机主题
- 回复总数
- 阅读次数
- 最新文章
-
- 2回复总数
- 388 阅读次数
- 最新文章 由 shaoziyang
2022年 12月 10日 14:31
-
- 1回复总数
- 357 阅读次数
- 最新文章 由 shaoziyang
2022年 12月 10日 21:00
-
- 19回复总数
- 1361 阅读次数
- 最新文章 由 czfx
2022年 12月 11日 23:11