Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by bren

  1. Hi, I'm having simliar troubles as this post -> http://forum.sourceb...?showtopic=5030 However my device is the 12F683 and it seems the eeprom functions are unresolved. The fix mentioned, a lot of searching and a bit of hacking with the eeprom.h file did not resolve the issue. The source compiles fine - the linking fails and no hex is generated. #pragma DATA _EEPROM, 6 // this works fine val = eeprom_read(0x00); // this causes the error shown below Linking... "C:\Program Files\SourceBoost\boostlink_pic.exe" -idx 1 /ld "C:\Program Files\SourceBoost\lib" libc.p
  2. thanks for the heads up - easily overlooked I'm just commenting out the original lines in the include file and all my own c source has the defines I need in it on this project so all would not be in vain.
  3. It's a rather odd way of doing things. cmcon0.6 is faster to type I ended out commenting out COUT and similar in the 12f683.h file and doing the defines in my code as follows #define COUT cmcon0.6 #define CM0. cmcon.0 etc
  4. Hi, I've spent the last few days trying to migrate to BoostC but it seems that 6bit GPIO chips are not fully implemented. OS WIn7SourceBoost IDE 7.0512F683 The comparator uses GP0,GP1,GP2 and an internal voltage reference to function. It can be configured in many ways but it's output (COUT) is always available as bit6 of the CMCON0 register. CMCON0 : [u] [cout] [u] [cinv] [cis] [cm2] [cm1] [cm0] (page 56 of the 12F683 pdf - 41211d) I'm setting the comparator up in mode 6 (cm2:0<110>) for the first example and mode 5 (cm2:0<101>) for the
  • Create New...