24C1024 and I2C_ROMEngine
JohnC
Posts: 64
I'm having a hard time accessing the top half of a 24C1024 attached in place of the regular 32k EEPROM on pins 30 & 31. The prop programs and runs as usual, and I'm able to read and write to the empty space between 33K - 64K without issue. Just not having any luck in the higher address space.
I'm using Kye's I2C_ROMEngine driver version 1.1
On this EEPROM, I've tied pin 2 (A1) to ground.
Has anyone else used a 24C1024 successfully?
For example, two addresses I'm passing to the function writeByte are $0002FFF0 and $0002F010.
In Kye's functions 'writePage' and 'readPage' I changed the code
repeat ((byteCount <# (65_536 - (RAMaddress #> 0))) #> 0
to read
repeat ((byteCount <# (131072 - (RAMaddress #> 0))) #> 0)
...in an attempt to access the higher memory space.
But perhaps I'm missing something else?
I'm using Kye's I2C_ROMEngine driver version 1.1
On this EEPROM, I've tied pin 2 (A1) to ground.
Has anyone else used a 24C1024 successfully?
For example, two addresses I'm passing to the function writeByte are $0002FFF0 and $0002F010.
In Kye's functions 'writePage' and 'readPage' I changed the code
repeat ((byteCount <# (65_536 - (RAMaddress #> 0))) #> 0
to read
repeat ((byteCount <# (131072 - (RAMaddress #> 0))) #> 0)
...in an attempt to access the higher memory space.
But perhaps I'm missing something else?
Comments
<sigh>
John,
We do not delete posts that will help others. This is a mistake that others may run into.
Thanks for posting your solution.!