This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Accessing

Cross-posting from http://www.8052.com/forum/read.phtml?id=27259&top=27260

A while back, Jon Ward wrote:

"You COULD do this [access a 'C' array in an I2C device] with the Keil tools specifying the I2C EEPROM as RAM in the far memory area. The PK51 kit allows you to create your own assembler code that reads and writes bytes in "special" memory areas. You can declare variables as far and access this memory from C.
"Note that this was originally called XDATA banking, but, in fact, you can use this technique to access any memory type."


http://www.8052.com/forum/read.phtml?id=24473

My question is: can you implement multiple different sorts of far memory in the same system?
eg, could I both use far as above to access 'C' variables in an I2C device and also to provide "conventional" banked access to >64K of parallel SRAM?

Parents Reply Children
No data