Compiler Error Codesize

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

Compiler Error Codesize

跳至解决方案
2,727 次查看
Olitsch
Contributor I

Hi all,

 

 

When my xgate.cxgate code gets too big i get the following error message:

 

error: C5300: Limitation : 744>512 bytes

xgate.cxgate line 421

 

I am using CodeWarrior version 5.7.0 standard with a S12XDP512.

 

I´ve allready spend some time searching and the only limitaion of 512 byte I could find was für XGATE C++ code/linker.

But i´m only using ANSI-C code as stated in the map file.

 

Am i missing somthing here?

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,942 次查看
CrasyCat
Specialist III

Hello

 

You have an issue with your license file. Did you attach the license file to a dongle?

If yes, is the USB dongle inserted in one of the PC USB ports?

 

Please submit a licensing SR to get that investigated properly.

 

Here is the URL to submit an SR:

https://www.freescale.com/webapp/servicerequest.create_SR.framework?regFlag=fromOpenSR.

CrasyCat

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,942 次查看
kef
Specialist I

I guess something is wrong to your standard license. Special edition license allows 512 bytes of XGATE C code.

When in Standard Settings box click Compiler for XGATE, then About box. Scroll down and see license status HIxxxx ... DEMO or not demo.

 

5.7.0 is IDE version, which doesn't matter a lot. In about box click Installed Products buttons and look above Codewarrior Development Suite for YYYY Vxxxx.

1,942 次查看
Olitsch
Contributor I

Thanks for your help,

 

version is 4.5.

 

I looked for the licence status as you suggested:

 

 

HIxxxx (metrowks, 4.000): XGATE Compiler ANSI-C (XGATE, limited by feature: 512 bytes of code, Single User License, FLEXID: x-xxxxxxx, registered, cached)HIxxxx (metrowks, 4.000): XGATE Compiler C++ Extension (XGATE, checkout failed, demo mode: 128 bytes of code, running in demo mode(-5), UNREGISTERED)

 

It says demo mode, but only for the C++ extension im not using.

 

0 项奖励
回复
1,943 次查看
CrasyCat
Specialist III

Hello

 

You have an issue with your license file. Did you attach the license file to a dongle?

If yes, is the USB dongle inserted in one of the PC USB ports?

 

Please submit a licensing SR to get that investigated properly.

 

Here is the URL to submit an SR:

https://www.freescale.com/webapp/servicerequest.create_SR.framework?regFlag=fromOpenSR.

CrasyCat

0 项奖励
回复
1,942 次查看
kef
Specialist I

.. and 512 bytes for C XGATE code

0 项奖励
回复