Jump to content

Internal Error: Var Not Found Id:0Xff000013: In Function


Recommended Posts

mmga,

PIC 16F1828, same problem with 16F1508

Linker reports Internal Error: Var Not Found Id:0Xff000013: In Function ...

A minimum code and a build batch is attached

Problem is cause by code trying to use PREINC0 register which does not exist on these devices.

It is because of the use of array index used on array of data type that is more than 8 bits long.

It comes down to a compiler bug :-(

 

Regards

Dave

Link to post
Share on other sites

This error has been fixed and fix will be available in the next release/update. Meanwhile as a workaround please don't use -O2 optimisation level for functions that generate the wrong code. Thanks for reporting.

 

Regards,

Pavel

Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...