全职RISC-V芯片D1开发板使用adb串口COM连接设备和文件上传下载

将两个USB端口都连接到工作电脑

推荐使用ADB工具访问开发板,下载连接如下:

Windows版本:https://dl.google.com/android/repository/platform-tools-latest-windows.zip

Mac版本:https://dl.google.com/android/repository/platform-tools-latest-darwin.zip

Linux版本:https://dl.google.com/android/repository/platform-tools-latest-linux.zip

解压后直接可用,将解压后的目录加入环境变量,方便使用

adb支持一下命令:

adb version # 查看adb版本

adb devices # 查看已连接设备

adb shell # 打开设备的shell,可使用exit命令退出设备端shell

adb -s device_id # 使用指定设备,如:adb -s 47db0de20304 shell

adb shell ps # 查看设备运行的进程,跟登录shell后执行ps命令效果一致

adb shell kill -9 $pid # 结束设备进程,跟登录shell后执行kill命令效果一致

adb push /LOCAL/FILE /DEVICE/PATH # 上传工作电脑文件到设备端目录

adb pull /DEVICE/FILE /LOCAL/PATH # 拷贝设备端文件到本地工作电脑

相关推荐
木由里予1 天前
RISC-V 32 位基础指令集(RV32I)完整参考手册
risc-v
萑澈2 天前
如何在Rocky Linux 8单节点集群上安装Apache Hadoop
adb
一枝小雨2 天前
RISC-V架构sp寄存器 & RISC-V架构下FreeRTOS任务上下文保存与恢复
单片机·架构·嵌入式·risc-v·rtos·内核原理
一枝小雨2 天前
RISC-V架构的中断与异常处理机制学习笔记
单片机·架构·嵌入式·risc-v·内核原理·中断与异常
一枝小雨2 天前
什么是标准C函数:以RISC-V架构下的C函数为例
c语言·risc-v·内核原理
禁默2 天前
解密 LangChain:LLM 应用开发的核心框架与“超级武器”
android·adb·langchain·vibe coding
Waay3 天前
MySQL基础高频考点
运维·mysql·adb
咕咚.萌西3 天前
RISCV AS汇编器
risc-v
嵌入式小企鹅4 天前
UiPath推出AI编程“总指挥台”,SiFive发布RISC-V第三代猛兽
人工智能·学习·google·程序员·ai编程·risc-v·开源工具
蜀道山老天师4 天前
从零搭建 Prometheus 监控 MySQL:含二进制安装、授权、exporter 配置全流程
运维·数据库·mysql·adb·云原生·prometheus