Over 10 years we help companies reach their financial and branding goals. Engitech is a values-driven technology agency dedicated.



411 University St, Seattle, USA


+1 -800-456-478-23

Getting Started NXP Controllers S32 Automotive Platform Tech

Getting Started with S32 Design Studio Part 3

Objective of This blog

Understanding the Code

Now after code configuration, our code will be generated. We can see the project files/folder in Project Explorer and write/modify/develop the c/cpp code on the code editor. As shown below. Now it’s time to explore the features S32 Design Studio provides for code navigation and development. 

Now in this section, I am going to talk about different features/views present in S32 Design Studio for Embedded Code navigation/development.

IDE Properties and Configurations

How to Build the Code in S32 Design Studio IDE

Debugging tools supported in S32 Studio

Different types of hardware debuggers in s32 design studio. there are two types of hardware debugger in S32 design studio which is supported by the S32 design studio

  1. SEGGER J-LINK debugger
  1. SWD based PEMicro debugger

The J-Link Debugger is a popular hardware debugger and programmer developed by SEGGER Microcontroller, a company specializing in embedded systems and software tools. J-Link is widely used in the embedded development industry and provides a range of debugging and programming capabilities for various microcontroller architectures and development environments.

GDB PEmicro is a debugger interface that allows the GNU Debugger (GDB) to communicate with P&E Microcomputer Systems’ hardware debuggers and programmers. It enables developers to use the GDB debugger, a powerful and widely used open-source debugging tool, in conjunction with P&E Micro hardware to debug and program microcontrollers and embedded systems.

Here’s how GDB PEmicro works and its key components:

  • GNU Debugger (GDB): GDB is a widely used and versatile debugger for various programming languages and platforms. It provides features such as setting breakpoints, examining and modifying memory and registers, stepping through code, and more. GDB is commonly used in embedded systems development.
  • P&E Micro Hardware Debuggers: P&E Microcomputer Systems produces a range of hardware debuggers and programmers designed for embedded systems development. These debuggers, such as the Multilink and Multilink FX, are used to connect a host computer to a target microcontroller for debugging and programming purposes.
  • GDB PEmicro Interface: GDB PEmicro is essentially an interface or server that bridges the communication between the GDB debugger and the P&E Micro hardware debugger. It allows GDB to control and interact with the P&E Micro hardware as if it were a native GDB-supported debugging interface.
  • Ware

How to Debug the code in S32 Design Studo IDE

First step:- on the project explorer select the project name and right-click on it scroll down and find debug as an option.fig is shown in below.

After clicking on debug and then clicking on debug configuration a popup page is open as shown in  the fig below.

Now, select the debugging interface in this case i am using the in circuit debugger that is GDB PEMicro interface debugging in that select the memory option where you want to upload the code in microcontroller board in my case i am using flash memory reason of choosing the flash memory because it is volatile memory means when the power is off then the code that is uploaded in the microcontroller that is still in the memory but in case of ram when the power is off the code is in the microcontroller is gone.


After choosing the configuration then click on debug.then a debug option is just inside of your project explorer and you can see the debugging part is done.When using the graphical interface, the developer is switched to the Debug or VDK Debug perspective that includes customizable views for inspecting values and managing the debugging process. The views available to the developer are Memory, Registers, EmbSys Registers, Breakpoints, Expressions, Variables, and other. The information about the debugging status appears in the Console, Debugger Console, and Problems views. The debug sessions with the included processes and threads can be managed in the Debug view.

In the console you can see that the target  is selected and after debug it is in rest mode but still in active mode.

If specified in the debug configuration, the debug session halts at the first breakpoint, that is main. The user releases the program execution and starts stepping through the code. 

During debugging, the user can set breakpoints, inspect and edit memory registers and peripheral registers, create variables and expressions, debug the source code or step through instructions.

Serverals views that can helps in the time of debugging the code :-

Also there are some options that can help in the time of debugging the code :-


Kunal Gupta

Leave a comment

Stay Updated With Us

Error: Contact form not found.