UMSD CLI User Manual
UMSD%20CLI%20User%20Manual
UMSD%20CLI%20User%20Manual
User Manual:
Open the PDF directly: View PDF
.
Page Count: 4
| Download | |
| Open PDF In Browser | View PDF |
UMSD CLI User Manual 1. Overview CLI program emulates one telnet command line interface for UMSD API verification, there will be one command for each UMSD API, and it validates both chip and API functions. The program has been tested on Linux (Ubuntu 14.04 LTS 32/64bit) platform with the telnet client terminal “Putty”, through Marvell USB2SMI adapter or RMU setup. This host application is used to verify the USMD APIs and depends on third party library “libusb” and “libpcap”. These third party libraries should be installed in the target system. You can use the following command for X86 Ubuntu system to install the libraries. Note: If you are using embedded system, you should port the “libusb” and “libpcap” to the embedded system by yourself. 2. CLI application setup 2.1 Telnet server 1) Install libusb for SMI access, run the command on Ubuntu 14.04 for example. sudo apt-get install libusb-1.0 2) Install libpcap for RMU access, run the command on Ubuntu 14.04 for example. sudo apt-get install libpcap0.8-dev 3) Switch to UMSD root folder and run the command to source the global building variables. source setenv 4) Switch to host/linux folder and run command to build the test program. make 5) Start the telnet sever application. sudo ./MCLI Choose SMI Interface for example: Or choose the RMU DSA mode: 2.2 Telnet client Terminal Using “Putty” as client terminal to connect to the server. 3. Commands usage 3.1 help usage Using “help” to show all the commands description. Using “cmd help” to show all the sub command detail description Using “cmd help subcmd” to show the parameter description and example 3.2 Arrow key handle This CLI application can handle the following arrow keys: “Tab”, “Backspace”, “left/right/up/down”. “Tab”: Tab completion, support the single completion and double tab for more than one completion. “Backspace”: backspace character “left/right”: left/right cursor motion “up/down”: show one history item 3.3 File operation The commands can be invoked from file by type the command "file". Write the command in the file line by line and the prefix "#" means this line is comment. Note: the file must be in server side, for example, the telnet sever is running on one Linux PC and the file is on the same PC with path: /home/netter/test/test.txt
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.5 Linearized : No Page Count : 4 Language : en-US Tagged PDF : Yes Author : Guangwei Zhou Creator : Microsoft® Word 2013 Create Date : 2017:08:09 11:31:49-07:00 Modify Date : 2017:08:09 11:31:49-07:00 Producer : Microsoft® Word 2013EXIF Metadata provided by EXIF.tools