Jump to content

Recommended Posts

Hi,

I get the following error, What is this?

 

'Internal Error: Data Type not found id:0x1000253A:0x006:0x00000883'

 

post-5543-0-31630700-1448982414_thumb.jpg

 

Any solution?

 

Thanks

John

 

 

Share this post


Link to post
Share on other sites

Hi John,

 

Internal Error is a common problem with sourceboost.

 

I usually have comment out code until it goes away, then try to narrow it down to what causes it.

 

Report your findings as a bug report.

 

You may get it fixed but don't wait for it to happen soon.

 

Cheers

 

Reynard

Share this post


Link to post
Share on other sites

Hi Reynard,

 

I narrowed down to the line of code which is causing this error.

 

As you can see from the attached code, commenting the following line solves the problem

 

// Commenting the below line fixes the issue.
Read_BlockOfData(un.lData, (unsigned char)uWorkVal, Ptr);
	union temp
	{
		unsigned char byte[4];
		unsigned long lData;
	}un;

	un.byte[0] = rx_data_buf_Ftdi[1];	// LSbyte
	un.byte[1] = rx_data_buf_Ftdi[2];
	un.byte[2] = rx_data_buf_Ftdi[3];
	un.byte[3] = 0;
	uWorkVal = rx_data_buf_Ftdi[4];

	// Commenting the below line fixes the issue.
	Read_BlockOfData(un.lData, (unsigned char)uWorkVal, Ptr);

thanks

John

Share this post


Link to post
Share on other sites

Hi John,

 

I can't reproduce the error from the info you have given.

 

Some definitions missing for Ptr, uWorkVal, rx_data_buf_Ftdi[] and the function prototype for Read_BlockOfData.

 

The PIC type may help the developers as well.

 

Cheers

 

Reynard

Share this post


Link to post
Share on other sites

Thanks Reynard,

 

I forgot to mention that calling the same function works in another project but causes problem in this.

 

I'm sure commenting out that line solved the problem.

 

btw, declaration for the function is

 

bit Read_BlockOfData(unsigned long ulAddr, unsigned char cBlockSize, char *buff)

 

PIC -> 18F67K22

Compiler -> Sourceboost 7.21

IDE -> MPLAB 8.87

OS -> Windows 7, 64bit

 

 

Thanks

John

Share this post


Link to post
Share on other sites

Hi

 

Did you noticed that your version of BoostC is a bit outdated.

 

Version 7.22 has been released a long time ago and more recently version 7.30.

I think you should try an update of BoostC and then see if you still have the same problem.

 

By my experience, I'm pretty sure that "internal error" happens when the parser gets lost for some reason.

Most of the times it happended to me, I managed to track it down to some insidious bug of mine somewere else in the code.

I think BoostC has some weak points in handling our coding errors,

 

Just my 2 cents....

 

 

Best regards

Jorge

Edited by JorgeF

Share this post


Link to post
Share on other sites

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
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...

×