> movfw al ;my ptr counter > movwf EEADR > call rrs232 > bank1 > movwf EEDATA > bank0 > call wr_ee EEADR (9B) and EEDATA (9A) are both in Bank1. If you're in Bank0 at "movwf EEADR" then you'll be writing to 1B You try this for writing write bsf eecon1,wren movlw 0x55 movwf eecon2 movlw 0xaa movwf eecon2 bsf eecon1,wr nop wrend btfsc eecon1,wr goto wrend bank0 -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu