5.1Minicom Communication Configuration-linux Environment

Source: Internet
Author: User

?

Minicom Communication Configuration-linux Environment

  1. Use serial cable, USB to serial port. One end links the lab box and one end links the PC.
  2. To view the port number:

    PC: My Computer-----> right click-----> select Manage----> select Device Manager----> select port---->prolific-usb-to-serial Comm port (COM1 ).

    This is the port number of my PC COM1. You choose the port number based on your PC.

    3. Port settings: Operate as follows:

    1. Select your port, right click, select Properties, the following interface appears, select port settings. The parameters are as follows: Baud rate is 115200, data bit 8 bit, parity bit none, data stop bit 1 bit, data flow control bit none. such as: Final OK save.

      Attach: As shown above COM1, if you want to change this port number, for example change to COM2. The operation is as follows:

      Click the advanced option: Get:

    In the lower left corner, select the port number you want, and always be sure to exit.

  3. In 3 we configured the port of the PC, then we configure the minicom port of Linux in the virtual machine.

    The first is to open the desktop of the Oracle VM VirtualBox virtual Machine (double-click the icon), select the computer you want to open Ubuntu: then click on the top of the screen to start the virtual computer to start. Such as:

    ?

    ?

    In the process of booting, due to the problem of the network card, there will be a prompt, click OK to reset the network card on the line.

    Then come to the landing computer interface:

    ?

    ?

    Enter Superuser (user name): Root Enter, Password: Wenjin enter. A warning will appear, click Continue. Such as.

    ?

    This is the Ubuntu interface:

    ?

    ?

    Next, open the terminal terminal, double-click the desktop shortcut, or press:

    Application----> Accessories----> Terminal:

    Enter in the Open Terminal: minicom-s return.

    The Configuration interface appears:

    ?

    We select the upper and lower keys on the keyboard to switch to the serial port setting options, enter, appear: And then click on the keyboard a key, indicating the selection of the first serial port settings.

    When we press the A key, the cursor is positioned at the A option. The next step is to fill out our port number:

    We click the back of the keyboard to delete the key until there is no response, clear the original information:

    ?

    ?

    Then fill in our port number: Format:/dev/ttyusb0. After filling out, enter exit. Two times return to the original interface:

    Note: The number behind the USB is a value minus 1 after the number in your PC. For example, my PC is COM1, then my USB is USB0.

    Then we press the key, select the settings to save as DFL, enter to save:

    Continue to press the key, select Exit, enter, return to the Minicom settings screen.

    So we set up the Minicom terminal.

    ?

    ?

    ?

    Next is the test:

    In the lower right corner of our virtual machine there is a USB-shaped icon:

    Right-click on the icon and choose our device: Prolific-usb-to-serial Comm Port. In this way, the port of our virtual machine can be linked to the port of the physical machine. Open Terminal Terminal, in the Open Interface input: minicom, enter, such as:

    ?

    This interface appears because we haven't turned on the switch on the lab box yet. Now let's open the lab box. You'll see something out there:

    ?

    This is where the Ubuntu operating system in our lab is booting up.

    Start up as follows:

    We follow the prompts, enter into the lab's system Reagan directory, we can operate here:

    ?

  4. Experiment Experience:

    This is the first experiment of embedded system, set up minicom software, make the PC host and Development Board can communicate information, including information display and file upload and download function. The whole process was very smooth.

5.1Minicom Communication Configuration-linux Environment

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.