0% found this document useful (0 votes)
15 views

S32M2xx_Development_Package_User_Guide

Uploaded by

Nguyen Quang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

S32M2xx_Development_Package_User_Guide

Uploaded by

Nguyen Quang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

S32M2xx Development Package 3.5.

13
User Guide

Document Number: S32M2xxUG


Rev. 1.5, 07/2024
Contents

Chapter 1: Introduction...........................................................................................3
About this document.............................................................................................................................................4
About the product................................................................................................................................................. 4
Installation and update..........................................................................................................................................4
Related documentation..........................................................................................................................................5
Glossary.................................................................................................................................................................5

Chapter 2: Tasks...................................................................................................... 6
Designing projects................................................................................................................................................ 7
Creating a project..................................................................................................................................... 7

S32M2xx Development Package 3.5.13, Rev. 1.5, 07/2024

2 NXP Semiconductors
Introduction

Chapter

1
Introduction
Topics:

• About this document


• About the product
• Installation and update
• Related documentation
• Glossary

S32M2xx Development Package 3.5.13, Rev. 1.5, 07/2024

NXP Semiconductors 3
Introduction

About this document


This document is intended for software developers in charge of designing embedded software for the S32M2xx
family of processors in S32 Design Studio for S32 Platform 3.5.13
This guide includes the complementary information about creating projects for S32M2xx in S32 Design Studio for
S32 Platform. The general information about embedded software design is available in the S32DS User Guide.

About the product


The S32M2xx Development Package is an optional software package that can be installed on S32 Design Studio for
S32 Platform 3.5.13 in order to provide support for the S32M2xx family of processors. The extension package cannot
be run as a standalone application, nor can it be integrated with third-party software products.
S32 Design Studio for S32 Platform with the installed S32M2xx Development Package features the following
options:
• The project creation wizards can generate application projects and library projects for S32M2xx.
• Applications for S32M2xx can be debugged. The following debugging options are supported:
• Debugging on the target: This option is supported for projects designed for a bare-metal target. The
evaluation board with the target MCU can be connected to the computer with a probe. The following
options are supported:
• PEmicro,
• Lauterbach,
• J-Link,
• I-Jet.
• Application projects can optionally define the following configurations:
• Pins,
• Clocks,
• Peripheral,
• DCD (DCF Tool),
• IVT.
using the S32 Configuration tools (Additional packages are provided if SDK/RTD is installed. SDK/RTD is
not included in the installation package and have to be installed separately).
Note: To compile projects for S32M24x/S32M27x , S32 Design Studio for S32 Platform uses specific GCC tools
and depends on the resources of the S32M2xx Development Package.

Installation and update


The S32M2xx Development Package should be installed, updated, and uninstalled using the S32DS Extension and
Updates tool of S32 Design Studio for S32 Platform. The use of the standard Eclipse IDE tools is not recommended.
Removal of the S32M2xx Development Package does not affect the earlier created projects for S32M2xx. The user
can open, edit, and build these projects. Debugging applications for S32M2xx is not supported after the S32M2xx
Development Package has been uninstalled.
The S32DS User Guide describes in detail how to install, update, and uninstall software packages on S32 Design
Studio for S32 Platform.

S32M2xx Development Package 3.5.13, Rev. 1.5, 07/2024

4 NXP Semiconductors
Introduction

Related documentation
These referenced documents are available in the help system of S32 Design Studio for S32 Platform 3.5.13:
[1] S32DS User Guide, the PDF version is available in the <S32DS_install_path>/S32DS/help/pdf folder
[2] S32 Configuration Tools Getting Started
[3] PnE GDB Server Plug-In Debug Configuration User Guide, the PDF version is available in the
<S32DS_install_path>/S32DS/help/pdf folder.

Glossary
The following table deciphers the acronyms used in this document.

Table 1: Acronyms

Acronym Description
ABI Application Binary Interface
FPU Floating Point Unit
GCC GNU Compiler Collection
GDB GNU Debugger
I/O Input/output
IDE Integrated Development Environment
MCU Microcontroller Unit
S32DS S32 Design Studio for S32 Platform
SDK Software Development Kit
RTD Real-Time Drivers

S32M2xx Development Package 3.5.13, Rev. 1.5, 07/2024

NXP Semiconductors 5
Tasks

Chapter

2
Tasks
Topics:

• Designing projects

S32M2xx Development Package 3.5.13, Rev. 1.5, 07/2024

6 NXP Semiconductors
Tasks

Designing projects

Creating a project
To create an application project or a library project for S32M2xx:
1. Run S32 Design Studio for S32 Platform.
2. On the File menu, click New, then click S32DS Application Project or S32DS Library Project to launch the
respective project creation wizard.
3. Select the required target in the Processors pane:

4. Specify the general project settings:

Table 2: General project settings

Setting Description
Project name The project name. A valid project name is unique in the current workspace,
uses ASCII characters in the range of ‘A-z’, digits, and underscores, and starts
with a letter.
Use default location If this option is enabled, the project files are stored in the default folder
specified in the Location field. Disable this option to specify a different path in
the Location field.
Location The full path of the project’s root folder.
ToolChain Selection Details on the selected processor: core kind, core name, and GCC toolchain that
will be used to build the project. The following options are available depending
on the processor selected:
• NXP GCC 10.2 for Arm 32-bit Bare-Metal for processors based on
Cortex-M
• NXP GCC 9.2 for Arm 32-bit Bare-Metal for processors based on
Cortex-M

S32M2xx Development Package 3.5.13, Rev. 1.5, 07/2024

NXP Semiconductors 7
Tasks

Setting Description
• NXP GCC 6.3 for Arm 32-bit Bare-Metal for processors based on
Cortex-M
• IAR Toolchain for ARM - (8.x)
The IAR toolchain is not included in the installation package. Install
IAR Embedded Workbench for ARM 8.x, then install IAR
Embedded Workbench plug-in manager to S32 Design Studio for
S32 Platform 3.5.13. After that, install IAR Embedded Workbench
plug-in for ARM 8.x using the plug-in manager.
• GHS ARM Standalone Executable Toolchain for 32-bit processors
The GHS plug-in is not included in the installation package. Click Help
> Install New Software to install the plug-in from the corresponding
site.

5. Click Next.
6. On the next wizard page, select the cores. A dedicated project will be created for each selected core.

Note: The boot core is always selected and cannot be skipped.


7. Under each selected core specify the settings that apply to your project. The availability of properties depends on
the selected processor. Most of these settings are available for application projects only.

S32M2xx Development Package 3.5.13, Rev. 1.5, 07/2024

8 NXP Semiconductors
Tasks

Table 3: Special project settings

Setting Description
Library The ANSI C/C++ library (GCC compiler) to be linked to the project. Options:
• NewLib: An open-source C/C++ library.
• NewLib Nano: A Newlib version that is targeting memory constrained
devices.
• EWL: A proprietary library created by NXP.
• EWL Nano: An EWL version that is targeting memory constrained
devices. Has a smaller footprint than NewLib Nano.
The availability of libraries depends on GCC toolchain.

I/O Support Support for input/output during debugging. Options:


• No I/O
• Debugger Console
• Real-time printf with ITM

FPU Support The ABI for the floating-point operations. Options:


• for NXP GCC 6.3 for Arm 32-bit Bare-Metal, NXP GCC 9.2 for
Arm 32-bit Bare-Metal and NXP GCC 10.2 for Arm 32-bit Bare-
Metal :
• Toolchain Default: The generated floating-point instructions
are supported by the processor.
• Software: No FPU ( -mfloat-abi=soft): The generated output
contains library calls for floating-point operations.
• Hardware: -mfloat-abi=hard: The code uses hardware
floating-point instructions and FPU specific calling conventions.
• Hardware: -mfloat-abi=softfp: The code uses hardware
floating-point instructions, but still uses the soft-float calling
conventions.
• for GHS ARM Standalone Executable Toolchain:
• (not set)
• No Floating-Point
• Hardware Coprocessor
• Hardware Single, Software Double
• Software Emulation
• for IAR Toolchain for ARM - (8.x):
• Hardware Coprocessor
• Software Emulation
The availability of options depends on the Arm® core and ToolChain selection.

Language The programming language. Options:


• C
• C++

SDKs The SDKs to be included in the project. Default: no SDK.


Note: When you attach an SDK/RTD, some project settings can be replaced
with the SDK/RTD compatible ones.

S32M2xx Development Package 3.5.13, Rev. 1.5, 07/2024

NXP Semiconductors 9
Tasks

Setting Description
Operation Mode Operation Mode:
• Not Applicable

Debugger The software debugger. Options:


• GDB PEMicro Debugging Interface
• Lauterbach T32 Debugging Interface
The Lauterbach Trace32® plug-in is not included in the installation
package. Click Help > Install New Software to install the plug-in from
the corresponding site.
• Segger Debugging Interface
• IAR Debugging Interface
The IAR plug-in is not included in the installation package. Install IAR
Embedded Workbench for ARM 8.x, then install IAR Embedded
Workbench plug-in manager to S32 Design Studio for S32 Platform
3.5.13. After that, install IAR Embedded Workbench plug-in for
ARM 8.x using the plug-in manager.
Note: When the IAR debugger is selected, the wizard creates a project
with the simulator driver selected. You can change settings in the
Debug Configurations select Driver: Simulator, I-Jet/I-Jet Trace or
or J-Link/J-Trace.

8. Click Finish.
The wizard creates the new project according to the specified details. The new project is displayed in the Project
Explorer view. If you have selected multiple cores, the wizard creates a separate project for each selected core.

S32M2xx Development Package 3.5.13, Rev. 1.5, 07/2024

10 NXP Semiconductors
How to Reach Us: Information in this document is provided solely to enable system and software
implementers to use NXP products. There are no express or implied copyright licenses
Home Page:
granted hereunder to design or fabricate any integrate circuits based on the information
nxp.com in this document. NXP reserves the right to make changes without further notice to any
products herein.
Web Support:
NXP makes no warranty, representation, or guarantee regarding the suitability of its
nxp.com/support
products for any particular purpose, nor does NXP assume any liability arising out of
the application or use of any product or circuit, and specifically disclaims any and all
liability, including without limitation consequential or incidental damages. “Typical”
parameters that may be provided in NXP data sheets and/or specifications can and do
vary in different applications, and actual performance may vary over time. All operating
parameters, including “typicals”, must be validated for each customer application by
customer's technical experts. NXP does not convey any license under its patent rights nor
the rights of others. NXP sells products pursuant to standard terms and conditions of sale,
which can be found at the following address: nxp.com/SalesTermsandConditions.
While NXP Semiconductors has implemented advanced security features, all products may
be subject to unidentified vulnerabilities. Customers are responsible for the design and
operation of their applications and products to reduce the effect of these vulnerabilities on
customer’s applications and products, and NXP Semiconductors accepts no liability for
any vulnerability that is discovered. Customers should implement appropriate design and
operating safeguards to minimize the risks associated with their applications and products.
NXP, the NXP logo, NXP SECURE CONNECTIONS FOR A SMARTER WORLD,
Airfast, Altivec, CodeWarrior, ColdFire, ColdFire+, CoolFlux, CoolFluxDSP, the CoolFlux
logo, EdgeLock, EdgeScale, EdgeVerse, eIQ, Embrace, Freescale, the Freescale logo,
GreenChip, the GreenChip logo, HITAG, ICODE, I - CODE, Immersiv3D, JCOP, Kinetis,
Layerscape, MagniV, Mantis, MIFARE, the MIFARE logo, MIFARE CLASSIC, MIFARE
DESFire, MIFARE FleX, MIFARE Plus, MIFARE Ultralight, MIFARE 4Mobile, the
MIFARE4Mobile logo, MiGLO, mobileGT, NTAG, the NTAG logo, PEG, Plus X,
PowerQUICC, Processor Expert, QorIQ, QorIQ Qonverge, Qorivva, RoadLINK, the
RoadLINK logo, SafeAss ure, SmartM X, StarCore, Symphony, Tower, TriMedia,
UCODE, the UCODE DNA logo, VortiQa and Vybrid are trademarks of NXP. All other
product or service names are the property of their respective owners. AMBA, Arm, Arm7,
Arm7TDMI, Arm9, Arm11, Artisan, big.LITTLE, Cordio, CoreLink, CoreSight, Cortex,
DesignStart, DynamIQ, Jazelle, Keil, Mali, Mbed, Mbed Enabled, NEON, POP, RealView,
SecurCore, Socrates, Thumb, TrustZone, ULINK, ULINK2, ULINK-ME, ULINK-PLUS,
ULINKpro, µVision, Versatile are trademarks or registered trademarks of Arm Limited
(or its subsidiaries) in the US and/or elsewhere. The related technology may be protected
by any or all of patents, copyrights, designs and trade secrets. All rights reserved. Oracle
and Java are registered trademarks of Oracle and/or its affiliates. The Power Architecture
and Power.org word marks and the Power and Power.org logos and related marks are
trademarks and service marks licensed by Power.org.

© NXP 2024 All rights reserved.

For more information, please visit: http://www.nxp.com


For sales office addresses, please send an email to: salesaddresses@nxp.com

Revision: 1.6, July 2024

S32M2xx Development Package 3.5.13, Rev. 1.5, 07/2024

NXP Semiconductors 11

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy