个人在Win11下使用AiPi-PalchatV1遇到的一些小问题,分享一下:
1. 克隆仓库
× 官方教程中提供的克隆仓库编译烧录后无法正常使用(无提示语):
- git clone https://gitee.com/Ai-Thinker-Open/aipi-palchatv1.git
复制代码
√ 使用SDK中的方法OK:
- git clone --recurse-submodules https://gitee.com/Ai-Thinker-Open/aipi-palchatv1.git
复制代码
2. 在线烧录
- WSL2 默认识别不到USB 设备,安装usbipd可以把 Windows 中的USB设备绑定到WSL2. PowerShell:
- 使用usbipd查看设备并绑定设备。查看设备,找到烧录器的busid. PowerShell:
每次插入烧录器都需要绑定。这里假设busid为2-2, Linux版本为Ubuntu-20.04. PowerShell:
- usbipd attach --busid 2-2 --wsl Ubuntu-20.04
复制代码
以上问题解决后,编译和在线烧录 (V2.1) 正常。 |