Keil Logo

BL51: FATAL ERROR 250 (CODE SIZE LIMIT...)


Information in this article applies to:

  • C51 Version 6.00 and later

SYMPTOMS

I receive the following error when I link my project:

Fatal Error L250: Code Size Limit in Restricted Version Exceeded

I have the real (not the evaluation) tools and I've checked all the settings and everything seems OK. Why am I receiving this error message?

CAUSE & RESOLUTION

There are several reasons for this error message.

  1. You are using the evaluation tools. Click on Help — About in the µVision4 IDE and look for your serial number. Note that you must have a project open when you do this. If the IDE reports that your serial number is EVAL VERSION (or something similar) then you need to purchase the tools or install full version of the tools you purchased.
  2. You may have an OBJ file that was compiled or assembled with the evaluation software. Rebuild (re-compile and re-assemble) all of the files in your project. This will solve the problem in many cases.
  3. With a license, you see C500 warning(s) precede the L250 error. This means the support period of the product ended before the release date of the installed version of the toolchain. Either renew support, to access the latest upgrades, or downgrade to a supported version. Earlier releases are available for download, from the following section: Maintenance Status and Previous Versions.
  4. You have a CA51 or DK51 kit and are trying to use the Extended Assembler and Linker checkbox options in your project. These options are only available in the PK51 toolkit.
  5. You have selected a device from an architecture different than supported by your fully-licensed product. For example, if you have only a PK51 kit licensed, but you select an NXP LPC2148 device as a target. µVision knows that the LPC2148 is an ARM device and tries to build the project using the ARM tools. If you have no ARM license, the ARM tools run in evaluation mode.
  6. You have a vendor-specific license and you have selected a device from a different vendor than supported by your licensed product. Vendor-specific licenses run in evaluation mode for products made by other vendors of the same device architecture.
  7. You installed V7 using an Add-on Diskette ZIP download file, but the Use Folder Names option was not checked when you extracted the Add-on Diskette files.
  8. If you have just upgraded to Version 8.00 or later, you must license your kit to activate its full capabilities. See the Installing a LIC section in the Licensing User's Guide for information regarding this.
  9. If you have another version of µVision installed on your PC, check Components, Environments and Books in the Folders/Extensions tab. If the BIN: text box is not blank, make sure it points to the /BIN folder that contains the latest version of µVision.

MORE INFORMATION

SEE ALSO

Last Reviewed: Friday, January 25, 2019


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.