Changes

Jump to: navigation, search

Orange Pi 2G-IoT

140 bytes removed, 15:37, 28 June 2022
Operations on Linux
set window 5
</div>
<div style="padding-left:200px;">[[File:Orange-pi-i96-img83.png|600px]]</div>
<br>
'''2)Connect method for debug'''
 Use the TTL to the serial port cable, one end connected to OrangePi, the other end connected to PC
<br>
<div style="padding-left:200px;">[[File:Orange-pi-2g-iot-img64.png|300px]]</div>
<br>
'''3)Equipment information acquisition'''<br>
<br>
$ ls /dev/ (Input command in the PC terminal to check the device number of TTL to the serial cable)
<div style="padding-left:100px;">[[File:Orange-pi-i96-img85.png|800px]]</div>
<br>
* It can be seen from the figure that TTL to the serial port cable is identified as ttyUSB0, configure the /ect/kermit/kermitc file, update the serial port information.<br>
 $ sudo vi /etc/kermit/kermitc
* Set the value of setline into /dev/ttyUSB0
<div style="padding-left:100px;">[[File:Orange-pi-i96-img86.png|800px]]</div>
<br>
'''4)Start debug'''
* Input command in the host computer terminal, enter the Kermit mode:
 $ sudo kermit –c
<div style="padding-left:100px;">[[File:Orange-pi-i96-img86.png|800px]]</div>
<br>
* Power it on and boot Orange Pi, the serial port will automatic print debug log, the account and password ard root/orangepi and orangepi/orangepi

Navigation menu