Easyarm I. mx28 Study Notes-configuration and use of minicom

Source: Internet
Author: User
0 PrefaceThere are many serial debugging software in windows, such as putty. Ubuntu also has many serial debugging software, the simplest and most practical of which is minicom. This article describes how to use minicom for serial port debugging on a virtual machine, including loading a USB device to the virtual machine, checking whether the USB device exists, minicom port number, baud rate, and other configurations.
To better develop embedded Linux on virtual machines, we recommend that you install VMware tool to conveniently copy and paste files on virtual machines and hosts. [Linux Study Notes-install VMware Tools on a virtual machine]
1. Load the device into the VMAfter running the VM, click player in the upper-right corner and select connect to the USB device. If the VM has been connected before, the VM will be automatically connected after it is opened.
Figure 1 attach a USB device to a VM 2. Check whether the USB to serial port device exists.Ls-L/dev | grep ttyusb
If you have successfully connected to the USB to serial port tool, you can find ttyusb0 or ttyusb1.

3. minicom parameter configuration[1] sudo minicom-s [2] move the cursor up and down to enter "Serial Port setup"

Figure 2 configure minicom -- Serial Port
[3] enter a or other characters as prompted to set the specified function
[A] specifies the port number, which is equivalent to COM1 and com2 in windows. [E] set the baud rate, for example, 115200.
[F] and [g] are generally recommended to disable No. Otherwise, only messages that cannot be sent can be received.
Figure 3 configuration of minicom-port number and baud rate
4. Use minicomIn the console, enter sudo minicom and the user password.
Figure 4 logon to easyarm using minicom

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.