S32DS project build error

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

S32DS project build error

Jump to solution
6,150 Views
aksingh4
Contributor I

I have a S32DS project which was built using version 2018.R1 (Build id: 180815).

The system which I have has version 2018.R1 (Build id: 180326) installed.

While building the project I am getting

Cannot run program "": Launching failed

Error: Program "" not found in PATH

 

How to resolve above issue. And how to update build version? Need solution asap.

 

0 Kudos
1 Solution
5,957 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

this can be done by update. With fresh install:

jiri_kral_1-1636444159983.png

 

On main menu bar click on Help -> Install new Software -> check Available Software sites: 

 

jiri_kral_3-1636444303902.png

 

Select S32DesignStudio and PE Micro:

 

jiri_kral_4-1636444361630.png

 

Select all available sites: 

jiri_kral_2-1636444252942.png

 

and you should be able see what will be updated:

 

jiri_kral_0-1636444135158.png

 

When update is done (it takes a while - it is cumulative update) - the support for MCWT1xxx is added and the build version is as requested: 

jiri_kral_5-1636446066545.png

 

Hope it helps. 

 

Jiri 

 

View solution in original post

0 Kudos
18 Replies
6,142 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

 

what type is your project - it is project from Example or you created new empty one? 

 

Jiri 

0 Kudos
6,141 Views
aksingh4
Contributor I

Sorry could not get question?

I dont know how project was created. I am just importing it the new workspace.

Its a 2+ year old project.

0 Kudos
6,137 Views
jiri_kral
NXP Employee
NXP Employee

Okay, I see. Can you please share output from build console and the .args file (by default is .args file in Debug or Debug_Flash folder)?

 

Jiri

0 Kudos
6,136 Views
aksingh4
Contributor I

How to share files privately?

0 Kudos
6,132 Views
jiri_kral
NXP Employee
NXP Employee

You can send it directly to my NXP email address. 

0 Kudos
6,129 Views
aksingh4
Contributor I

 

Please remove files after use.

 

Console Build:

14:43:20 **** Build of configuration Debug for project awc_msil ****
-j8
Cannot run program "": Launching failed

Error: Program "" not found in PATH
PATH=[C:\NXP\S32DS_ARM_v2018.R1\eclipse\..\Cross_Tools\gcc-6.3-arm32-eabi\bin;C:\NXP\S32DS_ARM_v2018.R1\utils\msys32\usr\bin;C:/NXP/S32DS_ARM_v2018.R1/eclipse/jre/bin/client;C:/NXP/S32DS_ARM_v2018.R1/eclipse/jre/bin;C:/NXP/S32DS_ARM_v2018.R1/eclipse/jre/lib/i386;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\TortoiseGit\bin;C:\WINDOWS\System32\OpenSSH\;c:\Program Files\MATLAB\R2018a\runtime\win64;c:\Program Files\MATLAB\R2018a\bin;C:\Users\nxf39574\AppData\Local\Microsoft\WindowsApps;;C:\NXP\S32DS_ARM_v2018.R1\eclipse]

14:43:20 Build Finished (took 153ms)

 

0 Kudos
6,125 Views
jiri_kral
NXP Employee
NXP Employee

In your project is absolute path for linker script file (the .ld file) - located on Drive  
D:/1_git/actual/AWC_MSIL_B_VERSION/awc_msil/Project_Settings/Linker_Files/MWCT1014S_64_flash.ld"

Do you have such folder on your machine? If not, you need add correct location for linker file script in Project Properties: 

jiri_kral_0-1635759110384.png

 

Jiri

 

0 Kudos
6,122 Views
aksingh4
Contributor I

The path you gave is valid.

The script is present "${ProjDirPath}/Project_Settings/Linker_Files/MWCT1014S_64_flash.ld" at location from root folder.

0 Kudos
6,112 Views
jiri_kral
NXP Employee
NXP Employee

Okay. What is in Project Properties -> Settings -> Cross Settings? 

jiri_kral_0-1635763840706.png

 

And what is in your toolchain properties: 

jiri_kral_1-1635764003383.png

 

 

It is possible share your project - you an send it to jiri.kral@nxp.com .  It looks, that there is probably somehow badly setup toolchain. If you imported project, was there some Warning/Error message? 

0 Kudos
6,111 Views
aksingh4
Contributor I

aksingh4_0-1635764138225.png

 

 

aksingh4_1-1635764165930.png

 

 

I would like to upgrade the build version i.e from 180326 to 180815 first and try? How to do it?

0 Kudos
6,095 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

 

I'm not able reproduce it - but the red line is the cause. Did you tried choose different toolchain from the list? 

 

Jiri

0 Kudos
6,070 Views
aksingh4
Contributor I

I have attached snapshots of projects settings which are required to build the project.

The outcome of this is that

1. I am able to build the project but there is mismatch in hex file contents. 

2. I am not able to select chip: MWCT1014S in "EmbSys Register View" project settings. The only options are S32K* series. 

3. there is definitely some issue happening while importing the project

Can you give steps about "How to update S32DS build id from 180326 to 180815"?

I think this will might resolve the issue build issue.

 

 

 

0 Kudos
6,060 Views
aksingh4
Contributor I

I the vendor only Freescale is present.

0 Kudos
6,049 Views
jiri_kral
NXP Employee
NXP Employee

Okay, So try the update or install the latest S32DS version - S32DS For ARM v2.2. 

 

If the update doesn't work and you required the S32DS for ARM v2018.R1 - download it from NXP pages, uninstall your existing S32DS and install the downloaded one.

 

Jiri

 

0 Kudos
6,062 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

the MWCT10xxS chip is under NXP vendor, not in Freescale - are you able switch from Freescale to NXP in EmbSys register view? 

jiri_kral_0-1635929888694.png

 

You can update your S32DS installation from Main Menu bar Help -> Install New Software: 

jiri_kral_1-1635930004781.png

 

Anyway, the latest S32DS version supporting MWCT10xx MCU is S32DS for ARM v2.2 - 

https://nxp.flexnetoperations.com/control/frse/download?agree=Accept&element=11406937

 

Jiri

 

 

0 Kudos
5,964 Views
aksingh4
Contributor I

I have tried all the following but issue still remains

1. software update

2. complete re-install

@jiri_kral Can you tell me how to update S32DS build id to 180815?

0 Kudos
5,958 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

this can be done by update. With fresh install:

jiri_kral_1-1636444159983.png

 

On main menu bar click on Help -> Install new Software -> check Available Software sites: 

 

jiri_kral_3-1636444303902.png

 

Select S32DesignStudio and PE Micro:

 

jiri_kral_4-1636444361630.png

 

Select all available sites: 

jiri_kral_2-1636444252942.png

 

and you should be able see what will be updated:

 

jiri_kral_0-1636444135158.png

 

When update is done (it takes a while - it is cumulative update) - the support for MCWT1xxx is added and the build version is as requested: 

jiri_kral_5-1636446066545.png

 

Hope it helps. 

 

Jiri 

 

0 Kudos
6,057 Views
aksingh4
Contributor I

In the vendor only Freescale is present.

0 Kudos