没有合适的资源?快使用搜索试试~ 我知道了~
首页S32DS_User_Guide.pdf
资源详情
资源评论
资源推荐

S32 Design Studio 3.1
User Guide
Document Number: S32DSUG
Rev. 1.0, 03/2019

Contents
Part I: Quick Start Guide....................................................................................... 5
Starting S32 Design Studio.................................................................................................................................. 6
Creating and building a project............................................................................................................................7
Debugging a project............................................................................................................................................. 8
Quick links..........................................................................................................................................................10
Part II: Tasks..........................................................................................................11
Installation management..................................................................................................................................... 12
Overview................................................................................................................................................. 12
Getting product updates..........................................................................................................................12
Getting updates automatically.................................................................................................... 13
Managing software sites.............................................................................................................14
Downloading updates manually................................................................................................. 14
Installing product updates and packages................................................................................................15
Installing plug-ins................................................................................................................................... 18
Viewing all installed software................................................................................................................19
Viewing installed updates and packages................................................................................................20
Uninstalling packages.............................................................................................................................22
Uninstalling plug-ins...............................................................................................................................23
Uninstalling S32 Design Studio.............................................................................................................24
License management...........................................................................................................................................25
Overview................................................................................................................................................. 25
Licensing S32 Design Studio.................................................................................................................25
Applying the license during installation.................................................................................... 26
Getting the activation code.........................................................................................................27
Viewing the license information............................................................................................................ 28
Viewing licenses on the website............................................................................................................28
Returning the license.............................................................................................................................. 29
Relicensing S32 Design Studio..............................................................................................................30
Project management............................................................................................................................................31
Overview................................................................................................................................................. 31
Starting a project.....................................................................................................................................32
Creating a project in the wizard.................................................................................................32
Creating a project from an example...........................................................................................34
Importing a project..................................................................................................................... 35
Adding files and folders to a project..................................................................................................... 35
Adding a device configuration...............................................................................................................38
Creating a project with a device configuration..........................................................................38
Editing a device configuration................................................................................................... 39
Importing a device configuration............................................................................................... 41
Exporting a device configuration............................................................................................... 43
Locating project files and folders in the file system............................................................................. 45
Renaming a project.................................................................................................................................46
Duplicating a project.............................................................................................................................. 46
Saving a project to User Examples........................................................................................................47
Exporting a project................................................................................................................................. 48
Closing and reopening a project............................................................................................................ 49
Removing a project.................................................................................................................................50
NXP, S32 Design Studio 3.1, User Guide, Rev. 03/2019
2 NXP Semiconductors

Building projects.................................................................................................................................................51
Overview................................................................................................................................................. 51
Using build configurations..................................................................................................................... 52
Creating a build configuration....................................................................................................53
Setting the active build configuration........................................................................................ 54
Editing a build configuration......................................................................................................54
Managing project resources in build configurations..................................................................59
Building a project................................................................................................................................... 60
Resolving build problems.......................................................................................................................61
Adjusting the C/C++ indexer settings for large files.................................................................61
Building projects in non-English versions of Windows............................................................ 64
Using optional tools................................................................................................................................65
Generating an image file............................................................................................................ 65
Using output of optional tools in post-build steps.....................................................................66
Preprocessing source files.......................................................................................................... 69
Disassembling binaries and source files.................................................................................... 70
Using parallel build................................................................................................................................ 70
Debugging........................................................................................................................................................... 71
Overview................................................................................................................................................. 71
Using the debugger.................................................................................................................................73
Using launch configurations...................................................................................................................75
Creating a launch configuration.................................................................................................75
Editing a launch configuration...................................................................................................76
Running a launch configuration.................................................................................................83
Using launch groups...............................................................................................................................84
Creating a launch group............................................................................................................. 84
Running a launch group............................................................................................................. 86
Debugging on a bare-metal target..........................................................................................................86
Selecting a hardware debug probe............................................................................................. 87
Debugging with S32 Debug Probe.............................................................................................87
Debugging with S32 Debug Probe from flash...........................................................................91
Debugging with a PEMicro probe............................................................................................. 93
Debugging with a Lauterbach probe..........................................................................................95
Viewing registers........................................................................................................................96
Viewing peripheral registers.......................................................................................................97
Viewing memory...................................................................................................................... 102
Managing flash memory...........................................................................................................103
Debugging on multiple cores............................................................................................................... 106
Debugging on a Linux target............................................................................................................... 109
Debugging on a VDK...........................................................................................................................112
SDK management.............................................................................................................................................113
Overview............................................................................................................................................... 113
Adding a custom SDK......................................................................................................................... 114
Creating an SDK.......................................................................................................................114
Importing an SDK.................................................................................................................... 117
Importing an MCAL SDK........................................................................................................119
Making a local SDK global................................................................................................................. 119
Using SDKs in projects........................................................................................................................120
Attaching an SDK when creating a project............................................................................. 120
Attaching an SDK to an existing project.................................................................................121
Detaching an SDK....................................................................................................................122
Editing an SDK.....................................................................................................................................123
Defining symbols..................................................................................................................................125
Exporting an SDK................................................................................................................................ 127
Removing an SDK................................................................................................................................127
Troubleshooting.................................................................................................................................................128
NXP, S32 Design Studio 3.1, User Guide, Rev. 03/2019
NXP Semiconductors 3

Part III: Reference............................................................................................... 130
User interface....................................................................................................................................................131
Views and editors................................................................................................................................. 131
Project Explorer view...............................................................................................................131
Problems view...........................................................................................................................132
Breakpoints view...................................................................................................................... 133
Debug view...............................................................................................................................133
Disassembly view..................................................................................................................... 134
Expressions view...................................................................................................................... 135
Memory view............................................................................................................................135
Memory Browser view.............................................................................................................136
Registers view...........................................................................................................................137
EmbSys Registers view............................................................................................................ 137
Variables view.......................................................................................................................... 139
Intrinsics view...........................................................................................................................140
SDK Explorer view.................................................................................................................. 141
Editor area.................................................................................................................................141
Wizards..................................................................................................................................................142
New SDK wizard......................................................................................................................142
Project creation wizards............................................................................................................144
Preferences............................................................................................................................................ 153
Perspectives...............................................................................................................................153
Available software sites............................................................................................................154
SDK Management.....................................................................................................................155
Project properties..................................................................................................................................156
SDKs......................................................................................................................................... 156
Perspectives...........................................................................................................................................157
C/C++ perspective.................................................................................................................... 157
Debug perspective.....................................................................................................................158
VDK Debug perspective...........................................................................................................159
Git perspective..........................................................................................................................161
Build configuration...........................................................................................................................................163
Tool Settings.........................................................................................................................................163
Cross Settings........................................................................................................................... 163
Target Processor........................................................................................................................165
Standard S32DS C/C++ Compiler........................................................................................... 168
Standard S32DS C/C++ Linker................................................................................................174
Standard S32DS Assembler......................................................................................................178
Standard S32DS Archiver........................................................................................................ 179
Standard S32DS Create Flash Image.......................................................................................180
Standard S32DS Create Listing................................................................................................181
Standard S32DS Print Size.......................................................................................................183
Standard S32DS C/C++ Preprocessor......................................................................................183
Standard S32DS Disassembler................................................................................................. 184
Folders and files............................................................................................................................................... 186
Project structure....................................................................................................................................186
Product directory structure................................................................................................................... 188
NXP, S32 Design Studio 3.1, User Guide, Rev. 03/2019
4 NXP Semiconductors
剩余189页未读,继续阅读


















安全验证
文档复制为VIP权益,开通VIP直接复制

评论0