Before you waste much money on those, may i suggest you to buy a couple of 12F508? OR using a JW version wich you'll be able to erase and reprogram later?
NOW, all config fuses are listed in the INC file in the PBP\INC folder

Originally Posted by
a part of M12c50X file
EXTRC_OSC equ 0FFC0003h ; XXXX XXXX XX11
INTRC_OSC equ 0FFC0002h ; XXXX XXXX XX10
XT_OSC equ 0FFC0001h ; XXXX XXXX XX01
LP_OSC equ 0FFC0000h ; XXXX XXXX XX00
WDT_ON equ 0FFB0004h ; XXXX XXXX X1XX
WDT_OFF equ 0FFB0000h ; XXXX XXXX X0XX
PROTECT_OFF equ 00170FE8h ; 1111 111X 1XXX
PROTECT_ON equ 00170000h ; 0000 000X 0XXX
MCLR_ON equ 0FEF0010h ; XXXX XXX1 XXXX
MCLR_OFF equ 0FEF0000h ; XXXX XXX0 XXXX
12C508 is a huge 512 Byte device.. none of the PBP definition will work. As i'd never felt the use of those for any accurate delay using the internal RC OSC, i'd never set the internal OSCCAL. but i'll bet on something like..
Code:
@ device pic12C508A, INTRC_OSC, MCLR_OFF,WDT_OFF,PROTECT_OFF
@ movwf OSCCAL
NOW, will this work as I suppose to in conjuction of all PBP stuff 'round. Bruce, Darrel will tell.
Last edited by mister_e; - 28th March 2006 at 17:28.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks