Jump to content

More On Internal Error: Var Not Found Id:0xff000003


Recommended Posts

Zoom,

Apparently it doesn't like this (at least in my case):

 

static unsigned char message[16];

 

But this is OK:

 

static unsigned char message[8];

static unsigned char message2[8];

 

And so is this:

 

unsigned char message[64];

A more complete program example would help.

 

Regards

Dave

Link to post
Share on other sites
A more complete program example would help.

 

Regards

Dave

Here ya go. Thanks Dave.

#include <system.h>
#include <stdlib.h>

#pragma CLOCK_FREQ 4000000  // config clock to 4mhz.
#pragma DATA _CONFIG1, _FOSC_INTOSC & _WDTE_OFF & _MCLRE_OFF & _CP_OFF & _CPD_OFF 

static unsigned char message[16];

void main() 
{
unsigned char commandchar = 1;
while(1)	  
{
	if (commandchar != 0)
	{
		commandchar = 0;
	}
}//while(1)
}

 

"C:\Program Files\SourceBoost\boostlink_pic.exe" -idx 1 /ld "C:\Program Files\SourceBoost\lib" libc.pic16.lib Release\Test1822.obj /t PIC12F1822 /d "C:\Program Files\SourceBoost\Samples\C\BoostC\Release" /p Test1822

Internal Error: Var not found id:0xFF000003: in Function '_startup'

BoostLink Optimizing Linker Version 7.01

Link to post
Share on other sites

Zoom,

"C:\Program Files\SourceBoost\boostlink_pic.exe" -idx 1 /ld "C:\Program Files\SourceBoost\lib" libc.pic16.lib Release\Test1822.obj /t PIC12F1822 /d "C:\Program Files\SourceBoost\Samples\C\BoostC\Release" /p Test1822

Internal Error: Var not found id:0xFF000003: in Function '_startup'

BoostLink Optimizing Linker Version 7.01

This looks to be related to the .tdf file you are using (PIC12F1822) which is not a proper release version yet. The var not found is actually the FSR register, there may be an error in the TDF in that respect.

I'm still investigating the problem along with working on support for some new target devices.

 

Regards

Dave

Link to post
Share on other sites
This looks to be related to the .tdf file you are using (PIC12F1822) which is not a proper release version yet. The var not found is actually the FSR register, there may be an error in the TDF in that respect.

I'm still investigating the problem along with working on support for some new target devices.

Cool. Thanks Dave. I'll stay tuned.

 

Colin

Link to post
Share on other sites
Zoom,

This looks to be related to the .tdf file you are using (PIC12F1822) which is not a proper release version yet. The var not found is actually the FSR register, there may be an error in the TDF in that respect.

I'm still investigating the problem along with working on support for some new target devices.

So in PIC12F1822.TDF I changed FSR0 to FSR0L and FSR1 to FSR1L.

Seems to work.

 

Cheers,

Colin

Link to post
Share on other sites
  • 2 weeks later...

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...