In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to install and configure ckermit tools. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Kermit File Transport Protocol is a simple file transport protocol used to exchange files between PC. It was developed by Columbia University and named after Kermit the Frog. It provides a way to download files from a large computer to a microcomputer. It has been used for public data transmission.
Kermit file transport protocol is a half-duplex communication protocol.
It supports 7-bit ASCII characters
Data is transmitted in packets of variable length up to 96 bytes in length
An acknowledgement is required for each packet that is transmitted
Multiple files can be transferred in each session
Easier to use than minicom
Kermit installation and configuration
Installation:
Apt-get install ckermit
Configuration:
Vi / etc/kermit/kermrc
The following are recommended configurations when using U-Boot and Linux
Set line / dev/ttyUSB0
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
# add the above settings to "/ etc/kermit/kermrc"
# / dev/ttyUSB0 indicates that the development board is connected with usb to serial port. If only the serial port is used to connect the host, it needs to be set to / dev/ttyS0.
Start
-
Start kermit and connect the serial port:
# kermit
C-Kermit > connect
# now it has been successfully connected to the serial port.
Handover
-
Press Ctrl+\, then press c to jump back to kermit
C-Kermit >
At this point, type c, that is, connect, to connect to the serial port.
Send a file
-
After entering connect in kermit, it is transferred to the u-boot serial interface.
Enter loadb 0x00300000 to start the kermit protocol on the development board.
Press Ctrl +\, then press c to switch to kermit.
C-Kermit > send / home/share/uImage.pkg
Kermit starts the transfer and displays a transfer interface and dynamically displays the transfer progress.
After the transmission is finished, enter c, that is, the connect command, to return to the serial interface of u-boot.
Use the u-boot command to start the kernel.
When the download is finished, close the terminal window, reopen a terminal, and then kermit-c is using cp.b dest src len to copy the program into flash.
Speed comparison: kermit under Linux is much faster
Thank you for reading! This is the end of the article on "how to install and configure ckermit tools". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.