Johan, Yes, You don't want anything to happen when writing to the EEPROM. If an interrupt happened in the middle of the write process, you could have scrambled data. The write is supposed to be (and is) controlled by an independent on chip wirte timer. But better to be safe than sorry. Regards, Jim On Tue, 23 January 2001, Pretorius Johan * Spoornet wrote: > > I have checked it that is my problem. Why do they disable the global > interrupt when a EEPROM write is executed ? Any good reason for that. > > > -----Original Message----- > > From: Peter Weichel [SMTP:peter.weichel@TELLABS.COM] > > Sent: 19 January 2001 11:05 > > To: PICLIST@MITVMA.MIT.EDU > > Subject: Re: [PIC] :CCS Compiler. Rx Interrupt stop working > > > > The EEPROM write function in PIC C disables global IRQ, maybe yours do > > to ? > > > > -----Original Message----- > > From: JohanPre@SPOORNET.CO.ZA [SMTP:JohanPre@SPOORNET.CO.ZA] > > Sent: 19. januar 2001 09:49 > > To: PICLIST@MITVMA.MIT.EDU > > Subject: [PIC] :CCS Compiler. Rx Interrupt stop working > > > > My stack usage is 8 deep (6 main 2 Interrupt). But when I write to > > internal > > EEProm My RX Interrupt stop receiving date from outside. It does not > > happen > > all the time Just once in a while. Where can I start to look for the > > fault. > > > > Cheers > > > > Johan Pretorius > > (083) 6506752 (Cell) > > (011) 7732423 (Phone) > > (011) 7732184 (Fax) > > > > -- > > http://www.piclist.com hint: The PICList is archived three different > > ways. See http://www.piclist.com/#archives for details. > > > > > > << File: BDY.RTF >> > > -- > 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 jim@jpes.com -- 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