Gonzalo Jimenez wrote: > It is very very rare what happen but I just use a sub rutine enstead of a > macro and everything start to work OK... > > I don't know why but macros drive to a strange behaviour... > > So my little advice NEVER use macros to read or write EEPROM Hi. I don't belive that it was the macro *as such*. You must have had some other bug... Note that the PIC itself know *nothing* about macros, so the PIC can not know that you used a macro. How can you then belive that using a macro *as such* could be the problem ? Jan-Erik. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu