Hi,
Yes, have MPLAB Ver. 8.00.00.00 and updated PicKit2
Shall read bak and see
Hi,
Yes, have MPLAB Ver. 8.00.00.00 and updated PicKit2
Shall read bak and see
Hi again skimask,
This is my configuration now, will move it to the INC file when there is no warnings.
@ __CONFIG _CONFIG1, _INTOSCIO & _WDT_ON & _PWRTE_ON &_MCLRE_ON & _LVP_OFF & _CPD_OFF & _FCMEN_OFF & _IESO_OFF
Define OSC 8 ' Set Xtal Frequency
OSCCON = %01110001 ' Internal 8 mhz Osc
ANSEL = 0 ' All Digital
ANSELH = 0
CM1CON0 = 0 ' Think ? don't need
CM2CON0 = 0 ' Think ? don't need
ADCON0 = 0
ADCON1 = $0F ' Think ? don't need
Have to try change bit by bit until no warnings from PicKit2
Anything below this line isn't going to have an effect on your CONFIG fuses.
They are 2 separate entities...
And when I said read back, I meant the actual config word data as read back using the PICKIT2, not the data you are trying to push out to the PIC using the programmer.
EDIT: Just checked your CONFIG against the '886/887 datasheet. When reading back the PIC after programming the config word, you should readback $E3ECFFFF, if it's actually being programmed to those values.
Last edited by skimask; - 9th September 2008 at 20:54.
Have Updated MPLAB to 8.14 and PicKit to 2.52
Reading back 23EC 3FFF
Will be very greatful for your help, can see that 16F887 have exact the same CONFIG words.
Have used 16F876A before without problems, but they dont have internal oscillator.
Bookmarks