How to Read and write Serial EEPROM from Quickstart board...??

Hello everyone,
How to program EEPROM from quick start board, as there is Serial program software of QS board...??
How to program EEPROM from quick start board, as there is Serial program software of QS board...??
Comments
In this post there is a link to a thread about reading and writing to EEPROM.
In this post there is a nice program to read the contents of an EEPROM and send it to a terminal through a serial link with the computer.
In the program just mentioned the following code reads from the EEPROM.
To write instead of read use the method "FromRam."
My guess is you want to program an EEPROM from information on your computer? If so, you'd need a program on the computer to send the information to the QS and then the QS could write the EEPROM.
If the information you want to write to the EEPROM could alternatively be included in the QS program byte adding it in the DAT section. Another alternative is to use the file statement to include information in the program from a different file.
It would be helpful if you were more specific in what you want to do.
Duane
First, thanks for reply....!!
OK, i have my old STB ( Satellite Set of Box) is is not working,etc...
and now i am willing to read the program stored in PROM i.e. Serial one i know the code stored are in Binary ( i.e. Hex)
this is my aim.
The "Basic I2C Driver" can handle I2C memories attached to any pair of Propeller I/O pins.
Data sheet 1
Data sheet 2
Mike's Basic I2C Driver uses a constant for the EEPROM address. You'd need to change the address to correspond to the chip you want to communicate with. The datasheet shows how to determine the address (page 5 section 2.1, page 9 and others also have address information).
I'm attaching a version of a I2C driver (different than Mike's) that takes the address of the chip as a parameter in the "init" method.
I think you should be able to modify the "QsEepromDump" code (there is a link to it in my earlier post) to use this modified driver.
Here's code to the beginning of the driver.
See the comments in "Init" about detirming the address of your EEPROM.
You'll also want to change "SDA" and "SCL" if you're using different pins on the Propeller to communicate with the other chip.
Duane
Edit: I see Mike explained a lot of this while I was typing.
Not quite true about the Basic I2C Driver. As explained in the source code comments, the upper 3 bits of the 19 bit EEPROM byte address that you supply to the various routines is used for the device select code. This allows you to use 128K EEPROMs and multiple 64K EEPROMs as contiguous memory up to 512K. The first 64K EEPROM has addresses from $00000 to $0FFFF (A=%000). The second 64K EEPROM (or the 2nd half of a 128K EEPROM) has addresses from $10000 to $1FFFF (A=%001) and so on.
I haven't used your "Basic I2C Driver" before. I've used an 128K EEPROM. I think I understand what you're saying about addresses $10000 to $1FFFF.
I added a second (64K) EEPROM to one of my Proto Boards. I broke the "A0" pin in my attempt to solder it to Vdd so I pulled "A1" high instead (all the other address pins are pulled low (A0 is pulled low internally)). So with your driver, I'd access this EEPROM with memory locations $20000 to $2FFFF?
If I didn't understand, you can just say "reread the object", which I will then do and wait to ask more questions until after I've tried to understand it on my own.
Duane
About 24LC1025(128kb);
Yes, I recently learned (I think from you), the 24LC1025 uses a different bit (and unused pin) to indicate the upper EEPROM than the AT24C1024 chip. The 128KByte chip I've used was the AT24C1024.
Duane