View previous topic :: View next topic |
Author |
Message |
pattousai
Joined: 23 Aug 2006 Posts: 37
|
first time using a PIC |
Posted: Wed Aug 23, 2006 2:45 pm |
|
|
hi everybody.
i'm trying to do my first compilation with a PIC (12f629). So i write the following code, just to see how things go:
#include <12F629.h>
#use delay(clock=4000000)
#fuses INTRC_IO, NOWDT,PUT,BROWNOUT,NOMCLR
main(){
if( 2 + 2 == 4)
output_high(PIN_A0);
}
when i try to burn with IC-prog they return the error "value of the calibration of the oscillator". and ask me if i don't want to replace for the value in the file (don't know what this means). then, i just ignore that and click yes. but in the end they return the error "verification failed in the adress 0000h".
i'm using the ccsc compiler to compile (of course) and the IC-prog to burn in the pic.
well, sorry for the bad english and i hope for any help
thanks!!! |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
pattousai
Joined: 23 Aug 2006 Posts: 37
|
|
Posted: Fri Aug 25, 2006 3:52 pm |
|
|
ok, thanks. i will do some reading |
|
|
|