Difference between revisions of "Ms14 uart"

From Wiki for Dragino Project
Jump to: navigation, search
(Created page with "==Introduction== ms14 has a uart interface expose on the 2x8 router connector. this interface can be act as: *Console port to debug the openwrt system inside ms14. refer link [...")
 
(Introduction)
Line 1: Line 1:
==Introduction==
+
==Different modes of UART==
  
 
ms14 has a uart interface expose on the 2x8 router connector. this interface can be act as:
 
ms14 has a uart interface expose on the 2x8 router connector. this interface can be act as:
Line 5: Line 5:
 
or
 
or
 
*UART interface to communicate to other devices such as a avr daughter board.
 
*UART interface to communicate to other devices such as a avr daughter board.
 +
 +
to disable UART as a console port, user can comment the related line in file /etc/inittab. And reboot the device.
 +
 +
root@dragino2-684db6:/# vi /etc/inittab
 +
 +
::sysinit:/etc/init.d/rcS S boot
 +
::shutdown:/etc/init.d/rcS K shutdown
 +
#ttyATH0::askfirst:/bin/ash --login                        // Comment this line to disable uart as console.

Revision as of 10:03, 21 September 2013

Different modes of UART

ms14 has a uart interface expose on the 2x8 router connector. this interface can be act as:

  • Console port to debug the openwrt system inside ms14. refer link here.

or

  • UART interface to communicate to other devices such as a avr daughter board.

to disable UART as a console port, user can comment the related line in file /etc/inittab. And reboot the device.

root@dragino2-684db6:/# vi /etc/inittab 
::sysinit:/etc/init.d/rcS S boot
::shutdown:/etc/init.d/rcS K shutdown
#ttyATH0::askfirst:/bin/ash --login                        // Comment this line to disable uart as console.