HOWTO Build a Project and Setup Debugging with GDB PEMicro Debugging Interface

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HOWTO Build a Project and Setup Debugging with GDB PEMicro Debugging Interface

HOWTO Build a Project and Setup Debugging with GDB PEMicro Debugging Interface

When you use the New Project Wizard within S32 Design Studio to create a project, starting a debugging session is easy since the wizard creates the debug configuration for you.

In this document, the case for NXP devices supported by the GDB PEMicro Debugging Interface is detailed. 

 

Prerequisites

  • The project to be debugged should be loaded to the workspace and open

 

             

Procedure

  1. Build the project.
    • Select the build configuration. (optional)

If you already know which build configuration is desired, you can preselect it. If not, one is already selected for you by default. It will be noted with a check mark. Typical options contain choices between RAM and FLASH memory builds and for each a choice between Debug and Release. For debugging purposes the Debug option should be selected.

DanielBarbu_10-1724827477179.png

 

             

  • Click on Build. Clicking this button will start the build using the preset build type.

DanielBarbu_11-1724827508367.png

 

 

Or, select the build type from the pick list. This will start the build for the build type selected, regardless of which one is marked with a check mark.

 

DanielBarbu_12-1724827524901.png

 

 

  • Check there are no compiler errors.

DanielBarbu_13-1724827550910.png

 

 

 

             

  1. Configure the debug configuration to start a debug session.
    • Click ‘Run’ pulldown menu.
    • Select 'Debug Configurations…'

DanielBarbu_14-1724827587923.png

 

 

  • Select the debug configuration associated with your current build configuration.

DanielBarbu_15-1724827780125.png

 

 

  • Select whether to rebuild code each time debug session start is requested.

DanielBarbu_16-1724827798721.png

 

  • Click on Debugger tab.

DanielBarbu_17-1724827834558.png

 

 

  • Verify proper interface and port.

DanielBarbu_18-1724827848774.png

 

 

  • Click Debug

DanielBarbu_19-1724828048809.png

 

 

 

No ratings
Version history
Last update:
‎08-27-2024 11:57 PM
Updated by: