SlideShare a Scribd company logo
OrangePi Debug Tool for Serial
Item:
OrangePi,TTL to USB cable
In order to get more debug log from the process of using the OrangePi to do project development ,OrangePi is
defualt setting to support the debug log from serial.For the developor,just need the above items ,you can get the
log easil.
一. Linux Platform
The Debug Tool for Serial for different PC has not much difference on Linux,can refer to the following
methods.There are many Debug tools for Serial on Linux ,the common ones is "minicom" and "kermit ".We
will use the kermit as a sample to explain it.
1. Install kermit
Use the command to install:
sudo apt-get install ckermit
Configure the kermit:
sudo vi /etc/kermit/kermrc
Add the line:
set line /dev/ttyUSB1
set speed 115200
set carrier-watch off
set handshake none
set flow-control none
robust
set file type bin
set file name lit
set rec pack 1000
set send pack 1000
set window 5
c
2. Use the "TTL to USB" serial cable to connect the PC and OrangePi
3. Input the command at the PC terminal , search the device number of the "TTL serial "cable.
ls /dev
From the illustration,the TTL serial cable is recognized as "ttyUSB0",modify /ect/kermit/kermitc
file,update the kermitc parameter.
sudo vi /etc/kermit/kermitc
Set the "setline" value as /dev/ttyUSB0
4. Use the kermit to get the debug log.
Input the command on the PC terminal,enter the kermit mode:
sudo kermit -c
Turn on the OrangePi,the serial will output the log automatically.
Debug with termi nal  r 2

More Related Content

PDF
Beta kate
PPTX
Linux one sles12sp3 installation lpar
PDF
Steps to install ns3
PDF
Quick Steps to Install NS2 on Ubuntu 16.04
PPT
managing your network environment
DOCX
Saad baig practical file
PDF
Mirko Damiani - An Embedded soft real time distributed system in Go
PDF
Introduction to tcpdump
Beta kate
Linux one sles12sp3 installation lpar
Steps to install ns3
Quick Steps to Install NS2 on Ubuntu 16.04
managing your network environment
Saad baig practical file
Mirko Damiani - An Embedded soft real time distributed system in Go
Introduction to tcpdump

What's hot (20)

PDF
Tcpdump
PDF
ExaProxy
PPT
TXT
Hosts fpt
PPTX
How to configure pfsense
PPTX
Network configuration
DOCX
Packet Tracer: Nat protocol
ODP
Introduction to Diskless Remote Boot in Linux
PPTX
Understanding iptables
PPT
Chapter5ccna
PDF
Translation Cache Policies for Dynamic Binary Translation
PDF
Packet Filtering Using Iptables
PPT
IP tables
PPT
TCPdump-Wireshark
ODP
sshuttle VPN (2011-04)
PPTX
Installation of ubuntu, ns3 and compiling first
PPT
Александр Зайцев - Port Knocking, short notes
PPT
Intro to router_config
PPTX
DevSecCon London 2018: Get rid of these TLS certificates
PPT
Nmap(network mapping)
Tcpdump
ExaProxy
Hosts fpt
How to configure pfsense
Network configuration
Packet Tracer: Nat protocol
Introduction to Diskless Remote Boot in Linux
Understanding iptables
Chapter5ccna
Translation Cache Policies for Dynamic Binary Translation
Packet Filtering Using Iptables
IP tables
TCPdump-Wireshark
sshuttle VPN (2011-04)
Installation of ubuntu, ns3 and compiling first
Александр Зайцев - Port Knocking, short notes
Intro to router_config
DevSecCon London 2018: Get rid of these TLS certificates
Nmap(network mapping)
Ad

Similar to Debug with termi nal r 2 (20)

PDF
BeagleBone Black: Platform Bring-Up with Upstream Components
DOCX
Backtrack Manual Part4
PDF
LIGGGHTS installation-guide
PDF
Linux Server Deep Dives (DrupalCon Amsterdam)
PPTX
How to Use GSM/3G/4G in Embedded Linux Systems
PDF
Defcon 22-zoltan-balazs-bypass-firewalls-application-whiteli
PPTX
Micro c lab2(led patterns)
PDF
snortinstallguide
PPT
U Boot or Universal Bootloader
PPTX
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
PDF
Enabling TPM 2.0 on coreboot based devices
PDF
Complete MPICH2 Clustering Manual in Ubuntu
DOC
It04 roshan basnet
PDF
Raspberry pi Board Hardware & Software Setup
PDF
03 linuxfirewall1
PDF
Tesla Hacking to FreedomEV
PDF
How to WRAPS like Snoop Dogg
PDF
Os Selbak
PDF
Hacking Highly Secured Enterprise Environments by Zoltan Balazs
PPTX
Hacker Halted 2014 - Post-Exploitation After Having Remote Access
BeagleBone Black: Platform Bring-Up with Upstream Components
Backtrack Manual Part4
LIGGGHTS installation-guide
Linux Server Deep Dives (DrupalCon Amsterdam)
How to Use GSM/3G/4G in Embedded Linux Systems
Defcon 22-zoltan-balazs-bypass-firewalls-application-whiteli
Micro c lab2(led patterns)
snortinstallguide
U Boot or Universal Bootloader
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
Enabling TPM 2.0 on coreboot based devices
Complete MPICH2 Clustering Manual in Ubuntu
It04 roshan basnet
Raspberry pi Board Hardware & Software Setup
03 linuxfirewall1
Tesla Hacking to FreedomEV
How to WRAPS like Snoop Dogg
Os Selbak
Hacking Highly Secured Enterprise Environments by Zoltan Balazs
Hacker Halted 2014 - Post-Exploitation After Having Remote Access
Ad

Recently uploaded (20)

PDF
PPT on Performance Review to get promotions
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Construction Project Organization Group 2.pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Well-logging-methods_new................
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
web development for engineering and engineering
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPT
Mechanical Engineering MATERIALS Selection
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
DOCX
573137875-Attendance-Management-System-original
PPTX
additive manufacturing of ss316l using mig welding
PPT on Performance Review to get promotions
Automation-in-Manufacturing-Chapter-Introduction.pdf
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Construction Project Organization Group 2.pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Well-logging-methods_new................
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
Foundation to blockchain - A guide to Blockchain Tech
web development for engineering and engineering
Internet of Things (IOT) - A guide to understanding
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Mechanical Engineering MATERIALS Selection
CH1 Production IntroductoryConcepts.pptx
Model Code of Practice - Construction Work - 21102022 .pdf
Embodied AI: Ushering in the Next Era of Intelligent Systems
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
573137875-Attendance-Management-System-original
additive manufacturing of ss316l using mig welding

Debug with termi nal r 2

  • 1. OrangePi Debug Tool for Serial Item: OrangePi,TTL to USB cable In order to get more debug log from the process of using the OrangePi to do project development ,OrangePi is defualt setting to support the debug log from serial.For the developor,just need the above items ,you can get the log easil. 一. Linux Platform The Debug Tool for Serial for different PC has not much difference on Linux,can refer to the following methods.There are many Debug tools for Serial on Linux ,the common ones is "minicom" and "kermit ".We will use the kermit as a sample to explain it. 1. Install kermit Use the command to install: sudo apt-get install ckermit Configure the kermit: sudo vi /etc/kermit/kermrc Add the line: set line /dev/ttyUSB1 set speed 115200 set carrier-watch off set handshake none set flow-control none robust set file type bin set file name lit
  • 2. set rec pack 1000 set send pack 1000 set window 5 c 2. Use the "TTL to USB" serial cable to connect the PC and OrangePi
  • 3. 3. Input the command at the PC terminal , search the device number of the "TTL serial "cable. ls /dev From the illustration,the TTL serial cable is recognized as "ttyUSB0",modify /ect/kermit/kermitc file,update the kermitc parameter. sudo vi /etc/kermit/kermitc Set the "setline" value as /dev/ttyUSB0
  • 4. 4. Use the kermit to get the debug log. Input the command on the PC terminal,enter the kermit mode: sudo kermit -c Turn on the OrangePi,the serial will output the log automatically.