NXP S32K1xx Example in ERIKA V3

Forum related to ERIKA Enterprise and RT-Druid version 3

Moderator: paolo.gai

Post Reply
priyasloka
Newbie
Posts: 5
Joined: Sun Sep 30, 2018 3:28 pm

NXP S32K1xx Example in ERIKA V3

Post by priyasloka »

I was trying to explore NXP S32K1xx (I have an s32k starter kit) example and I am facing these issues while compilation.
Environmental Details
--------------------------------------------------------------------------------------------------------------------------------------------------
OS Windows 10,64 bit
ERIKA V3 Version GH47
--------------------------------------------------------------------------------------------------------------------------------------------------
Links followed from WIKI
--------------------------------------------------------------------------------------------------------------------------------------------------
1. http://www.erika-enterprise.com/wiki/in ... on_Windows
2. http://www.erika-enterprise.com/wiki/in ... requisites
3. http://www.erika-enterprise.com/wiki/in ... on_Windows
--------------------------------------------------------------------------------------------------------------------------------------------------
Each detail as per the links are followed however I am unable to compile the project. I have MPLAB X IDE V
4.05 (I worked on Microchip products) and S32 Design Studio 2017.R1 installed on my laptop.S32 SDK, CYGWIN and GNU Tool for ARM are also installed.
6.png
6.png (108.24 KiB) Viewed 6366 times
5.png
5.png (34.4 KiB) Viewed 6366 times
4.png
4.png (45.99 KiB) Viewed 6366 times
Last edited by priyasloka on Mon Oct 01, 2018 11:26 am, edited 1 time in total.
priyasloka
Newbie
Posts: 5
Joined: Sun Sep 30, 2018 3:28 pm

Re: NXP S32K1xx Example in ERIKA V3

Post by priyasloka »

3.png
3.png (19.15 KiB) Viewed 6364 times
2.png
2.png (26.83 KiB) Viewed 6364 times
1.png
1.png (30.38 KiB) Viewed 6364 times
paolo.gai
Administrator
Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re: NXP S32K1xx Example in ERIKA V3

Post by paolo.gai »

Once you created the example from the template, please check the OIL file.

The OIL file contains the version of the EAR to be used.

For example, I have installed a few days ago the latest version of the EAR, and I had to change the OIL file to:

Code: Select all

    LIB = S32_SDK {
      /* Used to select Board: S32K148EVB-Q144-Q176 */
      BOARD = S32K148EVB_Q144_Q176;
      /* Used to select library version. */
      VERSION = "0.8.6 EAR";
      /* Create libs32sdk.a */
      STAND_ALONE = TRUE;
    };
Please note the VERSION, which should be inline with what you installed.

In my case, the property for the S32 SDK is the following:
C:\NXP\S32DS_ARM_v2018.R1\S32DS\S32SDK_S32K14x_EAR_0.8.6

It seems however you are using the EAR 0.8.4... check that the version in the OIL is correct and in line with the one of the properties.

Ciao,

PJ
priyasloka
Newbie
Posts: 5
Joined: Sun Sep 30, 2018 3:28 pm

Re: NXP S32K1xx Example in ERIKA V3

Post by priyasloka »

7.jpg
7.jpg (188.83 KiB) Viewed 6360 times
The issue persists. I have changed to S32DS_ARM_v2018.R1 but the object files are not created. Could it be any issue with CYGWIN or GNU ARM GCC tool chain
paolo.gai
Administrator
Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re: NXP S32K1xx Example in ERIKA V3

Post by paolo.gai »

On my machine, where it works, I set up the ARM Toolchain

C:\Program Files (x86)\GNU Tools ARM Embedded\4.9 2015q3

Please try that version of the ARM toolchain.

PJ
priyasloka
Newbie
Posts: 5
Joined: Sun Sep 30, 2018 3:28 pm

Re: NXP S32K1xx Example in ERIKA V3

Post by priyasloka »

8.jpg
8.jpg (163.13 KiB) Viewed 6356 times
The GNU ARM toolchain is the same as you suggested , not sure what is the issue
priyasloka
Newbie
Posts: 5
Joined: Sun Sep 30, 2018 3:28 pm

Re: NXP S32K1xx Example in ERIKA V3

Post by priyasloka »

Thanks Paolo, i have installed CYGWIN(32 bit and 64 bin), the issue is resolved now
Post Reply