Code generation failed

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

Code generation failed

2,784 次查看
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 项奖励
回复
7 回复数

2,764 次查看
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 项奖励
回复

2,717 次查看
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 项奖励
回复

2,702 次查看
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 项奖励
回复

2,675 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

it is possible share your project? 

0 项奖励
回复

2,647 次查看
TWL
Contributor III

Hi!

This is my project. It just a demo.

标记 (1)
0 项奖励
回复

2,637 次查看
TWL
Contributor III

this is my project.

标记 (1)
0 项奖励
回复

2,216 次查看
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 项奖励
回复