| ??? 07/11/07 20:17 Read: times |
#141786 - EPROM reading Responding to: ???'s previous message |
If you keep the internal EEPROM enabled (bit3 EEMEM of WMCON 96H set to 1) reading EEPROM is easy: when you try to read any location in xdata from 0000H to 07FFH, you will get the EEPROM data.
Example in assembler: .................... ORL 96H,#08H ; EEPROM enabled MOV DPTR,#any_address ; "any_address" from 0000H to 03FFH MOVX A,@DPTR ; A=value in "any_address" ANL 96H,#0F7H ; EEPROM disabled ..................... Eventualy, if no external xdata memory is used from 0 to 7FFH, you can keep the EEPROM enabled. Daniel |
| Topic | Author | Date |
| AT89S8252 EEPROM | 01/01/70 00:00 | |
| More Info. | 01/01/70 00:00 | |
| Have the same problem... | 01/01/70 00:00 | |
| AT89s8252 EEPROM | 01/01/70 00:00 | |
| Reset | 01/01/70 00:00 | |
| Some ideas | 01/01/70 00:00 | |
| AT89s8252 EEPROM | 01/01/70 00:00 | |
| EPROM reading | 01/01/70 00:00 | |
| AT89s8252 | 01/01/70 00:00 | |
| YES | 01/01/70 00:00 | |
| 7705 is rather old... | 01/01/70 00:00 | |
| AT89S8252 EEPROM | 01/01/70 00:00 | |
| you already did | 01/01/70 00:00 | |
the ol' trick is... | 01/01/70 00:00 |



