Keil Logo

C166: V3.11 NDATA/NCONST Size Exceeds 16kb Message


I've just installed the C166 v3.11 update from the Keil website, and now I am receiving a linker error stating that NDATA/NCONST size exceed 16k. Other than running the v3.11 update, I didn't change anything. What's the problem?


The new version of the L166 linker requires that you define NDATA0 in addition to NDATA and NCONST. Add a class definition for NDATA0 to your linker options and the error should disappear.

If you have further questions, contact Keil Technical Support.

Last Reviewed: Wednesday, November 11, 2020

Did this article provide the answer you needed?
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.