Compiler Error Codesize

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

Compiler Error Codesize

Jump to solution
1,936 Views
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?

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
1,151 Views
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

View solution in original post

0 Kudos
Reply
4 Replies
1,151 Views
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,151 Views
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 Kudos
Reply
1,152 Views
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 Kudos
Reply
1,151 Views
kef
Specialist I

.. and 512 bytes for C XGATE code

0 Kudos
Reply