This topic describes how to debug a bare-metal application on the board connected to the computer with the S32 Debug Probe. The application is loaded by S32 Flash Programmer to flash memory external to the target. The application is launched by the S32 Debugger.
To debug an application with the S32 Debug Probe from flash:
The project creation wizard has generated several launch groups for your application. In the left pane, click the launch group intended for debugging from flash:

The right pane displays the debug configurations in the order of execution. The top configuration is intended for loading the executable code to flash memory of the target. The “Wait until terminated” action indicates that the next debug configuration will be run only after the flash loading session has finished. To learn more about using launch groups, refer to Creating a launch group.

To add new binary file press Add button. Add binary application dilog will appear. Specify the details and press OK.


| Setting | Description |
|---|---|
| Hardware | Specify the settings related to the target:
|
| Debug Probe Connection | Configure the connection between the board and the
computer:
|
| Target Communication Speed | Specify the JTAG communication settings:
|
| GDB server | Specify the GDB server settings:
|
| GDB Client | Specify the GDB client settings:
|
| Secure debugging | Configure settings for secured chips:
Note: The availability and support of the option
depends on the target device.
Note: If the chip is unlocked, enabling secure debuging is
meaningless.
Note: Secure debugging Challenge &
Response is only supported on Windows.
Note: Secure debugging with Password is supported on both Windows and Linux.
|