HOWTO: Create S32V234 Cortex-A53 Linux Project in S32DS

cancel
Showing results for 
Search instead for 
Did you mean: 

HOWTO: Create S32V234 Cortex-A53 Linux Project in S32DS

No ratings

HOWTO: Create S32V234 Cortex-A53 Linux Project in S32DS

So you've just installed the S32DS and are using it for the first time and would like to see how it works. Here is a quick and simple project to get you started.

Prerequisite

Before following the steps in this HOWTO, ensure you have the S32V2xx development package installed to S32DS.

1. Launch S32DS for Vision

2. Select 'S32DS Application Project'

pastedImage_2.png

3. Enter a name for the project

4. Select the 'A53 Linux' processor option

5. Click Next

pastedImage_3.png

6. Click the '...' next to the SDKs field

pastedImage_4.png

7. Check the box next to 'VSDK_MODULE_WIN' for Windows OS or 'VSDK_MODULE_LINUX' for Linux OS and click OK.

pastedImage_6.png

8. Click Finish

pastedImage_7.png

9. Build the project for DebugpastedImage_3.png

pastedImage_9.png

10. Project is now built, ELF file is ready to be loaded to EVB for execution. However, if we have not prepared the EVB, we must first complete HOWTO: Setup S32V234 EVB2 for debugging with S32DS and Linux BSP.

11. Once the EVB is properly prepared, we must complete HOWTO: Setup A Remote Linux Connection in S32DS (S32V234) 

12. With the project debug configuration and remote linux connection selected, select the debug dropdown menu and click Debug Configurations

pastedImage_5.png

13. Make sure the Debug_Remote_Linux debug configuration is selected and the connection setup in step 10 is selected (points to the IP address of your EVB). Click Debug

pastedImage_3.png

14. The first time you connect to a new IP address (i.e. the first time you debug after booting the board), you will receive a warning message, Click Yes and proceed.

pastedImage_1.png

15. The executable file is copied to Linux file system and gdbserver starts.

pastedImage_2.png

16. The Debug perspective is opened. You can now step through the code*

 

 pastedImage_4.png

*Only debugging of the A53 code is supported by Linux GDB. For multicore debugging, including ISP and APEX2, additional debugger and probe(S32 Debugger with S32 Debug Probe, Lauterbach, etc) will be required.

Version history
Revision #:
1 of 1
Last update:
‎02-27-2019 12:40 PM
Updated by: