On 09-05-2005 at 20:23, Anonymous wrote:
this is simple:
- set the adress-ranges for the flash-sectors/sram in PSDflash.
(i.e. for SRAM: 0x000 ... 0x1FFF)
- read SRAM:
MOV DPTR,#0000h ;read 1st byte in SRAM
MOV DPTR,#1234h ;read byte at address 1234h from SRAM
- write SRAM:
MOV DPTR,#1234h ;
- read flash: exactly like SRAM
- write flash: this is a bit more complicated (but also completely described in the datasheet)
Retrieving data ...