Ubuntu12.04 use serial port debugging Android implementation (hardware USB to serial port pl2303 + software minicom)

Source: Internet
Author: User

1. Check whether the kernel supports USB to serial port

2. Set minicom

3. link the android Development Board and restart the system.

Note:

1, if not normal link, please check the serial first TXD-RX, RXD-TX, GND-GND is correct, link OK, you can see the onlie, instead of offline. See the figure below:

2. If the minicom file is garbled, enter gedit. bashrc, add the export lang = zh_CN.UTF-8 at the end to modify the system language and enter .. bashrc make the change take effect, and use echo $ Lang to check whether the change is OK; or directly enter export lang = zh_CN.UTF-8 in the console (it is not valid after restart); if it still cannot be resolved, please try to replace the USB-to-serial line or re-weld the solder joint.

3. After the link is OK, if The minicom is forcibly disabled, it will appear again

Lxc @ lxc-PC :~ $ Sudo minicom
[Sudo] password for lxc:
Device/dev/ttyusb0 is locked.

Solution: delete/var/lock/LCK .. ttyusb0:



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.