NXP

S32 Design Studio 初识

2019-07-12 12:03发布

Creating and building a project

最好的办法就是阅读帮助文档,可以快速掌握
a) Select File → New → New S32DS Project from the menu bar. The first page of the New S32DS Project wizard appears. b) Enter New_ARM_Project in the Project name field:
c) Expand the Project Type tree control and select the processor:
d) Click Next. The second page of the wizard appears:
e) Check the project settings. Click Finish.

Debugging your application

1. Set debug configuration for project
a) Select the project in the Project Explorer view.
b) Select Run → Debug Configurations from the menu bar (or click an arrow next to the Debug picture in the toolbar and select Debug Configurations…):
The Debug Configurations dialog box appears.
c) Select required debug configuration. The debug configuration name is composed from the project name, build configuration and run-control interface
d) Click the Debugger tab — the Debugger page opens in the right pane.
e) Select an interface and make the appropriate changes in the Debugger tab.
f) Click Apply to save the changes in the settings.
2. Click Debug — the debugger downloads program to processor memory and the Debug perspective appears. The execution halts at the first statement of main() and program counter icon on the marker bar points to the next statement to be executed.
3. Set and run to breakpoint a) Double-click on the marker bar next to a statement — the breakpoint indicator (blue dot) appears next to the statement. b) From the Debug view, select Run → Resume from the menu bar — the debugger executes all statements up to but not including the breakpoint statement. 4. Control program a) From the Debug view, select Run → Step Over from the menu bar — the debugger executes breakpoint statement and halts at next statement. b) From the Debug view, select Run → Resume from the menu bar — the debugger resumes program execution. c) From the Debug view, select Run → Terminate — the debug session ends