In this section, you will access the serial terminal through the debug UART interface. In this module you will:
Note: We will access the module using the Serial Terminal, therefore the USB keyboard and video interface connected to the module will not be used in this section.
Open a terminal in the host machine:
Install a serial terminal emulator application in your host computer:
sudo apt-get install minicom
To find out what is the serial port device that you must use, you can execute the command below:
ls -l /dev/serial/by-id
Alternatively, use the command below. If in doubt: unplug the USB-Serial adapter --> execute the command --> plug the USB-Serial adapter --> execute the command again and find the new device listed.
ls -l /dev/tty*
The new device listed, in this case /dev/ttyUSB0 is the USB-serial adapter. It will be required when you start the serial application.
To start the serial application, the parameters must be correctly set. The table below presents them:
For instance, to use minicom you only need to adjust the serial port - the other parameters are correctly set by default. You might need to have administrator privilege to access the hardware. See the following steps to learn how to configure minicom.
Start minicom configuration menu:
sudo minicom -s
You will see a menu such as in the figure below:
Press the "a" key from your keyboard to edit the Serial Device field. Use the device found in step 3 for your system:
Press "Enter" until you return to the previous menu.
Save the setup as default:
Choose the "Exit" option and the terminal will be ready:
Note: To exit Minicom, press "ctrl+a" and then press "x".
Power-on the embedded system. Messages will immediately start to be printed to the serial terminal. When the module finishes booting, you will have a terminal such as from the image below. This means that you have access to the serial terminal of the system, and that it has Windows CE pre-installed. In the next section, you will update the module OS to Linux.