Norayr S. Elmayan wrote: > > Thank you for some of you who already replied. The part to be > programmed > is OTP & not JW. Not only I get the message but I fail programming; > Picstart Plus gives the following error: > > Config Expected Received > OSC internal RC LP > WDT Off Off > CP On ON > MCLR Internal Internal > > The only mismatch is from the OSC Configuration. I choose internal RC > before programming, but it receives LP, and I don't know where LP is > coming > from. Below I have the first few lines of my code: > > LIST P=PIC12C508 > INCLUDE "C:\MPLAB\P12C508.INC" > BITSWITCH EQU H'07' > COUNT EQU H'08' > FIFTEEN EQU H'09' > > ORG 0X00 > MOVWF OSCCAL > > CLRF GPIO > > MOVLW B'00001111' ;GP0,GP1,GP2,GP3 INPUT > TRIS GPIO ;GP4,GP5 OUTPUT > > MOVLW B'10000111' ;PRESCALER =256 > OPTION ;PULLUPS ENABLED, PSA TO TMR0 > ;some other code > END double-check option register.