반응형
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- fdisk
- 갈릴레오
- usb부팅
- pyside6
- lg smart recovery
- emIDE
- smartrobot board
- Galileo Gen2
- JTAG
- Marsboard
- U-boot
- ft2232
- HerkuleX
- 동부로봇
- 마스보드
- galileo
- Python
- ubuntu
- Boyue
- Z435
- openocd
- CMSIS
- ICbanq
- 허큘렉스
- STM32F10x
- QT
- 우분투
- ares note
- Cortex-M3
- DRS-0101
Archives
- Today
- Total
Life Seed
우분투에 minicom을 사용하자 본문
1. 설치
sudo apt-get install minicom
2. minicom 환경 설정
1) minicom -s 를 눌러 환경 설정 화면으로 들어간다.
+-----[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 |
+--------------------------+
2) 커서를 이용해 Serial port setup 를 선택한 후 포트를 설정한다.
통합보드의 경우 A를 눌러 Serial Device를 /dev/ttyUSB1 로 입력하면 된다.
+-----------------------------------------------------------------------+
| A - Serial Device : /dev/ttyUSB1 |
| 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? |
+-----------------------------------------------------------------------+
3) 설정을 마쳤으면 Save setup as dfl 를 입력하여 설정값을 저장한다.
4) Exit를 선택하면 설정화면이 종료되고 minicom이 연결된다. device가 없을 경우 설정 실패메세지가 나오며 자동으로 종료된다.
3. minicom 컨트롤
접속상태에서 Ctrl+A를 입력하면 명령어 모드로 진입한다.
이 때 사용가능한 명령을 보고 싶으면 Z를 입력한다.
sudo apt-get install minicom
sooya@sooya-ls50:~$ sudo apt-get install minicom
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
제안하는 패키지:
lrzsz
다음 새 패키지를 설치할 것입니다:
minicom
0개 업그레이드, 1개 새로 설치, 0개 지우기 및 0개 업그레이드 안 함.
175k바이트 아카이브를 받아야 합니다.
이 작업 후 1188k바이트의 디스크 공간을 더 사용하게 됩니다.
받기:1 ftp://kr.archive.ubuntu.com jaunty/main minicom 2.3-1ubuntu1 [175kB]
내려받기 175k바이트, 소요시간 1s (95.3k바이트/초)
전에 선택하지 않은 minicom 패키지를 선택합니다.
(데이터베이스 읽는중 ...현재 135757개의 파일과 디렉토리가 설치되어 있습니다.)
minicom 패키지를 푸는 중입니다 (.../minicom_2.3-1ubuntu1_i386.deb에서) ...
man-db에 대한 트리거를 처리하는 중입니다 ...
minicom (2.3-1ubuntu1) 설정하는 중입니다 ...
sooya@sooya-ls50:~$
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
제안하는 패키지:
lrzsz
다음 새 패키지를 설치할 것입니다:
minicom
0개 업그레이드, 1개 새로 설치, 0개 지우기 및 0개 업그레이드 안 함.
175k바이트 아카이브를 받아야 합니다.
이 작업 후 1188k바이트의 디스크 공간을 더 사용하게 됩니다.
받기:1 ftp://kr.archive.ubuntu.com jaunty/main minicom 2.3-1ubuntu1 [175kB]
내려받기 175k바이트, 소요시간 1s (95.3k바이트/초)
전에 선택하지 않은 minicom 패키지를 선택합니다.
(데이터베이스 읽는중 ...현재 135757개의 파일과 디렉토리가 설치되어 있습니다.)
minicom 패키지를 푸는 중입니다 (.../minicom_2.3-1ubuntu1_i386.deb에서) ...
man-db에 대한 트리거를 처리하는 중입니다 ...
minicom (2.3-1ubuntu1) 설정하는 중입니다 ...
sooya@sooya-ls50:~$
2. minicom 환경 설정
1) minicom -s 를 눌러 환경 설정 화면으로 들어간다.
+-----[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 |
+--------------------------+
2) 커서를 이용해 Serial port setup 를 선택한 후 포트를 설정한다.
통합보드의 경우 A를 눌러 Serial Device를 /dev/ttyUSB1 로 입력하면 된다.
+-----------------------------------------------------------------------+
| A - Serial Device : /dev/ttyUSB1 |
| 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? |
+-----------------------------------------------------------------------+
3) 설정을 마쳤으면 Save setup as dfl 를 입력하여 설정값을 저장한다.
4) Exit를 선택하면 설정화면이 종료되고 minicom이 연결된다. device가 없을 경우 설정 실패메세지가 나오며 자동으로 종료된다.
3. minicom 컨트롤
접속상태에서 Ctrl+A를 입력하면 명령어 모드로 진입한다.
이 때 사용가능한 명령을 보고 싶으면 Z를 입력한다.
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
Paste file.........Y | 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
CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.3 | VT102 | Offline
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
Paste file.........Y | 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
CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.3 | VT102 | Offline
반응형