Console UART To Application UART RS232

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Console UART To Application UART RS232

1,113件の閲覧回数
admin
Specialist II

Hi all,

      we are using mx28, in our board, we have one rs232 port (console port).  

we like to use for application purpose.

after  login, how to use the the console UART to application UART.

Thanks.

ラベル(1)
0 件の賞賛
返信
1 返信

645件の閲覧回数
Raybiztech
Contributor V

Serial console can be extremely convenient if you need to access your imx28-board when it is not connected to a monitor and network remote access is not available.

If you intend to use the serial port for a software application running on the IMX28- board, there is a bit of configuration required to disable the console from using this port. By default, the serial port is configured as a console port for interacting with the Linux os shell. The following steps will guide you through disabling the port from console access.

Step1: while passing bootargs env variable to uboot, edit console parameter from “console=ttymxc1” to “console=tty1”

Step 2:

--> if you are usnig Buildroot, openembedded, yocto, Debian based root filesystem means comment following line in “etc/inittab” file,

T0:23:respawn:/sbin/getty -L ttymxc1 115200 vt100


--> if you are using ltib based root file system means add following lines at starting line in “etc/rc.d/rc_mxc.S” file,


if grep -sq tty1 /proc/cmdline; then

      /sbin/getty -L tty1 115200 vt100

fi



Thanks & Regards,

RAY BIZ Tech.

0 件の賞賛
返信