??? 02/09/06 00:05 Read: times |
#109564 - Not quite... Responding to: ???'s previous message |
Billy Fairhurst said:
I found one (generic_memwrite) in which they write in every type of memoory (sic) Erik Malund said:
nope in which they write in every type of parallel memoory. Do not confuse serial memory which is a peripheral with parallel memory which is eh "memory". In general, parallel memory can be accessed directly by simply using the processor's "Move" instruction (eg, MOV, MOVX, or MOVC for 8051) and specifying the appropriate address. But Serial memories - such as EEPROM - usually require a sequence of instrucions to access. For this reason, it is not usually possible to directly place 'C' variables in Serial memories - such as EEPROM. However, Keil C51 does provide a cunning trick whereby it can directly place 'C' variables in any type of memory - including serial EEPROMs. This uses the technique known as "XDATA Banking" available in the Keil Professional kit, PK51. Search for "XDATA Banking" on the Keil site for further details. |
Topic | Author | Date |
storing serial data in memory | 01/01/70 00:00 | |
after 100.000 writes it dies | 01/01/70 00:00 | |
if internal memory is the problem | 01/01/70 00:00 | |
Battery backed NVRAM from Dallas | 01/01/70 00:00 | |
he seems not to need permanent storage | 01/01/70 00:00 | |
not permanent storage | 01/01/70 00:00 | |
if the problem is pin shortage | 01/01/70 00:00 | |
PCR8750 | 01/01/70 00:00 | |
Keil example-- writing to 8051 mem---- | 01/01/70 00:00 | |
nope | 01/01/70 00:00 | |
Not quite... | 01/01/70 00:00 | |
memcpy() | 01/01/70 00:00 | |
yes, ANSI, but not really '51 | 01/01/70 00:00 | |
Rubbish! | 01/01/70 00:00 | |
Rubbish? I said "on the edge" | 01/01/70 00:00 | |
Not quite... | 01/01/70 00:00 | |
Very clever | 01/01/70 00:00 | |
indeed, if you have the time | 01/01/70 00:00 | |
Do you know that? | 01/01/70 00:00 | |
there is a large advantage when reading | 01/01/70 00:00 | |
1 - 4 byte types supported | 01/01/70 00:00 | |
example link | 01/01/70 00:00 | |
Demo only | 01/01/70 00:00 | |
Grrr | 01/01/70 00:00 | |
i think this got a bit off track![]() | 01/01/70 00:00 |