Non-AUTOSAR Driver Code for S32K310/S32K312 controller

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

Non-AUTOSAR Driver Code for S32K310/S32K312 controller

1,541件の閲覧回数
SandyHCL
Contributor I

I am trying to compile Non-Autosar driver code examples for S32K312 controller but I am not able to find it. I've installed S32 DS V3.4 IDE and top of which I've installed following packages. 

SW32_S32DS_3.4.0_D2012.zip, 

SW32K3_RTD_4.4_2.0.0_DS_updatesite_D2204, 

SW32K3_S32DS_3.4.0_D2012.zip, 

SW32K3_RTD_4.4_2.0.1_DS_updatesite_D2207.zip, 

SW32K3_RTD_4.4_2.0.3_DS_updatesite_D2302.zip, 

SW32K3_RTD_4.4_1.0.0_HF02_DS_updatesite_D2112.zip

But still I am not able to compile the code, when I do give "Update Code" in the S32 Configuration tool the RTD is not generated. 

Am I missing something? I need the Non-AUTOSAR code. Can anyone help on the same? Thanks.

0 件の賞賛
返信
11 返答(返信)

1,406件の閲覧回数
SandyHCL
Contributor I

SandyHCL_0-1704361576539.png

Hi @VaneB  We are seeing an error for peripherals. It is stating as tool problem. Please refer to attached image. 

0 件の賞賛
返信

1,398件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @SandyHCL 

This issue could be caused by code generation timeout due to computer speed.

By default, the Peripherals Tool has 15 seconds allocated for code generation (which should be more than enough). If code generation scripts do not finish executing during this time, the code will not be generated.

As a workaround for this issue, code generation timeout can be increased by adding the following argument into the s32ds.ini file (default path could be C:\NXP\S32DS.3.5\eclipse\s32ds.ini, it depends on the version of S32DS).

-Dcom.nxp.swtools.codegenscript.timeout = 60000 (It will increase code generation timeout to 1 minute) or, -Dcom.nxp.swtools.codegenscript.timeout = -1 (Remove the timeout).

After adding any of the previous options in the .ini file, restart S32DS and create a new workspace.

Try this workaround and let me know the result.

0 件の賞賛
返信

1,434件の閲覧回数
SandyHCL
Contributor I

SandyHCL_0-1704288250153.png

 Hi @VaneB In Peripherals window, there is no peripherals listed - Refer to the attached screenshot. Can you please help me? 

 

0 件の賞賛
返信

1,429件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @SandyHCL 

The Drivers can be added in the Components window. 

VaneB_0-1704302995494.png

0 件の賞賛
返信

1,520件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @SandyHCL 

Could you provide an image of your S32DS Installation details? When you try to update the code, does S32DS show an error or something? 

Also, I understand you can create a project from an example, am I right? 

 

B.R.

Vane

0 件の賞賛
返信

1,450件の閲覧回数
SandyHCL
Contributor I
Any Update?
0 件の賞賛
返信

1,491件の閲覧回数
SandyHCL
Contributor I

@VaneB Here is the installation details screenshots 

SandyHCL_0-1703829313111.png

SandyHCL_1-1703829349223.png

I don't see any error during update code generation.

0 件の賞賛
返信

1,445件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @SandyHCL 

The packages look to be correctly installed. Could you try uploading the code to the MCU and let me know if S32DS shows any errors?

0 件の賞賛
返信

1,439件の閲覧回数
SandyHCL
Contributor I

@VaneB  Can you please tell me how to upload the code in MCU?

0 件の賞賛
返信

1,430件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @SandyHCL 

Check the following post. It has information related to the topic that might be useful for you. 

HOWTO: Build a Project and Setup a Debug Configuration for debugging in S32 Design Studio

0 件の賞賛
返信

1,436件の閲覧回数
SandyHCL
Contributor I
@VeneB Please share some screenshots
0 件の賞賛
返信