On Tue, Aug 15, 2000 at 08:41:35PM +0200, Wojtek Zabolotny wrote: > 2) Problem with power supply. (The PIC is connected with rather long wires > and has only two ferroelectric 100nF caps paralelly to the power supply > pins). (Maybe programming of data EEPROM requires much more current than > programming of code memory, which causes voltage drop and crash) I added 100uF electrolyte cap near to the PIC, and connected both VDD and both VSS pins (at the begining only one ofe each pair was used - they are shorted internally and resistance between them is not higher than 3ohms). Well, but after I've done it nothing has changed :-(. I forgot to say, that the data memory cell gets programmed before the WLoader hangs. When I run my application next time, I can read the programmed value. So WLoader hangs AFTER programming of EEPROM (may be something wrong with interrupts after writing EEPROM?). -- Wojciech Zabolotny http://www.ise.pw.edu.pl/~wzab http://www.gnupg.org Gnu Privacy Guard - protect your mail & data with the FREE cryptographic system -- 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