Use minicom under Linux

Install minicom

The computer connected to the network;

Open the terminal mode;

Linux command input terminal: sudo apt-get install minicom
enter the user password, through the installation;

Set mnicom

First serial device connected to the PC
in the terminal input command ls -l / dev / ttyS * serial number query (assuming serial number query to the / dev / ttyUSB0);

Enter the command sudo minicom -s, enter the settings (the serial number changed to serial queries)
to save and exit;

Enter minicom

Run minicom
target board reset, can mount;

Ls to see the implementation of the internal resources of the chip mount successful

Example: the program runs to completion DC
insmod dc-motor.o
run ./dcm_main

Guess you like

Origin blog.csdn.net/qq_43764737/article/details/92159098