lpcware

License size restriction error

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by dbailey on Thu May 05 15:42:36 MST 2011
I have been developing a piece of software that runs on an LPC1758 processor.  I am using LPCXpresso 3.8.1 (Build 117) running on Ubuntu 10.04 (kernel 2.6.32-27-generic)

Until today, I have had no problems with this code.  Now when I try to debug my code I get a size limitation error as follows: 

Target reported errors:
Reason: License restriction: Flash Image is too large for this license

The code has not changed overnight but the ability to load it and run it has.

My code module is 50656 bytes as indicated by the arm-none-eabi-size application:

arm-none-eabi-size nxp_lpc17xx_bootloader.axf; arm-none-eabi-objcopy -O binary nxp_lpc17xx_bootloader.axf nxp_lpc17xx_bootloader.bin ; checksum -p LPC1758 -d nxp_lpc17xx_bootloader.bin;  arm-none-eabi-objcopy -I binary -O ihex nxp_lpc17xx_bootloader.bin nxp_lpc17xx_bootloader.hex
   text       data        bss        dec        hex    filename
  49004        696        956      50656       c5e0    nxp_lpc17xx_bootloader.axf
Created checksum 0x52e8fdef in nxp_lpc17xx_bootloader.bin at offset 0x1c


When I display the Help->Product activation->Display license type I get:

license type: FULL
Debug limit: 128K
A FULL copy of LPCXpresso may be used for production

When I run the debugger in diagnostics mode I get:

$ crt_emu_cm3_nxp -info-license
Ni: LPCXpresso Debug Driver v2.0 (Dec 13 2010 09:27:36)

I have uploaded my /usr/share/LPCXprresso directory for your inspection.

Why is this happening?  My code size clearly fits within the 128KB limit. Is this a known bug?  What are my options?

Outcomes