24LC128 16KB eeprom question ------ how to write more than 2000 bytes with BS2
Hi,
I have interfaced a 16KB 24LC128 eeprom to my BS2SX and couldn't be happier with the results! I stored 5762 bytes and now my program is so accurate I can't believe it!
The only question I have is on how to write more than 2000 bytes to the epprom in one shot using the BS2SX.
Because the BS2SX is split up into 8 x 2000 bytes, I cannot write all of my 5762 bytes that I need to store all in one shot. So I wind up writing 1800 bytes, changing things around, writing the next 1800 bytes, and then writing the remainder. Basically, the BS2SX's limitation is forcing me to do this (I think).
Does anyone know a way around this without me buying the more expensive BS2P chip?
Thank you in advance,
Engin
I have interfaced a 16KB 24LC128 eeprom to my BS2SX and couldn't be happier with the results! I stored 5762 bytes and now my program is so accurate I can't believe it!
The only question I have is on how to write more than 2000 bytes to the epprom in one shot using the BS2SX.
Because the BS2SX is split up into 8 x 2000 bytes, I cannot write all of my 5762 bytes that I need to store all in one shot. So I wind up writing 1800 bytes, changing things around, writing the next 1800 bytes, and then writing the remainder. Basically, the BS2SX's limitation is forcing me to do this (I think).
Does anyone know a way around this without me buying the more expensive BS2P chip?
Thank you in advance,
Engin
Comments
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Don't have VGA?
Newzed@aol.com
·
Thanks for the reply. I had just tried exactly what you described and it did work but it was tedious since I had to create 4 different programs, split up my data 4 different ways and then run each program consecutively. I was hoping for a way that I could fit it all into one clean looking program.
Thanks,
Engin
·
·· The BS2sx cannot WRITE across its slots, however the BS2p series can.· It is possible to write a program which will write continuously across the slots without having to switch program slots.· I hope this helps.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Just for my own curiosity, what is all this copious amount of data you are storing, and why do you seem to need to "dump" it from banked Stamp memory, rather than writing it right to the EEPROM as you gather or produce it?
I feel like I'm wandering out here in the deep weeds, since Sid and Chris seem to understand exactly what you're doing, and why you're doing it the way that you are.
Thanks for the insight.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
I'm creating an astronomy/tide calculator. I am interfacing with the um-fpu coprocessor, a Matrix 4x20 LCD, the pocket watch b and the eeprom. I went down the route of calculating everything in real time but I realized that if I pre-crunch the numbers in excel, store them ahead of time, and then just look them up, I can get incredible accuracy for any astronomical occurence I can think of within this century and beyond. Gotta go. The moon is rising.
Thanks Sid and Chris for the replies.
Engin