วันเสาร์ที่ 27 กุมภาพันธ์ พ.ศ. 2553

Easy way,HOW to test serial on embedded linux with minicom

Easy way,HOW to test serial on embedded linux with minicom
when you want to test serial port over this case,we tested with gbox sam9260 board.
OVER EMBEDDED BOARD TERMINAL
1.The first,you need to install minicom packet on your embedded board
#apt-get install minicom
JUST WAIT
2.now you got minicom packet,so you would do configuration later
#minicom -s
Then,you would see configuration table and choose SERIAL PORT SETUP and enter
you would see setting table and set parameter what you want such as
if you want to connect via USB0 (USB to serial)
press A and type in A- Serial Device to /dev/ttyS1 then press enter to first page
3.choose SAVE SETUP AS DFL and choose EXIT later
4.test serial (if there is not equipment to connect with your serial port,may be you need to connect loop back to your serial by hard wire between RX and TX and connect CTS<>RTS)
#minicom
type anything you would see anything what you typed.
5.If you want to exit program press 'Ctrl+a' then 'z' then 'x' and enter
Thanks for anyone please and Greats day.

1 ความคิดเห็น: