Code generation failed

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

Code generation failed

2,219 Views
TWL
Contributor III

When I create an S32K312 project using S32 3.5, I cannot generate code in the Peripherals Configuration Tool. My installation details are shown in the image.

TWL_0-1746695312936.png

 

0 Kudos
Reply
7 Replies

2,199 Views
TWL
Contributor III

I clicked on the repair button that looks like a light bulb, but it still couldn't fix the problem.image.png

0 Kudos
Reply

2,152 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

if you hold mouse pointer above the error message, isn't there some detailed description of the error? 

0 Kudos
Reply

2,137 Views
TWL
Contributor III

Here is  some detailed description:

Problem: Code generation failed.
Level: Error
Type: Tool issue
Tool: Peripherals
Source: Peripherals
Related resources: Sources
Information: Code generation failed.

As shown in the picture:

TWL_0-1747098358485.png

 

0 Kudos
Reply

2,110 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

it is possible share your project? 

0 Kudos
Reply

2,082 Views
TWL
Contributor III

Hi!

This is my project. It just a demo.

0 Kudos
Reply

2,072 Views
TWL
Contributor III

this is my project.

0 Kudos
Reply

1,651 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

I tested your demo project and when I try to open config tool, it says that .mex file is corrupted. If I deleted the .mex file and let Config Tool create new one, I can normally generate code and use Config Tool without any issue. 

If the corrupted .mex file was unmodified - I suggest to re-install S32DS. 

0 Kudos
Reply