EEPROM Read Problems
High everyone, i have worked with PICs quite a bit, but i have never used the internal EEPROM. i have read the pic16f648's datasheet and looked through quite a few web sites on the subject only, i am having a hard time finding what i am looking for. for now i am trying to read 16 bytes of data from EEPROM, and sending them to a LCD. all i get is 16 forward slashes on my LCD. I have included the vital piece of code, i know it cannot be too big of a deal but i would appreciate your help, as i have been scratching my head over this.
thankyou.
Code:
EEPROM
movlw d'16'
movwf count
clrf temp ;address 0x00
E1
movlw temp ;load address into w
bsf STATUS, RP0 ;Bank 1
movwf EEADR ;move address to EEPROM
bsf EECON1, RD ;EE Read
movf EEDATA, W ;W = EEDATA
bcf STATUS, RP0 ;Bank 0
call LCD_CharD
incf temp,f
decfsz count,f
goto E1