Tina R16开发说明

TinaV2.1 Development Introduction

TinaV2.1 开发说明

1.Use and installation of Adb tool

Adb工具的使用和安装

1.1 adb introduce

adb工具介绍

​ adb stands for Android Debug Bridge, which acts as a debugging bridge between PC and mobile phone, tablet, and development board. With the help of adb tool, we can manage the device and perform many operations, such as running shell commands and sending files to the development board.

adb全称Android Debug Bridge,对于PC和手机.平板.开发板之间,起到调试桥的作用。借助adb工具, 我们可以对设备进行管理,还可以进行很多操作,比如运行shell命令,向开发板发送文件等。

1.2 adb installation and configuration

adb工具的安装和配置

  • adb installation

    adb 安装

    sudo apt-get install android-tool-adb
    
  • adb configuration

    adb 的配置

    1. Connect the development board and the computer correctly, start minicom or putty, and see the system in the development board start normally and enter the shell in the minicom terminal. If you have not programmed the Tina system to the development board, please first program the system

    将开发板和电脑正确链接,启动minicom或putty,要在minicom终端里看见开发板里系统正常启动并进入shell,如果没有烧写Tina系统到开发板,请先烧写系统

    ​ 2.Open the terminal on the computer, run the command lsusb, check the device, and find the serial port connected between the computer and the development board, as follows:

    打开电脑上的终端,运行命令lsusb,查看设备,找到电脑和开发板相连接的串口,如下:

    lsusb

    ​ 3.Use the command sudo vim /etc/udev/rules.d/50-android.rules to open the 50-android.rules file on the computer (create one if not) for configuration, so that the computer can recognize this serial port. The specific configuration is as follows (that is, write in this file):

    使用命令 sudo vim /etc/udev/rules.d/50-android.rules 打开电脑上的50-android.rules文件(如果没有就创建一个)进行配置,这样电脑就能识别到此串口。具体配置如下(即在此文件里写入):

    50-android

    ​ The SUBSYSTEM option remains unchanged, the ATTR{idVendor} option fills in the device ID (the device ID is shown in the figure above, fill in according to your own device), the ATTR{idProduct} fills in the device product ID (the device product ID is in the f

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值