Jump to content
Sign in to follow this  
rlang

Boostc 1.8 Linking Problem

Recommended Posts

:) Bug description:

BOOSTC 1.8 fails to link program that compiled and linked successfully with 1.7.

 

Steps to reproduce:

1.) Compile program no errors.

Compiling...

C:\SBOOST\boostc.pic18.exe -t PIC18F2455 usbtest.c

BoostC Optimizing C Compiler Version 1.8 Alpha (for PIC18 architecture)

http://www.picant.com/c2c/c.html

Copyright© 2004 Pavel Baranov

Copyright© 2004 David Hobday

success

Done

 

2.) Link program and get following

Linking...

 

C:\SBOOST\linker.exe /ld C:\SBOOST\lib libc.pic18.lib usbtest.obj /t 18F2455 /d C:\SBoost\RBL\C\BoostC /p usbtest

BoostLink Optimizing Linker Version 1.8 Alpha

http://www.picant.com/c2c/c.html

Copyright© 2004 Pavel Baranov

Copyright© 2004 David Hobday

Warning: Unable to successfully create 'delay_us' for target with clock freq 4000000 Hz

Warning: argument of 'delay_10us' calls must have a value of 1 or more

Var not found id:0xFF000017

Failed

Done

 

Expected behavior:

Program that compiled and linked successfully under 1.7 would also compile and link successfully under 1.8

 

Is the problem 100% reproducible:

Yes

SourceBoost version: 5.7

Compiler: BoostC

Compiler version: Compiler Version 1.8 Alpha (for PIC18 architecture)

OS: Windows 98

Comments:

What is Var not found id:0xFF000017 telling me? I am not doing anything in that area of memory.

Share this post


Link to post
Share on other sites
Looks like this is the same problem described in http://sourceboost.ipbhost.com/index.php?showtopic=788 (check this link for a fix)

 

Regards,

Pavel

 

Yes, it is the same problem. I am developing for the 18F2455 and I sent my modified tdf file to Dave for his use (without the PCL fix). Could Dave take a look at it and see what additional changes need to be made other than the PCL fix or alternately email me the tdf file he developed for

http://sourceboost.ipbhost.com/index.php?showtopic=788

 

Thanks

Rob

Share this post


Link to post
Share on other sites

Rob,

 

I'm nearly ready to release a new set of TDF and header files.

The PIC2455 isn't in that set yet, so I will add it and send you a pre-release version of this TDF soon.

 

 

Regards

Dave

Share this post


Link to post
Share on other sites

Everyone,

 

Updated header files and TDF files can be downloaded from the download page page.

 

Fixes:

1) More registers defined.

2) _config and associate bit masks defined

3) Trancated addresses fixed.

4) Some headers won't compile file fixed.

5) TDF files now define empty bit names as 'x' as a workaround for IDE bug.

6) USB buffers in some devices now defined.

7) New targets added, PIC12s that have 16Bit cores now can be compiled and debugged (hardware simulation still limited on these devices).

 

These have taken a long time to construct, I hope they work well for you :blink:

 

Regards

Dave

Share this post


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...
Sign in to follow this  

×
×
  • Create New...