In message <001601c3b69b$bf7444c0$0b00a8c0@PAARD> Wouter van Ooijen wrote: > I have never tried ICSP with a 32kHz osc on RB6/RB7. Do you have a > resistor in series with the crystal? Even if not needed for socillation > it might help ICSP. I've tried removing the crystal completely - it made absolutely no difference. It seems that the RB6/RB7 osc isn't disabled when the PIC is pushed into program mode. I might try modifying the Wisp628 firmware to add longer delays in the reset_target procedure - FWICT the oscillator takes time to shut down after the PIC is reset; during that time, RB6/RB7 are unusable. The problem is, how do you kill the TMR1 osc if the chip is running? Ordinarily I'd have told the Wisp to keep the PIC in reset mode until it needs to program it, then de-assert MCLR (to put the chip into run mode) but there doesn't seem to be any way to get XWisp/Wisp do that :-/ Later. -- Phil. | Acorn Risc PC600 Mk3, SA202, 64MB, 6GB, philpem@dsl.pipex.com | ViewFinder, Ethernet (Acorn AEH62), http://www.philpem.dsl.pipex.com/ | 8xCD, framegrabber, Teletext Radioactive cats have 18 half-lives -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics