related information
Serial debugging
- General Linux Download minicom:
sudo apt-get install minicom
CentOS Download minicom:
yum install minicom
-
The Debug port EAIDK-610 development board is connected to the USB port of the host.
-
Open minicom as root:
sudo minicom -s
-
Open menu Minicom: input CTRL-A + z.
-
Minicom to enter the configuration interface: Enter the "O" select "cOnfigure Minicom".
-
Into the serial port settings: Select "Serial port setup".
-
Serial device provided: input "A", is written "/ dev / ttyUSB0", is determined by the transport.
(As with a USB serial port, if the direct use of the serial line, with the / dev / ttyS0, 1 indicates a serial port) -
Prohibit Flow Control: Type "F", press Enter to determine.
-
Set the baud rate: input "E", then input "A" until "Current 1500000 8N1", and then enter OK. (Based on individual case may be)
-
Save Settings: Select "Save setup as dfl". 10. Exit settings: Select "Exit".
Set up a virtual keyboard via serial debugging tools:
- After the restart development board, input the user's account password
- Enter virtual_keyboard,
- Complete the operation
- Ctrl + C End
File transfer between the host and the development board
- From the development board to a PC to transfer files
- #Sudo minicom -s command input in the PC terminal, into the Minicom, on the development board or reset
- Directory into the target file is located in the terminal development board
- Sz filename can command, files are automatically saved in the root directory of the PC (can be set)
- Transfer files from pc to development board
- Open the file in the directory transfer PC terminal, enter the command #sudo minicom -s, enter Minicom, on the development board or reset (set)
- First I want to receive the files in the directory under which the development board, then enter the directory in the terminal, such as: #cd / root / Documents
- Press ctrl + a, then press z, enter menu minicom
- Select s, send files into the interface, select zmode, and then press Enter, and you will enter the file name,
- Enter to start sending the file, after the completion of any key to exit
When in a user is using minicom, then switch the user, think about using minicom then prompts Device / dev / ttyS0 is locked. Just delete the / var / lock / LCK ... ttyS0, then enable minicom
Set the default directory transmission
input minicom -s on the host shell, enter the following interface:
—[configuration]------+
| Filenames and paths
| File transfer protocols |
| Serial port setup |
| Modem and dialing |
| Screen and keyboard |
| Save setup as dfl |
| Save setup as… |
| Exit |
| Exit from Minicom
Selecting a first item Filenames and paths, enter the following interface
±---------------------------------------------------------------+
| A - Download directory : /home//tmp/arm
\ B - Upload directory : /home//tmp/linux |
| C - Script directory : |
| D - Script program : runscript |
| E - Kermit program : |
| F - Logging options |
| |
| Change which setting?
Are set to A, B directory contents of,
A development board is stored to the host to send the file directory,
B is the host sends the file to the development board, the files in the directory where you want to send the host,
the modified save and exit.