S32k144 uses the s32ds example project from 'SW32K1_RTD_4.4_1.0.1_HF01-D2209'

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32k144 uses the s32ds example project from 'SW32K1_RTD_4.4_1.0.1_HF01-D2209'

Jump to solution
586 Views
I_Ningcaichen
Contributor III

The following figure shows the example project path under the "SW32K1_RTD_4.4_1.0.1_HF01-D2209" software package. Above is the example project of EB Tresos, and below is the example project of S32DS.

I_Ningcaichen_0-1688016517445.png

Question 1:

The path shown in the following figure is the project path of an S32DS example project, and there is a "description. txt" file in this folder. I followed the instructions in this file to use this example project, but I cannot find where the "S32 Configuration Tool ->Update Code" mentioned in the "3.1 Generating the S32 configuration" section of this file is located? Can you take a screenshot to illustrate?

I_Ningcaichen_1-1688016580132.png

I_Ningcaichen_2-1688016804215.png

Question 2:

After importing S32DS using the method described in the "description. txt" file, this example project encountered an error during compilation as shown in the following figure. The specific error description is:

Cannot run program "": Launching failed

Error: Program "" not found in PATH
PATH=[D:/NXP/S32DS_ARM_v2.2/eclipse/jre/bin/client;D:/NXP/S32DS_ARM_v2.2/eclipse/jre/bin;D:/NXP/S32DS_ARM_v2.2/eclipse/jre/lib/i386;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;D:\NXP\S32DS_ARM_v2.2\S32DS\build_tools\msys32\usr\bin;C:\Users\Jing\AppData\Local\Microsoft\WindowsApps;D:\NXP\S32DS_ARM_v2.2\eclipse]

Is this error related to Question 1? How to handle it?

I_Ningcaichen_3-1688017133491.png

Question 3:
I found that the APIs used in the "main" function of this S32DS example project are all MCAL APIs. May I ask if the source code used in this S32DS example project comes from the corresponding EB Tresos project?

I_Ningcaichen_4-1688017326594.png

I_Ningcaichen_5-1688017516628.png

Question 4:

In this S32DS project, there is no setting option for adding include paths like other projects. How should I add include paths in this project?

I_Ningcaichen_6-1688017829600.png

I_Ningcaichen_7-1688018256825.png

#S32K144

#S32DS

 

 

 

 

 

 

 

0 Kudos
1 Solution
565 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

Sorry for confusing you.

Above is the example project of EB Tresos. But if you want to use S32DS instead of EB Tresos, we don't use below example project. Please install S32DS v3.4 and update S32K1 RTD. Then you can find AUTOSAR or Non-AUTOSAR example projects in S32DS v3.4 by click File->New->S32DS Project from Example. You can refer to GPIO interrupt example project using S32K1xx RTD without AUTOSAR

A1: In S32DS v3.4, you can find "S32 Configuration Tool ->Update Code"

A2: S32K1 RTD is developed based on S32DS v3.4, do not use it in S32DS_ARM_v2.2 .

A3: Yes. That example is using AUTOSAR MCAL APIs. You will find two kind of examples: High Level Interface(High Level Driver) MCAL APIs and Low Level Interface(Low Level Driver) ip driver APIs. You can use S32DS development MCAL project.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
566 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

Sorry for confusing you.

Above is the example project of EB Tresos. But if you want to use S32DS instead of EB Tresos, we don't use below example project. Please install S32DS v3.4 and update S32K1 RTD. Then you can find AUTOSAR or Non-AUTOSAR example projects in S32DS v3.4 by click File->New->S32DS Project from Example. You can refer to GPIO interrupt example project using S32K1xx RTD without AUTOSAR

A1: In S32DS v3.4, you can find "S32 Configuration Tool ->Update Code"

A2: S32K1 RTD is developed based on S32DS v3.4, do not use it in S32DS_ARM_v2.2 .

A3: Yes. That example is using AUTOSAR MCAL APIs. You will find two kind of examples: High Level Interface(High Level Driver) MCAL APIs and Low Level Interface(Low Level Driver) ip driver APIs. You can use S32DS development MCAL project.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
583 Views
I_Ningcaichen
Contributor III
The RTD software package is “SW32K1_ RTD_ 4.4_ 1.0.1_ HF01_ D2209”
The S32DS version is “S32 Design Studio for ARM Version 2.2”
0 Kudos