This section describes how to debug an APEX2/ISP application on a target running Linux BSP connected to the developer’s workstation with S32 Debug Probe. This includes debugging on the APEX2 and ISP processors.
The high-level steps for debugging an APEX2/ISP application include:
| Step | Description | Links |
|---|---|---|
| 1. Create an APEX2/ISP application. | Use a project example available with Vision Extension Package, or design an application from scratch. | Find the details in Creating an APEX2/ISP application. |
| 2. Set up the evaluation board. | Set up the hardware connections and start Linux BSP on the board. | Find the details in [1], [2], and in Evaluation board settings. |
| 3. Set up a remote Linux connection in S32 Design Studio. | Â | Find the details in [3], or consult GDB Remote Linux connection. |
| 4. Start a debug session on Linux. | Set up the launch configuration for the host application. Start a debug session on a target running Linux. | Find the details in Starting a debug session on remote Linux. |
| 5. Start a debug session on APEX2 or ISP. | Set up the launch configuration for S32 Debugger. Start a debug session on APEX2 or ISP. | Find the details in Starting a debug session on APEX2 and in Starting a debug session on ISP. |
Related documentation
[1] HOWTO_Prepare_A_SD_Card_For_Linux_Boot_Of_S32V234_EVB_Using_BSP_From_VSDK.pdf
[2] HOWTO_Setup_S32V234_EVB_for_debugging_with_S32DS_for_Vision_and_Linux_BSP.pdf
[3] HOWTO_Setup_A_Remote_Linux_Connection_in_S32DS_for_Vision.pdf
[4] S32 Design Studio User Guide
The How-To articles are available in folder <Vision Extension Package>\S32DS\help\resources\howto. To get the latest versions of the How-To articles, refer to the NXP community.
Document [4] is available in the help system of Vision Extension Package. The PDF version is available in folder <S32DS_install_path>\S32DS\help\pdf.