PDA

View Full Version : INTOSC config fuse does not remain set



med2007
- 10th March 2016, 10:48
Dear Forum

Desperation is looming. I am using 12F675 programmed with meLabs USB programmer and ver 2.6 compiler for PICBASIC PRO.

Every time I set the device for internal oscillator, INTOSC config fuse set, and program the chip it continues and programs chip successfully. Except to say the program will not run. If I now read the 675 and look at its configuration table it says RC Clockout, always! INTOSC has disappeared!
Checking the GPIO pins2 and 3 with a scope show oscillations of just below 1MHz. This verifies the fact that it is indeed outputting a clock signal. My software wants to use this pin2 GPIO.5 as an input. I have set all IO to digital, I have read the data sheet from cover to cover, researched the internet and forums to no avail. I cannot find the error I am making or indeed find a solution.
Where am I going wrong please, please help? Time for a cuppa before I go insane.

BW Mike

richard
- 10th March 2016, 12:02
might you have changed the 12F675.INC file

by default pbp will set INTRC_OSC_NOCLKOUT
to get to INTRC_OSC_CLKOUT the option is coming from somewhere


can't see what this has to do with "portA Doesn't Work" a 12f675 has no porta

why not start a new thread with a more relevant title