Read and Write 512K EEPROM
donde
Posts: 51
I have a Propeller board called Propmodule. The built in EEPROM is 512K. As normal, the first 32k is used for programs. I want to move data data of my program to the unused portion of the EEPROM, for the top 32K is just about full.
How would I do this?
How would I do this?
Comments
Mike Green's "Simple I2C" (or something like that) (in the OBEX) is also a good way (probably better) to read and write to EEPROM.
Anyway, moving data is simple enough but for it to work the way you want is very application specific and we have no idea of your application. Like any requests you need to be specific and when the request is for something very technical then you have to be very technical and supply the information such as your code etc.
No, I did not want to fiddle with the upper 32K, just the lower 32, which are available.
Well, I'm very sorry for the confusion. I have now clarified the size. It's a 64 kilo-byte EEPROM. Data consists of bytes, strings and words. I want to move the data from the upper 32K to the lower 32K. I want to read the data for the main program in the upper 32K. I'm talking about maybe 5K. I still don't know the best way.
I have downloaded the I2C_ROMDemo_1 and tried it. I see the menu. But ran out of time to continue. I guess I would write a byte, the letter "a" this way?
setb 33000 a
How about a new Obex design that addresses many of the issues of the old?
OK I found it! Now to try to figure it out. I discovered I have a Schmart kit board I built. It has a 64 KB EEPROM. So, I'll play with it just to learn.
I think each object should have another readme called README_TOO. This would explain more what the object does, with an example.
Thanks Mike et all, for your help. I hope I haven't been a pain. I guess this thread is SOLVED. Don't know how to change it.
donde
One of the conventions for documentation is that the source code contains comments explaining how to use the object. That's what was used here rather than a ReadMe file. This object has been around for some time and has not been updated for a couple of years.