针对ARMSYS44B0X的minicom设置
时间:2005-09-16 来源:ZJLog
minicom是一个串口通信程序,Linux环境下我们可以用它来完成Windows下超级终端的任务.为了使它能符合ARMSYS44B0这个特殊硬件,需要进行参数的设置.
在超级终端启动minicom
[root@localhost ~]# minicom
因为还没有进行相关参数的设置,所以我们看不到bootloader的功能项.
看到minicom的欢迎界面:
Welcome to minicom 2.00.0
OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Mar 7 2005, 10:29:09.
Press CTRL-A Z for help on special keys
minicom是基于窗口的,要弹出所需功能的窗口,可按下Ctrl-A,再按各功能键(a-z或A-Z).其中按[Z]进入minicom的菜单
│ Minicom Command Summary │
│ │
│ Commands can be called by CTRL-A <key> │
│ │
│ Main Functions Other Functions │
│ │
│ Dialing directory..D run script (Go)....G | Clear Screen.......C │
│ Send files.........S Receive files......R | cOnfigure Minicom..O │
│ comm Parameters....P Add linefeed.......A | Suspend minicom....J │
│ Capture on/off.....L Hangup.............H | eXit and reset.....X │
│ send break.........F initialize Modem...M | Quit with no reset.Q │
│ Terminal settings..T run Kermit.........K | Cursor key mode....I │
│ lineWrap on/off....W local Echo on/off..E | Help screen........Z │
│ | scroll Back........B │
│ │
│ Select function or press Enter for none. │
│ │
│ Written by Miquel van Smoorenburg 1991-1995 │
│ Some additions by Jukka Lahtinen 1997-2000 │
│ i18n by Arnaldo Carvalho de Melo 1998 │
我们可以按[O]进行minicom的参数设置,终端出现配置菜单
┌─────[configuration]──────┐
│ Filenames and paths │
│ File transfer protocols │
│ Serial port setup │
│ Modem and dialing │
│ Screen and keyboard │
│ Save setup as dfl │
│ Save setup as.. │
│ Exit
使用上下方向键进行选择,回车确认,Esc退出.这里我们需要对串口参数进行修改.进入子菜单Serial port setup,修改成下面参数(原来的串口设备,波特率和硬件流控制需要修改)
│ A - Serial Device : /dev/ttyS0 │
│ B - Lockfile Location : /var/lock │
│ C - Callin Program : │
│ D - Callout Program : │
│ E - Bps/Par/Bits : 115200 8N1 │
│ F - Hardware Flow Control : No │
│ G - Software Flow Control : No │
│ │
│ Change which setting?
按Esc退回到上级菜单,选择 Save setup as df1项保存,然后退出.不需要重新启动minicom,按下开发板的复位键,出现bootloader功能项
---------------------------------------------------------------
OEM name : HangZhou LiYuTai elec. www.hzlitai.com.cn
Function : ARMSys's BootLoader for Linux V1.3
Email : [email protected]
UART comfig: 115.2kbps,8Bit,NP,UART0
using USB : Yes
Nand-flash : K9F2808
Initializing system... ... ... ... ... ... ... ... ... ... ... ...
---------------------------------------------------------------
1.Download code to SDRAM.
2.Download code to SDRAM & Nandflash.
3.Burn flashROM.
4.Copy code from flashROM to SDRAM.
5.Run at specify address.
6.Run code in Nandflash.
7.Start uClinux.
8.Format Nandflash.
9.Test hardware
要退出minicom可以先按Ctrl+A,再按Q就可以了
(具体菜单项功能可以参考minicom用户手册)