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

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

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

Jump to solution
3,153 Views
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 Kudos
Reply
1 Solution
3,135 Views
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

 

 

 

 

View solution in original post

4 Replies
3,136 Views
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

 

 

 

 

921 Views
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 Kudos
Reply
914 Views
WenWenDar
Contributor II

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

 

Tags (1)
0 Kudos
Reply
3,125 Views
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 Kudos
Reply