Hi Wonder if anyone can help.... I have locked myself out of 3 x 16f884's I think with fuses in the configuration ??
I am using MPASM.... The fuse details look like this:-
Code:
;****************************************************************
;* 16F884.INC *
;* *
;* By : Leonard Zerman, Jeff Schmoyer *
;* Notice : Copyright (c) 2009 microEngineering Labs, Inc. *
;* All Rights Reserved *
;* Date : 07/02/09 *
;* Version : 2.60 *
;* Notes : *
;****************************************************************
NOLIST
ifdef PM_USED
LIST
include 'M16F88x.INC' ; PM header
device pic16F884, intrc_osc_noclkout, wdt_on, mclr_on, lvp_off, protect_off
XALL
NOLIST
else
LIST
LIST p = 16F884, r = dec, w = -302
INCLUDE "P16F884.INC" ; MPASM Header
__config _CONFIG1, _INTRC_OSC_NOCLKOUT & _WDT_ON & _MCLRE_OFF & _LVP_OFF & _CP_OFF
__config _CONFIG2, _WRT_OFF
NOLIST
endif
LIST
When I go to reprogram I get :-
Device is data protected! Data memory may be invalid.
Device is code protected! Program memory may be invalid.
Can anybody help ?? Can I clear the protection so I dont loose the chips :-)
Thank you for reading
BR
Andy
Bookmarks