Jump to content

john27

EstablishedMember
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

0 Neutral

About john27

  • Rank
    Newbrie
  1. john27

    Bug?

    Wow -I didn't think to look there! I'm glad I gave up and posted after only wasting 3 hours on the problem. Thanks, Reynard!
  2. john27

    Bug?

    This simple code generates the error below. This happens in ver 6.95 and 6.81. What am I missing? //Autocorr5.c // PIC18F2321 #include <system.h> unsigned long sum(void); unsigned long period; void main() { period = sum(); } unsigned long sum(void) //this is line 13 with the "error" { char jj; unsigned long P; P=1; jj=2; P=P+jj; return (P); } Building... BoostC Optimizing C Compiler Version 6.95 (for PIC18 architecture) http://www.sourceboost.com Copyright© 2004-2009 Pavel Baranov Copyright© 2004-2009 David
  3. Reynard, Tried that but didn't reduce the ROM usage. I'll go back to version 6.81, which Pavel made available (thanks.). Thanks, John
  4. Here's the output with 6.81: Building... BoostC Optimizing C Compiler Version 6.81 (for PIC18 architecture) http://www.sourceboost.com Copyright© 2004-2007 Pavel Baranov Copyright© 2004-2007 David Hobday Single user Lite License (Unregistered) for 0 node(s) Limitations: PIC18 max code size:8192 bytes, max RAM banks:2, Non commercial use only autocorr.c success BoostLink Optimizing Linker Version 6.81 http://www.sourceboost.com Copyright© 2004-2007 Pavel Baranov Copyright© 2004-2007 David Hobday Caution: argument of 'delay_10us' calls must have a value of 1 or mo
  5. Here at the technical college, we have been using CCS which has a very simple function to set up RS232 either in hardware or in a software emulation. I have been gradually switching my students over to Sourceboost and all has been going well except when we attempted to get serial communication going. The sample serial code did not work correctly in UART simulation by producing the wrong baud rate. We tested it in the Proteus simulation application and eventually got both receiving and transmitting working but could not get the receive to work in actual hardware (on a 16F873) even though i
  6. Hi, Problem solved. I re-installed and all works fine now. John
  7. Hi, After setting up the Sourceboost toolsuite in Mplab v 7.22, the following output is diplayed in Mplab and the build fails when trying to build a small project. Any help would be appreciated. John Clean: Deleting intermediary and output files. Clean: Done. Executing: "C:\Program Files\SourceBoost\boostlink.pic.exe" f84led.c -O1 -W1 -t 16F84 BoostLink Optimizing Linker Version 6.15 http://www.picant.com/c2c/c.html Copyright© 2004-2005 Pavel Baranov Copyright© 2004-2005 David Hobday Single user Lite License (Unregistered) for 0 node(s) Limitations: PIC12/PIC
×
×
  • Create New...