
9
6. Work with the target
The target prints out messages in one of the serial ports (see your specific Quick Start Guide sheet).
Working with the target involves these tasks:
• Identify the device node of the host's serial port
• Open and configure the Serial Console view
• Power up the target
• Configure the target’s network settings
• Start Linux on the target
• Use common Linux commands and verify network connectivity
• Connect to the target's web server
• Create a Target Remote Configuration
6.1. Discover the device node of the host's serial port
In Linux, serial ports are special files called device nodes. They are normally populated as /dev/ttySn
(where n is an index number).
To determine the available serial ports on your computer, execute the following command from the shell:
[17179574.464000] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[17179574.468000] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[17179574.468000] 0000:00:0b.0: ttyS4 at I/O 0xc800 (irq = 169) is a 16550A
[17179574.468000] 0000:00:0b.0: ttyS5 at I/O 0xc808 (irq = 169) is a 16550A
This command lists the serial ports detected by the system. In the example, three serial ports have been
detected: ttyS0, ttyS4 and ttyS5.
If using a USB to Serial converter, serial ports will normally populate as
/dev/ttyUSBn, where n is an index number.
6.2. Open and configure the Serial Console view
The target board prints out messages on the serial port. To open a Serial Terminal in Digi ESP, select
Window > Show View > Terminal. This view is typically displayed in the bottom part of the Workbench
window, next to the Task view. Open the Terminal Settings dialog by clicking the Settings button on the
Terminal view's toolbar.
Comentarios a estos manuales