writing to the free space in the boot eeprom?
rtowler
Posts: 29
First off, thanks to Mike Green for suggesting that I try out the prop. Not only have I chosen it for the project he responded about, but I'm using it for all sorts of projects and having a lot of fun. Tomorrow my first prop project will travel to the bottom of the Bering Sea.
But onto my questions. Pardon if this has been covered before, I have searched the forums for a solution and while I may have uncovered what I need to know, I didn't really understand it all. I am wondering if you can use the "spare" space is the boot eeprom to store data (I think the answer is yes)? If so, how do you determine how much free space is available and the starting address (probably with the prop tool)? What is the best way to read/write data? I am planning on using Mike's Basic I2C Routines.
Bonus points for fast responses This is for that project that will be deployed tomorrow! Nothing like having a project bomb dropped on you.
As always, many thanks for the replies.
-Rick
But onto my questions. Pardon if this has been covered before, I have searched the forums for a solution and while I may have uncovered what I need to know, I didn't really understand it all. I am wondering if you can use the "spare" space is the boot eeprom to store data (I think the answer is yes)? If so, how do you determine how much free space is available and the starting address (probably with the prop tool)? What is the best way to read/write data? I am planning on using Mike's Basic I2C Routines.
Bonus points for fast responses This is for that project that will be deployed tomorrow! Nothing like having a project bomb dropped on you.
As always, many thanks for the replies.
-Rick
Comments
I thought the minimali2cdriver of Mike's included a write and read method, which should be very straighforward if you read the object comments.
Post Edited (originator) : 3/9/2007 7:09:26 PM GMT
http://forums.parallax.com/showthread.php?p=626711
Mike Green states :
This may be a problem, unless a larger EEPROM is used, such as the one on the Protoboard, you can then used the upper 32k for data storage, and the lower 32k the propeller uses for program space.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Brian Meade
"They who dream by day are cognizant of many things which escape those who dream only by night" - Edgar Poe
-Rick