PDA

View Full Version : Looking for an easy way to write a large amount of text to a 16 k eeprom



mrmello
09-17-2008, 05:31 AM
I've got a project that uses a BS2 and retrieves data from a 24LC128. It works like a champ for the data that i have entered manually, but i need a way to be able to program approximately half of the chip full of text for recall by the BS2. I would like a stand alone program which writes all the text to the chip and can be updated easily. I don't see how there is an easy way to do this. I would like to be able to update the eeprom in circuit.

My thoughts are 1. Write the data directly to the eeprom on the BS2 using the DATA command and then recall that info and pass it to the external eeprom
or 2. Use a few programs and program the eeprom in sections to get over the limitation on size.
possibly 3. Using debug feed the BS2 info which is passed to the eeprom? possibly using a text file as the source?

Any thoughts on this would be appreciated.

Regards,

allanlane5
09-17-2008, 05:34 AM
You can use "SERIN 16, 16864, [STR MyStr]"

mrmello
09-17-2008, 05:47 AM
How does that work?

sam_sam_sam
09-17-2008, 06:07 AM
Take a look at this post


·SEROUT 16, 16468, [" SECONDS· ", DEC3 seconds,
··················· "··· Laps··· ",DEC5 laps, "··· ON· ", CR]
·

http://forums.parallax.com/showthread.php?p=748879

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any·http://forums.parallax.com/images/smilies/idea.gif·that you may have and all of your time finding them

·
·
·
·
Sam

Post Edited (sam_sam_sam) : 9/16/2008 10:15:33 PM GMT