In S32 Design Studio , you can debug embedded applications on the chip. The evaluation board with the built-in MCU (target) is connected to the developer's workstation over USB or Ethernet using a JTAG compatible hardware debug probe. The supported probes are listed in topic Selecting a hardware debug probe.
Debugging on a bare-metal target can be performed from RAM and from flash. When you create an application project in S32 Design Studio , the project creation wizard generates configurations for debugging from both these types of on-chip memory. To choose the right memory type for debugging, take into account memory size and the application size. To start a debug session from the preferred memory type, just launch the appropriate debug configuration as described in the following topics:
The on-chip debugging techniques available to you are those supported by the hardware debugger. In the common case, you can use hardware breakpoints and do step-by-step execution in the code and in the disassembler instructions.
In addition, you can view and edit the contents of the registers and memory sections. These techniques are described in the following topics:
When debugging a program from flash, you have an option to manage flash memory from the command line. To learn more, refer to section Managing flash memory.
When running a program on the target connected with S32 Debug Probe, you can collect code trace information. Trace collection can be configured and the collected results analyzed in S32 Design Studio as described in .