Okay,
I'm using WINPIC.
Ron,
I've heard about what you mention but never had this problem up to now.
I don't "touch" the original MCLR register settings because of this problem.
These are my settings (fuses & used registers):
Code:
@ DEVICE PIC16F88,INTRC_OSC_NOCLKOUT,PROTECT_OFF,WDT_ON,PWRT_ON,MCLR_ON
@ DEVICE PIC16F88,BOD_ON,LVP_OFF,CPD_OFF,DEBUG_OFF,CCPMX_OFF
OSCCON = %01100000 'Internal RC set to 4MHZ
ANSEL = %00000000 'Disable Analogue Inputs
ADCON0 = %00000000 'A/D converter is OFF
TRISB = %11000000 'Buttons are Inputs / LEDs Outputs / BUZZER Output
OPTION_REG = %01010101 'Set TMR0 to interrupt every 16.384 ms & disable PORTB pullups
INTCON = %10100000 'Enable TMR0 interrupts
a.- Shall I consider my PIC as definitively dead?
b.- Is there any programming "artifice" (PAUSE or any other command on the top of your program) to avoid this?
Bookmarks