Mosaic
Well-Known Member
Ok, I can't seem to get the Pickit2 (V2.61) to stop overwriting the EEPROM in a 16F886. Even whn I deselect it the internal EEPROM is rewritten by the hex code EPROM (0x2100 allocation) .
I have CPD as off and CP as on:
#include "P16F886.inc" ; processor specific variable definitions
__CONFIG _CONFIG1, _IESO_OFF & _FCMEN_OFF & _PWRTE_ON & _WDT_OFF & _INTOSCIO & _BOR_ON & _LVP_OFF & _CP_ON &_CPD_OFF & _MCLRE_OFF &_INTRC_OSC_NOCLKOUT; EEPROm data not locked to allow readout before reflashing and rewrite after firmware changed.
__CONFIG _CONFIG2, _WRT_OFF & _BOR40V
Any advice on this?
I have CPD as off and CP as on:
#include "P16F886.inc" ; processor specific variable definitions
__CONFIG _CONFIG1, _IESO_OFF & _FCMEN_OFF & _PWRTE_ON & _WDT_OFF & _INTOSCIO & _BOR_ON & _LVP_OFF & _CP_ON &_CPD_OFF & _MCLRE_OFF &_INTRC_OSC_NOCLKOUT; EEPROm data not locked to allow readout before reflashing and rewrite after firmware changed.
__CONFIG _CONFIG2, _WRT_OFF & _BOR40V
Any advice on this?