Develop with PE Multiink

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

Develop with PE Multiink

Jump to solution
874 Views
fanziyu
Contributor IV

S9KEAZ128

SWD

PE Multilink

S32 Design Studio for ARM Version 2018.R1

Question1:I want to debug and program,how to configure the "Debug Configurations"?What is the difference among "Debug""Debug_Ram""Release"?

0 Kudos
1 Solution
857 Views
mikedoidge
NXP Employee
NXP Employee

Hello @fanziyu,

Please review the following thread:

What is the difference between Debug RAM and Debug Flash?

Generally, the most you need to do to configure the debug configuration is to setup the PEMicro Interface Settings on the Debugger tab. Select the type of PEMicro HW you are using (usually either USB Multilink or OpenSDA built into the evaluation board) and then the port you are using to connect to it from your PC.

If you don't already have a debug configuration for your project, then make sure you have your project selected in the Project Explorer before opening the Debug Configurations menu. This will allow the tool to automatically populate some fields with information from your project when you click 'New Launch Configuration'. Be sure to use the GDB PEMicro Interface Debugging section and not the GDB Hardware Debugging section in the panel on the left. Then 'Search Project...' for your executable on the Main tab (be sure to build your project so the executable is available). Switch to Debugger tab and 'Select Device', setup your PEMicro Interface Settings (make sure you have the device connected and powered up) and you are done. All other settings are defaulted to typical usage. Click 'Debug' to start debugging.

Best Regards,

Mike

View solution in original post

0 Kudos
1 Reply
858 Views
mikedoidge
NXP Employee
NXP Employee

Hello @fanziyu,

Please review the following thread:

What is the difference between Debug RAM and Debug Flash?

Generally, the most you need to do to configure the debug configuration is to setup the PEMicro Interface Settings on the Debugger tab. Select the type of PEMicro HW you are using (usually either USB Multilink or OpenSDA built into the evaluation board) and then the port you are using to connect to it from your PC.

If you don't already have a debug configuration for your project, then make sure you have your project selected in the Project Explorer before opening the Debug Configurations menu. This will allow the tool to automatically populate some fields with information from your project when you click 'New Launch Configuration'. Be sure to use the GDB PEMicro Interface Debugging section and not the GDB Hardware Debugging section in the panel on the left. Then 'Search Project...' for your executable on the Main tab (be sure to build your project so the executable is available). Switch to Debugger tab and 'Select Device', setup your PEMicro Interface Settings (make sure you have the device connected and powered up) and you are done. All other settings are defaulted to typical usage. Click 'Debug' to start debugging.

Best Regards,

Mike

0 Kudos