Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/14/02 14:07
Read: times


 
#24473 - RE: Array management On I2C Bus
As it's connected via I2C, you won't be able to implement a simple 'C' 2D array

Actually, that's not entirely accurate. You COULD do this 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.

Note also that this assumes that 1) you want to access the memory from C and that 2) you have the Keil PK51 tools.

Refer to the following knowledgebase article for more details.

http://www.keil.com/support/docs/2103.htm

Jon

List of 4 messages in thread
TopicAuthorDate
Array management On I2C Bus            01/01/70 00:00      
RE: Array management On I2C Bus            01/01/70 00:00      
RE: Array management On I2C Bus            01/01/70 00:00      
RE: Array management On I2C Bus            01/01/70 00:00      

Back to Subject List