USB connection of RK development board (Ubuntu)

1. Install connection tools

sudo apt-get install putty

2. Start the putty tool

sudo putty

3. Connect USB and view relevant information

# 查看接入的是否有usb
ls /dev/tty*

The display is as follows: (including USB interface: /dev/ttyUSB0 )

/dev/tty /dev/tty23 /dev/tty39 /dev/tty54 /dev/ttyS10 /dev/ttyS26

/dev/tty0 /dev/tty24 /dev/tty4 /dev/tty55 /dev/ttyS11 /dev/ttyS27

/dev/tty1 /dev/tty25 /dev/tty40 /dev/tty56 /dev/ttyS12 /dev/ttyS28

/dev/tty10 /dev/tty26 /dev/tty41 /dev/tty57 /dev/ttyS13 /dev/ttyS29

/dev/tty11 /dev/tty27 /dev/tty42 /dev/tty58 /dev/ttyS14 /dev/ttyS3

/dev/tty12 /dev/tty28 /dev/tty43 /dev/tty59 /dev/ttyS15 /dev/ttyS30

/dev/tty13 /dev/tty29 /dev/tty44 /dev/tty6 /dev/ttyS16 /dev/ttyS31

/dev/tty14 /dev/tty3 /dev/tty45 /dev/tty60 /dev/ttyS17 /dev/ttyS4

/dev/tty15 /dev/tty30 /dev/tty46 /dev/tty61 /dev/ttyS18 /dev/ttyS5

/dev/tty16 /dev/tty31 /dev/tty47 /dev/tty62 /dev/ttyS19 /dev/ttyS6

/dev/tty17 /dev/tty32 /dev/tty48 /dev/tty63 /dev/ttyS2 /dev/ttyS7

/dev/tty18 /dev/tty33 /dev/tty49 /dev/tty7 /dev/ttyS20 /dev/ttyS8

/dev/tty19 /dev/tty34 /dev/tty5 /dev/tty8 /dev/ttyS21 /dev/ttyS9

/dev/tty2 /dev/tty35 /dev/tty50 /dev/tty9 /dev/ttyS22 /dev/ttyUSB0

/dev/tty20 /dev/tty36 /dev/tty51 /dev/ttyprintk /dev/ttyS23

/dev/tty21 /dev/tty37 /dev/tty52 /dev/ttyS0 /dev/ttyS24

/dev/tty22 /dev/tty38 /dev/tty53 /dev/ttyS1 /dev/ttyS25

# 查看串口的相关信息
sudo stty -F /dev/ttyUSB0 -a

# Input:Specific speed1500000
speed 1500000 baud; rows 0 ; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = < underf > ; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
world = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff
-iuclc -ixany -imaxbel -iutf8
-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -part nl0 cr0 tab0 bs0 vt0 ff0
-isig -icanon iexten -echo -echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke -flusho -extproc

4. Configure putty according to the above usb information

Use serial communication, fill in the device number and baud rate

Set the flow control mechanism of Flow control to None

Press the Open button to enter the shell interface of the development board

Guess you like

Origin blog.csdn.net/caip12999203000/article/details/132662295