------- Forwarded Message Follows ------- From: Self To: piclist@mitvma.mit.edu Subject: 16c84 data EEPROM use Date: Fri, 24 Jan 1997 10:34:17 Dear PIC.ers, Thanx to all you who gave me info on using a PC game port to attempt making measurements. A non-starter of an idea, it turns out.... :( .. I've tried following faithfully everything uchip tells me to do (espec. RTBM) re writing data to the eeprom area in the 16c84, but can't get past MPASM's response - the source is (almost) verbatim ex c84 data sheet. LOC OBJECT CODE LINE SOURCE TEXT VALUE 0000 0067 spacee equ 0x000 ............................. 0007 3055 0089 movlw 0x055 ;fairy-godmother value Warning: Argument out of range: eecon2 (137). Least significant bits used. 0008 0089 0090 movwf eecon2 0009 30AA 0091 movlw 0x0AA ;another FG Warning: Argument out of range: eecon2 (137). Least significant bits used. 000A 0089 0092 movwf eecon2 Warning: Argument out of range: eecon1 (136). Least significant bits used. 000B 1488 0093 bsf eecon1,eewr ;set write control bit 0094 .. All searches of previous piclist digests, uchip advanced tut. examples and FAQ searches have turned up (yet) not one example of doing this. It's got to be routine !! What am I doing wrong? Any advice or directions will bestow upon the sender a place in my will. email from John Sanderson / JS Controls, Boksburg, RSA Manufacturer & purveyor of laboratory force testing apparatus and related products and services. Tel/fax: Johannesburg 893 4154 Cellphone 082 453 4815