EXTERNAL
USE
D
E
V
K
I
T
-
M
P
C
5
7
4
8
G
S
O
F
T
W
A
R
E
I
N
T
E
G
R
A
T
I
O
N
G
U
I
D
E
(
S
W
I
G
)
U
l
t
r
a
-
R
e
l
i
a
b
l
e
M
C
U
s
f
o
r
I
n
d
u
s
t
r
i
a
l
a
n
d
A
u
t
o
m
o
t
i
v
e
A
p
p
l
i
c
a
t
i
o
n
s
w
w
w
.
n
x
p
.
c
o
m
/
D
E
V
K
I
T
-
M
P
C
5
7
4
8
G
EXTERNAL
USE
1
•
T
o
d
e
v
e
l
o
p
a
n
a
p
p
l
i
c
a
t
i
o
n
o
n
e
n
e
e
d
a
n
I
n
t
e
g
r
a
t
e
d
D
e
v
e
l
o
p
m
e
n
t
E
n
v
i
r
o
n
m
e
n
t
(
I
D
E
)
•
S
3
2
D
e
s
i
g
n
S
t
u
d
i
o
I
D
E
i
s
t
h
e
s
o
l
u
t
i
o
n
t
o
t
h
e
n
e
e
d
•
T
h
i
s
d
o
c
u
m
e
n
t
p
r
o
v
i
d
e
s
s
t
e
p
w
i
s
e
t
u
t
o
r
i
n
g
o
n
“
H
o
w
t
o
u
s
e
S
3
2
D
e
s
i
g
n
S
t
u
d
i
o
I
D
E
f
o
r
P
o
w
e
r
A
r
c
h
i
t
e
c
t
u
r
e
”
t
o
b
u
i
l
d
a
n
a
p
p
l
i
c
a
t
i
o
n
S
3
2
D
E
S
I
G
N
S
T
U
D
I
O
I
D
E
F
O
R
P
O
W
E
R
A
R
C
H
I
T
E
C
T
U
R
E
www
.nxp.com/S32DS
EXTERNAL
USE
2
Contents
•
S32 Design Studio IDE for Power Architecture Supported Devices
•
Installing S32 Design Studio IDE for Power Architecture
−
Download and
Install the new
IDE
•
Getting started with a New Project
−
Create, bui
ld and debug th
e new proj
ect
•
Making Projects from built-in Examples
EXTERNAL
USE
3
S32 Design Studio
IDE for Power
Architecture
Supported Devices
•
MPC574xB/C Family
•
MPC574xG Family
•
MPC577x
K
Family
•
MPC574xP Family
•
MPC574xR Family
•
MPC5777C
•
MPC5777M
•
S32R274
•
MPC560xB/C/D Family
•
MPC560xE Family
•
MPC560x
P
Family
•
MPC560xS Family
•
MPC564xA Family
•
MPC564xB Family
•
MPC564xC Family
•
MPC564xL Family
•
MPC567xR Family
EX
T
ERN
AL
US
E
4
INST
ALLING S32 DESI
GN STUDIO IDE FOR
POWER
ARC
HITECTURE
EXTERNAL
USE
5
Step-1
•
Go to
www.nx
p.com/
S32DS
to dow
nload
latest version
•
From Download
s
folder, run the installation
file
•
Click on
Run
if any administrative privilege
issues
results from unknown software
publisher
•
The “preparing to install” dialogue
box will appear
EXTERNAL
USE
6
Step-2
•
An Installer welcome window
will
be
displayed, click Next to continue
EXTERNAL
USE
7
Step-3
•
Choose additional
Features
−
Selecting “
S32
Design Stu
dio
” op
tion will
only install S32 Desig
n Studio
−
Selecting “
Addi
tionally instal
l…
” wil
l allow
you to ins
tall other so
ftware too
•
Click on
Next
EXTERNAL
USE
8
Step-4
•
Scroll down the text and
read the
license agreement.
•
Select the radio button acknowledging
the license agreement ter
ms and click
Next
to co
ntinue.
EXTERNAL
USE
9
Step-4
•
Click
Next
to accept the
default
installation location
(could be changed,
but recommended to install into path
without spaces).
EXTERNAL
USE
10
Step-5
•
Select folde
r where you want to
generate a Shortcut and click on
Next
to
continue.
•
V
erify
settings on “
Pre-Installation
Summery
”
tab and click
Install
to start
Installation
EXTERNAL
USE
11
Step-7
•
The install
ation
starts by in
stalling
required libraries
from the Microsoft
Visual C++ 2013 package. Read
the
license terms and select
I agree…
option and hit the
Install
•
If the lib
rar
ies of the Visual C++ 2013
package were already
installed on the
system then the
Modify
Setup
dial
og
box appears. Now click on
Repair
to
continue
EXTERNAL
USE
12
Step-8
•
When asked for Ac
tivation ID, copy and
pest the key from the Dow
nload
page
•
Then click on
OK
.
•
Next: In activ
ation type window. Click
on
Online
EXTERNAL
USE
13
Step-9
•
During the Installatio
n it may ask you to
install P&E Device Drivers
•
Read license agreement and
Click on
I
Agree
.
•
In next windo
w
Select the destination
folder and click
Inst
all
•
Once the installation is done. Click on
Close
to close the P&E
Device
Driver
Setup window.
EXTERNAL
USE
14
Step-
10
•
Once the install
ation
is completed click
on
Done
to exit the installation
wizard.
EX
T
ERN
AL
US
E
15
GETTING ST
ARTED WI
TH
A
NEW PROJECT
EXTERNAL
USE
16
Create a
new project
1 of
5
•
Start program: Cli
ck
on “S32 Design
Studio for Power
Architecture vx.x” icon
•
Select workspace:
−
Choose default
or
specify new
one
−
Suggestion
: Uncheck the
box “Use
this as the def
ault and do not a
sk
again”
−
Click
OK
EXTERNAL
USE
17
Create a
new project
2
of
5
•
Go to: File
–
New
–
New S32DS
Project
EXTERNAL
USE
18
Create a
new project
3
of
5
•
Project Name:
−
Example:
FirstProject
•
Project Type:
−
Recommended:
use Elf S32DS Project
•
Select Controller:
−
Example: MPC5748G
EXTERNAL
USE
19
Create a
new project
4
of
5
•
Select Cores
•
Select Flash and RAM size
•
Select Programming Language
•
Select the Lib
rary
•
Select the Debugger
•
Recommended: use Default settings
(for begi
nners)
EXTERNAL
USE
20
Create a
new project
5
of
5
•
3 Projects
will be
created for
3 different
cores of
MPC5748G
EXTERNAL
USE
21
Build a Project
•
To build a projec
t follow one of the methods
below:
1.
Project
–
Build Project
2.
-
Click no hammer
symbol to
build that
project
-
Click on page
symbol to build all projects
•
If project is bui
lt
successfully, foll
owing
message will be displayed
on the
Console
EXTERNAL
USE
22
Debug a Project
1 of
2
•
Connect a debugge
r
to both, the board
and the PC
−
For DEVKIT-MPC5748G,
OpenSDA
works as a debu
g adapte
r, so no
standalone debugger
is required
•
Click on arrow in the
icon
•
And Open
Debug Configurations…
EXTERNAL
USE
23
Debug a Project
2
of
2
•
Select Project:
−
Example:
FirstProject_Z
4_0_Debug
•
Select Interface:
−
Example: OpenSDA
for
DEVKIT-MPC5748G
•
Port:
−
The comport
where
device is
connected
•
Click on
Debug
to start
debuggin
g
EXTERNAL
USE
24
Debug a Project
from RAM
•
Lastly, to debug
from RAM
select the
RAM related
session
while
debugging
•
Follow
the Steps shown
on
Debug
a Project
pages
•
Firstly, Configure
a project
to debug
from
RAM
Follow one
of the Steps:
1.
Project
–
Buil
d Configurations
–
Set Acti
ve
–
Debug_RAM
2.
Select Debug_RAM by clicking Dow
n
Arrow next to
hammer
•
Repeat
above
for all
related
projects.
•
Follow
the steps
shown
on “Build
a Project”
Page
EXTERNAL
USE
25
Debug Basics: Step,
Run, Suspend, Resume
•
Step Into (F5)
•
Step Over (F6)
•
Run
•
Suspend
•
Resume (F8)
•
Terminate (Ctrl+F2)
EXTERNAL
USE
26
Debug Basics:
V
iew &
Alter V
ariables
1 of
2
•
View
variables in “Variables”
tab.
•
Click on a value to allow typing
in a different value.
EXTERNAL
USE
27
Debug Basics:
V
iew &
Alter Registers
2 of
2
•
View CPU registers in the “Registers” tab
•
Click on a value to allow typing
in a different value
•
View peripheral registers in the EmbSysReg tab
EXTERNAL
USE
28
Debug Basics:
V
iew Memory
•
Add Memory Monitor
−
Click on
icon
•
Select Base Address
Example
:
0x
0000fff8
•
View Memory
EXTERNAL
USE
29
Debug Basics:
Brea
kpoints
•
Add Breakpoint: Point mouse pointer at circled area and
Double Click there
−
Light blue
dot will pop
up that
represents
debugger
breakpoi
nt
EX
T
ERN
AL
US
E
30
MAKING PROJECTS FROM BUIL
T
-IN
EXAMPLES
EXTERNAL
USE
31
Step-1
•
Go to: Fi
le
–
New
–
New S32DS Project from
Example
EXTERNAL
USE
32
Step-2
•
Select the bui
lt-in project of your choice
•
Click on
Finish
•
Project will be copied to the active
workspace as shown below
EX
T
ERN
AL
US
E
33
IMPORTING PROJECTS
EXTERNAL
USE
34
Step-1
•
Go to: File
–
Import
•
Click on: “Ex
i
sting Projects into
Workspace” –
Hit Nex
t
•
Click on:
Browse & Select Example
Folder
EXTERNAL
USE
35
Step-2
•
Select the Project
•
Click on Finish to Import a Project into
Workspace
EXTERNAL
USE
36
MORE INFORMA
TION……
•
For more information about S32 Design Studio IDE for Power Architecture go to
Start
–
All
Programs
–
Freescale S32 Des
ign Studio
–
S32
Design Studio for po
wer
Architecture
vx.x
–
Quick
Start/Documentation
•
Also Visit
NXP S32DS Community
to post questions about S32 Design Studio
Suppliers Inquiry
Previous
Next
Link
Name *
Reason for Contact
General Inquiry
Place Order
Report Issue
Target Price (Option)
Email Address *
Message *
BOM / Attach Files (Option)
Maximum allowed file size is 10MB