User Guide

  • 2020
  • 12/10/2019
  • Public Content

Debugging Arduino Create projects

Applications imported into the
Intel® System Studio
from Arduino Create* can be run on supported hardware using the
Remote C/C++ Application
option.

Step 1. Create a run configuration

  1. Click the black drop-down arrow next to the
    Run
    icon. Choose
    Run Configuration
    .
  2. The Run Configurations dialog box opens. Double-click to expand
    C/C++ Remote Application
    . Confirm that the name of the configuration and the name of the project are as desired.
  3. To choose the application to run, click the
    Search Project
    (
    1
    ) button and select the binary to run.
    In the current example, we'll choose
    Blink_copy
    (
    2
    ). Click
    OK
    (
    3
    ).
  4.  Verify the build configuration options are set as needed.
  5. In the
    Remote Absolute File Path for C/C++ Application
    field (
    1
    ), provide the file name that the remote device should receive.
    Do not enter a directory
    .
    In the example below, the file name is
    /tmp/blink
    .

Step 2. Set up a remote connection

To debug on a remote device, you need to set up a Remote Connection.
  1. On the Run Configurations dialog box, click
    New
    (
    1
    ), next to the Connection field. From the
    Choose connection type
    drop-down list, select
    SSH
    (
    2
    ). Click
    OK
    (
    3
    ).
    The New Connection properties dialog box opens, as shown below.
  2. On the New Connection dialog box (above), enter the connection information, as follows.
    • Connection name
      : Enter a name for this connection.
    • Host
      : Enter the IP address of the remote device.
    • User
      : Enter the user name to use when logging into the device. You'll need to provide login details for either public key or password-based authentication:
      • Public key
        : If the application accesses hardware sensors, LEDs, or requires elevated privileges, you need to use public key based authentication.
      • First, generate the public keys. For instructions, see SSH Connection: Password-less Access to Remote Linux* Target. Set up your key as the root user. Select the
        Public key based authentication
        option. If logging in as the root user, use public key-based authentication by providing the key file in
        Preferences
        Network Connections
        .
      • Password-based
        : You can log in as any user. Select the
        Password based authentication
        option, then provide your login Password.
  3. Provide any remaining advanced settings, if applicable.
    Make sure the proxies are correctly set or unset, based on your network requirements.
  4. Click
    Finish
    to return to the Run Configurations dialog box.

Step 3. Run the application

  1. Click
    Run
    .
    The application will run at the location specified. It can be verified by checking if the location in the device has the binary expected with the right access permissions.
  2. Provide any remaining advanced settings, if applicable.
  3. Make sure the proxies are correctly set or unset, based on your network requirements.
  4. In the
    Remote Absolute File Path for C/C++ Application
    field, provide the file name that the remote device should receive.
    Do not enter a directory
    . In the current example, it is
    /tmp/blink
    . Click
    Run
    .
  5. The application will run at the location specified. It can be verified by checking if the location in the device has the binary expected with the right access permissions.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804