Jump to content

Mark Paanakker

  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Mark Paanakker

  • Rank
  1. Hi, Thanks for your help. Good to know the warnings can be ignored. /Mark
  2. After a succesful compilation, I get the following errors during build. What could be wrong? 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 I have not referenced delay_us or delay_10us in my C code. Cheers, Mark
  3. Hi Dave, Thanks for your help ! I appreciate it. Could you explain a litte more wrt: " for this use format to set configuration: #pragma DATA _CONFIG, _CP_OFF & _PWRTE_OFF & _WDT_OFF & _HS_OSC to set device ID, you will need: #pragma DATA xxxx, 0xE001 replace xxxx with the programming address of the device ID." My additional questions: 1) What is the device ID? What kind of ID is 0xe001? How do I find the right adress ? 2) #pragma DATA _CONFIG, _CP_OFF & _PWRTE_OFF & _WDT_OFF & _HS_OSC is the equivalent of #pragma config |= 0x3F71 Thanks,
  4. Hi, Currently it is required to state: intcon1.GIE = 0; GIE has only been declared as a bit within intcon1, so why can I not simply state GIE = 0; Some of the other compilers out there support this (like C5x). This enhancement is not absolutely required, but it makes programming a little more friendly. Kind regards, Mark Paanakker
  5. Hi, As a new user of BoostC I am running into some problems: 1) I had assmebly code I could include in Cc5x to save registers during interrupt (W, STATUS and PCLATCH). I have been unsucessful in finding replacement code for a PIC16F870. Any ideas ? 2) In Cc5x interrupt routines, the statement "#pragma origin 4". What is the replacement statement foor BoostC? 3) PIC configuration statements for Cc5x are: #pragma config WDTE=0, PWRTE=0, FOSC=XT #pragma config |= 0x3F71 #pragma config ID=0xe001 What are the equivalent statements for BoostC? If anyone could help, than I
  • Create New...