1 This tutorial introduces the power and features of Digi ESP™ for Embedded Linux as a development environment. It shows how to create a simple Li
10 In the View Title, type Serial Terminal. In the Connection Type combo, select Serial. The Serial Port must be configured with the device node in
11 6.2.1. Granting access to the serial port If the serial port cannot be accessed, the most probable reason is that the serial port device node d
12 6.3. Power up the target Power on the target development board using the main slider power switch on the development board (usually located at
13 • EEE.EEE.EEE.EEE is the IP address of the host computer. The last command, saveenv, saves the target's network settings in NVRAM. 6.4.2.
14 6.6. Use common Linux commands After Linux starts successfully, a basic shell is available in the Serial Console. Try entering some Linux comma
15 6.8. Connect to the target’s web server A web server is included and started by default. The web server serves a default web page that resides
16 Click the Validate Connection button to test this connection. This action validates bidirectional connectivity via telnet.
17 If Digi ESP can reach the target's IP address, this message is displayed: If it is not displayed, verify that the network settings of the
18 Click on the Hardware tab to identify the hardware components of the target device. Depending on the model type of the development board, select
19 7. Create a template-based managed make project Next, create a new application project. Select File > New > Project... The New Project w
2 1. Conventions in this tutorial This tutorial uses these conventions, frames, and symbols to display information: Convention Use Style New term
20 The Sample Selection page is displayed. The Project Type combo selects which template-based project to create. Select Digi EL Executable, which
21 The next dialog lets you choose the Digi EL environment and toolchain to build the project with. Select the target hardware platform to let the
22 The last page of the wizard shows a summary of the selections. Click Finish to create the application project. The newly created project appear
23 8. Open the sample application source code In the Project Explorer view, select the application project hello_world_c and expand it to see its
24 This is a very simple example; the Outline view becomes much more useful when working with larger source files. This is how it would look like i
25 When the build process is launched, the Console view displays output messages of the building tools. The Problems view lists any warnings and e
26 10. Run the sample application in connection with the target Once the sample project is built without any problem, launch it remotely. To do so,
27 In the Name text box, type the name of the launch configuration. For example, Hello World launch configuration. Below the Name field, the launch
28 The Remote Console view is opened to display the input/output of the application running on the target device. If the Remote Console view is c
29 Click Debug to start the debug process. A prompt is displayed asking whether to switch to the Debug perspective. Click Yes.
3 3. Check and change configuration settings as needed Using Digi ESPTM requires several system configuration settings on the host computer to be
30 The Debug perspective has a layout oriented to debugging. The application is remotely launched and stops at the main function's first line
4 In the Computer Administration section, click Monitor & Display. 3.2. Network settings To establish the connection between the development
5 3.2.1. Configure the host's network settings If the Linux host machine has a known and configured IP address, skip this step. The host com
6 4. Start Digi ESP To start Digi ESP, click the Digi ESP icon on the desktop: If no icon is displayed, run this command from the shell: $ /us
7 The Welcome page is displayed. Click on the arrow on the right side of the page to close the Welcome window and return to the Workbench. The We
8 5. Key components of the Digi ESP user interface The figure shows key components and terms in the ESP user interface, including toolbars, perspe
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
Comments to this Manuals