HOWTO: Setup A Remote Linux Connection in S32DS for Vision

Document created by Mike Doidge Employee on Jul 18, 2017Last modified by gabrielfreyria on Sep 19, 2017
Version 6Show Document
  • View in full screen mode

So you have created a project in S32DS for Vision with target of S32V234 Cortex-A53 APEX2/ISP Linux . You have built the project and now want to execute it on the S32V234-EVB, which is running the Linux BSP from the VSDK on a SD card. There are many ways to do this, however, the simplest is to use the built-in support within S32DS to run and/or debug over an ethernet connection to the Linux BSP OS running on the EVB. In order for S32DS to connect to the Linux BSP OS, the following steps should be followed:

 

1) First, we must complete the steps to Setup S32V234 EVB for debugging with Linux BSP.

 

2) With the Linux running on the EVB, start a terminal program (for ex. PuTTY) on your PC

3) Set Connection type to Serial

4) Set speed to 115200

5) Set Serial line to the COM port associated with the USB port setup in step 1 of this document. (for ex. COM20)

6) Click Open to start the terminal session

 

 

7) Press enter key to bring up login prompt

8) Log into Linux (login name is "root")

 

 

10) Get IP address, enter command:

   ifconfig

      Make note of the IP address

 

 

11) Launch S32DS for Vision. Select Run->Debug Configurations...

 

  1. Make sure you are in C/C++ Perspective
  2. Click on Open Perspective button
  3. Select C/C++

12) Expand 'C/C++ Remote Application'. Select '<project_name>Debug_Remote_Linux' debug configuration.

13) Select New to create new debug connection.

 

 

14) Select SSH

 

 

15) Enter the IP address noted earlier

16) Enter user ID as "root"

17) Select Finish

 

 

19) Select Apply, and then if you wish, Debug

 

Attachments

    Outcomes