Also....switching back and forth between program and debug mode sometimes 'fixes' issues. --- Harold Hallikainen wrote: > I get that error if I have code protect set on any > flash or if I have > table write disabled on any flash or the config bits > (I'm used to working > with the PIC18F series). > > Good luck! > > Harold > > > > I'm stumped. I've never had this error before > unless the clock was > > broken (it isn't). > > > > The PIC (PIC16LF88) runs perfectly at 3.5V, will > program my > > "wink" test fragment from the ICD2 as a > programmer, and when > > selected as debugger, all seems OK except for the > error. (NO, I > > don't have ICD2 selected at both programmer and > debugger). > > > > Neither PGC, MCLR, or PGD is connected to anything > except the > > debugger. Well, MCLR has a 47K pullup on it only > to VDD. > > > > I haven't tried to run the PIC at 5V because it > has some 3.6V max > > peripherals attached. > > > > The PIC runs flawlessly for the wink test. > > > > Any ideas, fellow PIClisters? > > > > --Bob > > > > -- > > Note: Attachments must be sent to > > attach@engineer.cotse.net, and > > MAY delay replies to this message. > > 520-219-2363 > > > > > > > > > > -- > > Note: Attachments must be sent to > > attach@engineer.cotse.net, and > > MAY delay replies to this message. > > 520-219-2363 > > > > _______________________________________________ > > http://www.piclist.com > > View/change your membership options at > > http://mailman.mit.edu/mailman/listinfo/piclist > > > > > -- > FCC Rules Online at http://www.hallikainen.com > _______________________________________________ > http://www.piclist.com > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist