S32DS Quick Start Guide

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32DS Quick Start Guide

S32DS Quick Start Guide

The Quick Start describes how to use the S32 Design Studio to create, build, and debug a project.

Starting S32DS Design Studio for S32 Platform 3.5

To start S32 Design Studio and begin to work with it:

  • Launch S32 Design Studio : locate the shortcut depending on your selection during the installation, and double-click the product icon.
    The Eclipse Launcher dialog box appears to let you define the location of your workspace.
DanielBarbu_0-1724673490552.png

 

Note: A workspace is the folder where S32 Design Studio stores projects that you create or import.
  • Select a folder for your workspace. It is recommended to create a new workspace for each product instance.
    • To choose the default location, click OK.
    • To use a different location, click Browse. In the Select Workspace Directory dialog box, select the preferred folder or click Make New Folder to create a new folder for storing your projects. Click OK.
  • S32 Design Studio is launched. Browse through the Getting Started tab and close it. The workbench appears:
DanielBarbu_1-1724673721904.png

 

Creating and building a project

 

To create and build a project:

  1. Click File > New > S32DS Application Project or S32DS Library Project on the menu bar. The first page of the wizard appears.
  2. Specify the name of the new project in the Project name text box.
    Note: The Location field shows the default project location. If you want to change this location, clear the Use default location check box, click Browse and specify a different location. Click OK.
  3. Select the target processor from the Processors panel.
  4. Click Next. The second page of the wizard appears.
  5. Check the project settings, select the cores and parameters. Click Finish.
    The new project appears in the Project Explorer view.
    Note: The wizard creates one or multiple projects, depending on the number of selected cores.
  6. To build your project, do any of the following:
    • Right-click the project in the Project Explorer view and click Build Project
    • Select the project in the Project Explorer view, then click Project > Build Project on the menu
    • Select the project in the Project Explorer view and click on the tool icon on the toolbar. DanielBarbu_1-1724674599801.png

       

       
     

The build process starts.

DanielBarbu_0-1724674708670.png

 

If a build generates any errors or warnings, you can see them in the Problems view. Read through the build messages in the Console view to make sure that the project is built successfully.

 

Debugging a project

 

To debug a project:

  1. Set the debug configuration for your project.
    1. Select the project in the Project Explorer view.
    2. Open the debug configuration in any of these ways:
      • Right-click the project and select Debug as > Debug Configurations… from the context menu.
      • Choose Run > Debug Configurations… from the menu bar.
      • Click an arrow next to Debug picture on the toolbar and select DebugConfigurations….
    3. In the Debug Configurations dialog box, select the required debug configuration. The name of the debug configuration is composed of the project name, debugging interface and build configuration. The configuration settings appear on the tabs.DanielBarbu_2-1724675216136.png

       

    4. Modify the configuration settings where required and click Apply to save the changes.
  2. Click Debug. The debugger downloads the program to the memory of the target processor. The Debug perspective is displayed. The execution halts at the first statement of the main() function. The program counter icon on the marker bar points the next statement to be executed.
DanielBarbu_0-1724676714454.png

 

  1. To set and run to a breakpoint:
    1. Double-click on the marker bar next to a statement. The breakpoint indicator (blue dot) appears next to the statement.
    2. From the Debug view, select Run > Resume on the menu bar. The debugger executes all statements up to (but not including) the breakpoint statement.
  2. To control the program:
    1. From the Debug view, select Run > Step Over from the menu bar. The debugger executes the breakpoint statement and halts at the next statement.
    2. From the Debug view, select Run > Resume from the menu bar. The debugger resumes the program execution.
    3. From the Debug view, select Run > Terminate. The debug session ends.
0%が役に立ったと言っています (0/1)
バージョン履歴
最終更新日:
‎08-26-2024 05:52 AM
更新者: