In the learning of embedded, in the use of Ubuntu to connect the development Board when the software setup problem is plagued by death, multi-find, is not the configuration after 2013, in this, chat with you about the setup of the Development Board, I new study, may write too shallow, readers do not spray.
This article only said that the serial port to the USB configuration information, installs what the same as other posts, the net searches.
First, the environment:
PC System: Ubuntu 12.04
Development Board: Friendlyarm smart210 (like this name)
There are three types of tool setup issues: PUTTY, SECURECRT, Kermit
First, PUTTY
Relatively speaking, Putty is the best set (probably my version of the problem or the same is unclear)
Open Putty in the session window, select Serial,
Serial line fill in/dev/ttyusb0
Speed is 115200.
Click on the Open button
Second, SECURECRT
The settings of this software are related to the version.
I didn't know I had a version of the CRT from there, it was set up and its trouble, and the port options were only COM1, COM2, COM3 ... There is no/DEV/TTYS0 option at all.
Recommended from the CRT official Web download, my version is 7.2.6, not cracked, hack please web search.
Create a new connection, select Serial, click Next,port/dev/ttyusb0 (tail-f/var/log/messages Dynamic View interface status: Plug and unplug the serial to USB cable, when Unplugged will prompt port:ttyusb0, carefully review As if Ubuntu 12.04 does not have/var/log/messages files, Web search settings can be).
Port:/dev/ttyusb0 (Forget if there is no/dev/ttyusb0 in the port, just write it without the words)
Baud rate:115200
Data Bits:8
Parity:none
Stop bits:1
Flow control is not selected.
Ok! It is recommended to read the last paragraph of this article.
Third, Kermit
According to the post I found, the configuration seems to be easy.
Install Kermit sudo apt-get install Ckermit
After completion sudo VIM/ETC/KERMIT/KERMRC
Add the following settings in line 14 (this file is similar to the initialization parameters of Kermit)(the end of the file should also be available, not tried)
Set line/dev/ttyusb0 set speed 115200 set Carrier-watch off set handshake none set Flow-contr Ol None Robust set file type bin set file name lit Set REC Pack set Send pack 1000 Set Window 5
After the setup is finished, note the file header in English with hints:
; If you want to run additional user-specific customisations in
; addition to the file, place them in ~/.MYKERMRC
Your file hints that this ~/.MYKERMRC may not be the same name as your.
This ~/.MYKERMRC file is to be built under its own home directory. (This file is the author's custom configuration)
The above configuration information is also populated in the. mykermrc. (Online there is a "C" at the end of the file, it is recommended to ignore).
Ok!
Start: Terminal input Kermit
C-kermit>connect
Last paragraph: All the content in this article was the result of my experiment three hours ago, October 18, 2014. Although on these lines, but still let me search on the internet for a long time, sadly, I set up after the completion of the result is still no effect. Don't go in there. Kermit FAQ: Sorry, you must set line or set HOST first. Oh, again check side configuration bar. SECURECRT also not even, decisive play the game went, half an hour after a try, TMD the two goods themselves, no language is very. May need to restart? Take care to break out the net and try again. Some posts say to assign ttyUSB0 permission, sudo chmod 777/dev/ttyusb0. But I don't seem to have set it.
This article is from the "An-mo-ka" blog, make sure to keep this source http://anmoka.blog.51cto.com/4151746/1565490
Ubuntu Connection Development Board (serial to USB) putty, SECURECRT, Kermit settings