After installing a new RTD package on S32DS Ver. 3.5 vs Ver. 3.4, etc.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

After installing a new RTD package on S32DS Ver. 3.5 vs Ver. 3.4, etc.

跳至解决方案
2,170 次查看
Fumihiko_Sato
NXP Employee
NXP Employee

Hello S32DS team,

2 questions.
Recently, some people are asking me about S32DS Ver. 3.5 behavior.
As you can see Photo1, S32DS Ver. 3.5 shows only one RTD package but Ver 3.4 show some RTD packages.
Q1. Was this behavior intentinal or was it an accident?

Photo1. S32DS Ver. 3.5 and Ver. 3.4

Fumihiko_Sato_0-1717488889699.png


[Background]
We usually need to compare a gerated codes of an old RTD and a new RTD packages on S32DS Ver. 3.5 for our customer. 
However, it takes lots of time to install and uninstall the RTD packages.

For example, when we compare sample code of SW32K3_S32M27x_RTD_R21-11_4.0.0_HF01 and SW32K3_S32M27x_RTD_R21-11_4.0.0_P20, we need to uninstall HF01 and install P20 or we need to uninstall P20 and install HF01.
It seems like RTD pakages cannot coexist...
Q2. Is my understanding correct?

A project some times cannot build after installing & uninstalling frequently RTD, although the project was able to built with the same version as before...
In the worst case, we need to reinstall everything...It means installing S32DS, RTD, etc.. 

Best regards,
Fumi

标签 (2)
0 项奖励
回复
1 解答
1,899 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Fumihiko_Sato,

Yes, a new instance needs to be installed (can be done with the same installer). When installing the second instance, change the installation path to the desired name (for example: ...\S32DS_3.5_RTD400), and you can use the .exe or .bat file inside that new Design Studio.

 

在原帖中查看解决方案

0 项奖励
回复
11 回复数
2,144 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Fumihiko_Sato,

Yes, just to add to Jiri's response, currently the fittest workaround is to install various instances for S32DS, for example:

  • C:\NXP\S32DS.3.5_RTD300\
  • C:\NXP\S32DS.3.5_RTD400\

and then install specific RTD to each instance.

Then, you can simply add as a shortcut the s32ds.bat file.

Best regards,
Julián

0 项奖励
回复
2,124 次查看
Fumihiko_Sato
NXP Employee
NXP Employee

Hello @Julián_AragónM@jiri_kral,

Thank you for your quick reply!
I understand it.
Is your team planning to release an updated S32DS Ver 3.5 xx?

Best,
Fumi  

0 项奖励
回复
2,102 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Fumihiko_Sato,

This is still unresolved, and unfortunately, there is no estimated release date for this specific fix.

I apologize for the inconveniences.

Best regards,
Julián

0 项奖励
回复
2,092 次查看
Fumihiko_Sato
NXP Employee
NXP Employee

Hello @Julián_AragónM ,

I see.

Thank you very much,
Fumi

0 项奖励
回复
2,048 次查看
Fumihiko_Sato
NXP Employee
NXP Employee

Hello @Julián_AragónM ,

I am preparing 2nd S32DS Ver.3.5 environment but I got a message of  JVM(JAVA???) after executing s32ds.bat.
 1st  C:\NXP\S32DS.3.5
 2nd C:\NXP\S32DS.3.5_RTDxxx

Do you know how to solve it?
De we need to modify "s32ds.ini" ?

 

Fumihiko_Sato_0-1717746862162.png


Best,
Fumi

0 项奖励
回复
2,030 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Fumihiko_Sato,

Looking into the Java issue, it seems it is not recognizing the javaw.exe path. Does this issue also appear when opening the "s32ds.exe" file directly? Does this happen with both instances (S32DS.3.5_RTDxxx & S32DS.3.5)?

Adding the following two lines directly before the line -vmargs and adapt the path to your Java 11 or higher 64-bit Java VM installation directory may solve this issue:

-vm
C:\NXP\S32DS.3.5_RTD_4.0.0\eclipse\jre\bin\javaw.exe (or java.exe)

 Best regards,
Julián

0 项奖励
回复
1,968 次查看
Fumihiko_Sato
NXP Employee
NXP Employee

Hello @Julián_AragónM ,

Thank you for your checking.
It was not enough for your advice, therefore I investigated and modified some items.
It seems like working but I have one question(Please refer to Photo1).

Does this issue also appear when opening the "s32ds.exe" file directly?
 ->Yes. I got the same result for s32ds.exe and s32ds.bat.

Does this happen with both instances (
S32DS.3.5_RTDxxx & S32DS.3.5)?
 -> No. Only for the copied S32DS.3.5_RTDxxx.
     S32DS.3.5 works correctly.

FYI
Step1.  Added 2 lines to S32ds.ini

-vm
C:\NXP\S32DS.3.5_RTD_XXX\eclipse\jre\bin\javaw.exe


Step2. Copied and Pasted the jre folder to 2 kinds of folders
            1. C:\NXP\S32DS.3.5_RTD_XXX\S32DS\tools\S32FlashTool\GUI
            2. C:\NXP\S32DS.3.5_RTD_XXX\eclipse

Photo1. What I did  and one questionb elow.

Fumihiko_Sato_1-1717987872391.png

Photo2. Copied and Pasted the jre folder to 2 kinds of folders

Fumihiko_Sato_0-1717987329138.png


Best,
Fumi

0 项奖励
回复
1,940 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Fumihiko_Sato,

This value should be modified by the installer with the new instance's path when changing the default path in installation:

Julin_AragnM_0-1718043697409.png

Have you copied the configuration instead of installing a new instance with the .exe installer? 

0 项奖励
回复
1,920 次查看
Fumihiko_Sato
NXP Employee
NXP Employee

Hello @Julián_AragónM ,

Thank you for your support.

This value should be modified by the installer with the new instance's path when changing the default path in installation:
 -> Do you mean
this path is automatically changed with the installer?

Have you copied the configuration instead of installing a new instance with the .exe installer? 
 ->Yes. I just copied S32DS.3.5(Default) folder and modified 2 things(Photo1).
     Should I install for S32DS.3.5_RTD_XXX(2nd) using installer?

Photo1. Modified items

Fumihiko_Sato_0-1718068414773.png


KInd regards,
Fumi 

0 项奖励
回复
1,900 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Fumihiko_Sato,

Yes, a new instance needs to be installed (can be done with the same installer). When installing the second instance, change the installation path to the desired name (for example: ...\S32DS_3.5_RTD400), and you can use the .exe or .bat file inside that new Design Studio.

 

0 项奖励
回复
2,149 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

it is known issue already logged in JIRA. For example in S32DS v3.5 RTD v4.0.0 rewrites existing installed RTD v3.0.0. 

 

As a temporary workaround you can use two instances of S32DS v3.5 with different RTD versions. 

0 项奖励
回复