Error during opening mex file in S32 Design Studio for S32G274 Rev2 in S32 Design Studio 3.4

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

Error during opening mex file in S32 Design Studio for S32G274 Rev2 in S32 Design Studio 3.4

跳至解决方案
3,140 次查看
Ravi091
Contributor I

Hi,

 

I'm trying to configure some modules in the example code for S32G274A-Rev2 . but when I try to open the mex file in S32 Design Studio, I'm getting some error(Attached the same).

Ravi091_0-1628857115897.png

 

I'm using S32 Design Studio version 3.4

Please let me know which is the right SDK for the same.

S32G2 support guide 

0 项奖励
回复
1 解答
3,122 次查看
bpe
NXP Employee
NXP Employee

You must be trying to directly open a .mex from an RTD example folder
(<Your_RTD_Install_Dir>\eclipse\plugins\<Drv_Name>\examples\S32DS\<Example_Name>\)
It is not a valid way to work with this package.

To do it properly, you have to install RTD as an update/extension to S32DS:

bpe_0-1629122419786.png

then create a new project by following "File->New->Project from Example" menu path and
select the desired example:

bpe_1-1629122729343.png

 

When you follow this way, S32DS copies the example to your workspace and prepares it for
making modifications.

 

Hope this helps,
Platon

 

 

 

 

在原帖中查看解决方案

4 回复数
3,123 次查看
bpe
NXP Employee
NXP Employee

You must be trying to directly open a .mex from an RTD example folder
(<Your_RTD_Install_Dir>\eclipse\plugins\<Drv_Name>\examples\S32DS\<Example_Name>\)
It is not a valid way to work with this package.

To do it properly, you have to install RTD as an update/extension to S32DS:

bpe_0-1629122419786.png

then create a new project by following "File->New->Project from Example" menu path and
select the desired example:

bpe_1-1629122729343.png

 

When you follow this way, S32DS copies the example to your workspace and prepares it for
making modifications.

 

Hope this helps,
Platon

 

 

 

 

908 次查看
WenWenDar
Contributor II

I import my project according to this way,but the mex file still can not be opended.

The RTD version is latest. 

The example is MCSPTE1AK344_PMSM_FOC_2Sh_ll.

0 项奖励
回复
901 次查看
WenWenDar
Contributor II

The reason is that RTD versions are not compatible. Modifying the mex file can solve this problem.

 

标记 (1)
0 项奖励
回复
3,112 次查看
Ravi091
Contributor I

Hi @bpe,

Thanks for the help. It's working with the procedure you have mentioned. 
Previously I was trying to open the mex file directly without installing the RTD.

 

Thanks

Ravindra

0 项奖励
回复