Jump to content

kmjeffer

EstablishedMember
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About kmjeffer

  • Rank
    Newbrie
  1. Dave, Interesting, makes sense that it would have problems finding the label if its popping too many return addresses or something along those lines. Thanks for the help, Kevin
  2. Hi Dave, Done, sir Thanks, Kevin Edit- I forgot to mention in the email, they also won't link if I use the linker from within SB instead of MPLAB. Interestingly enough, the label it says throw it off seem to be different between MPLAB and SB.
  3. I encountered an error with the new linker on a project that I'm working on, and went through building some older projects, with SourceBoost 597 and 600, and all of them build as expected in 597, but none link successfully using 600. I get errors like: BoostLink Optimizing Linker Version 6.00 http://www.picant.com/c2c/c.html Copyright(C) 2004-2005 Pavel Baranov Copyright(C) 2004-2005 David Hobday Single user Lite License (Unregistered) for 0 nodes Limitations: PIC12/PIC16 max code size:2048 words, max RAM banks:2, Non commercial use only Optimisation level:1 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 Internal Error: Unable to resolve label ID:0x100000F6 Failure BUILD SUCCEEDED: Fri May 20 14:55:27 2005 or BoostLink Optimizing Linker Version 6.00 http://www.picant.com/c2c/c.html Copyright(C) 2004-2005 Pavel Baranov Copyright(C) 2004-2005 David Hobday Single user Lite License (Unregistered) for 0 nodes Limitations: PIC12/PIC16 max code size:2048 words, max RAM banks:2, Non commercial use only Optimisation level:1 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 Internal Error: Unable to resolve label ID:0x1000015A Failure BUILD SUCCEEDED: Fri May 20 14:56:32 2005 The linker seems to fail if executed from either SourceBoost or MPLAB (v7.11). If I use 597, instead the linker says: BoostLink Optimizing Linker Version 2.2.5 Beta http://www.picant.com/c2c/c.html Copyright(C) 2004-2005 Pavel Baranov Copyright(C) 2004-2005 David Hobday Optimisation level:1 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 Building CASM file Memory Usage Report =================== RAM available:368 bytes, used:36 bytes (9.8%), free:332 bytes (90.2%), Heap size:317 bytes, Heap max single alloc:95 bytes ROM available:4096 words, used:429 words (10.5%), free:3667 words (89.5%) Successful and BoostLink Optimizing Linker Version 2.2.5 Beta http://www.picant.com/c2c/c.html Copyright(C) 2004-2005 Pavel Baranov Copyright(C) 2004-2005 David Hobday Optimisation level:1 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 Building CASM file Memory Usage Report =================== RAM available:368 bytes, used:55 bytes (15.0%), free:313 bytes (85.0%), Heap size:298 bytes, Heap max single alloc:95 bytes ROM available:4096 words, used:815 words (19.9%), free:3281 words (80.1%) Successful For the same projects, respectively. Please help, I'll stick with 597 as long as I can! =) Thanks, Kevin PS- When using 597 with MPLAB, the expiration notification window never pops up. I've observed that after clicking on the "build" icon, MPLAB loses focus, but no windows pop up. If I then just hit enter without clicking on anything, it finishes building. Also, if I alt-tab to see the open windows, a blank white icon with a blue bar (the default for "windows doesn't have an icon for this" or whatever) is in the alt-tab list. If I select any of the windows, including that one, with alt-tab, the icon disappears from the alt-tab list, and then boostc fakes being locked up, because its waiting on information from the invisible expiration window. Weird, huh!
  4. Dave, Hmm, I've tried moving/shrinking windows and can't see the expiration notice anywhere. Since this only happens when a new version is pending, I can manage. However, have you tried it yourself? Assuming the notification will be used in the future for trial versions or whatever, if others have the same problem and don't know there's supposed to be a window coming up, they might think it doesn't work and get turned off of the compiler. Just trying to help =) Thanks again, Kevin
  5. Does this expiration notice also affect BoostC execution from inside MPLAB? I'm able to compile my project from sourceboost, but unable to compile it from MPLAB. I had this problem once before, and ended up reinstalling sourceboost. Before beginning the installation process I discovered the latest version, not knowing that there was perhaps supposed to be an expiration window popping up. Right now if I compile my project from MPLAB, it does this: Clean: Deleting intermediary and output files. Clean: Done. Executing: "C:\Program Files\SourceBoost\boostc.pic16.exe" proto2b.c -O1 -W1 -t 16F737 As far as I can tell, it hangs indefinitely at this point. In sourceboost, it waits for 20-30 seconds, then the window pops up, and when I say "OK" it compiles like I'd expect. Thanks, Kevin
  6. Dave, OK, that got it... I figured it was something simple like that. Thanks, Kevin
  7. Hi, I'm just experimenting with some small programs in the MPLAB simulator, using BoostC 2.2. Right now, I'm having problems multiplying. My target device is a 16F737. Here's my C code: void main(void) { init(); unsigned char multiplicand, multiplier; unsigned int counter, product; multiplicand=100; multiplicand=10; multiplier=1; while(1) { product = (unsigned int) multiplicand * multiplier; counter += 1; } } It compiles fine, but Boostc.h has a bunch of externs for multiply and divide functions that aren't being found. Here's what the sourceboost linker spits out: BoostLink Optimizing Linker Version 2.2 Beta http://www.picant.com/c2c/c.html Copyright(C) 2004-2005 Pavel Baranov Copyright(C) 2004-2005 David Hobday Optimisation level:1 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 Error: Unresolved external function:_mul_16_16 Error: Unresolved external symbol, function:_mul_16_16 Failed Thanks for your help, Kevin
×
×
  • Create New...