We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all, No doubt this is a daft question, but has anyone any idea on getting C51 to generate addresses for I2C data? My application may need to address up to 192Kbytes of I2C EEPROM... The driver itself is not a problem (when I've modified it... it will take a pointer to the addresses in EEPROM, as generated by the compiler, and then decode to target the correct device (there will be 3x 64kByte devices). The micro I'm using is a custom 8051 derivative with 64KBytes of Flash memory, and several kBytes of RAM (this varies from build to build), and I'm running v7.10 of the compiler. Thanks, Steve
Take a look to the folder: Keil\c51\Examples\FarMemory\E2PROM on T89C51RD2 There the LX51 Extended Linker is used to allocate space in an EEPROM section. You need just to adapt the XBANKING.A51 file so that it uses serial EEPROM routines instead.