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.
Hi @VaneB We are seeing an error for peripherals. It is stating as tool problem. Please refer to attached image.
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.
Hi @VaneB In Peripherals window, there is no peripherals listed - Refer to the attached screenshot. Can you please help me?
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
@VaneB Here is the installation details screenshots
I don't see any error during update code generation.
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?
@VaneB Can you please tell me how to upload the code in MCU?
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