Prop as I2C memory programmer
nicolad76
Posts: 164
Hi,
I have a Prop connected to 3 i2c memory chips. Since I had the "bright" idea to solder the memories to the PCB (grrrrr) I have no way to programm them outside the board.
I was thinking to write some application in VB+SPIN to read/write directly the i2c chips.
Before I waste my time, has anyone done something like that already?
I would like to be able to read the content of the eeproms and save them on disk and, of course, the other way around.
Thanks
Nicola
I have a Prop connected to 3 i2c memory chips. Since I had the "bright" idea to solder the memories to the PCB (grrrrr) I have no way to programm them outside the board.
I was thinking to write some application in VB+SPIN to read/write directly the i2c chips.
Before I waste my time, has anyone done something like that already?
I would like to be able to read the content of the eeproms and save them on disk and, of course, the other way around.
Thanks
Nicola
Comments
it happends only VERY FEW times that somebody has coded EXACTLY what you need
But in the obex there are several objects for read/write data to I2C-EEPROMs
i2cObjectv2
Enhanced I2C
A first approach to this could be to write a SPIN-program that waits for a start-command read out EEPROM-data and then
sends the data via serial connection to the PC. Some terminalsoftwares have a log-mode which writes the received data to disk
For some small kind of datachecking you could repeat this for two times and compare the received files
on the PC
That wouldn't be comfortable but would be a start
best regards
Stefan
Post Edited (StefanL38) : 2/1/2009 10:13:16 AM GMT
Eric
thanks for your advices....
I have no trouble to use Prop as I2C slave....I am developing the VB interface.
If I get anything useful I will upload the project here...
Ciao
Nicola
there is a terminalsoftware which has a script feature. The scriptlanguage is in a pascal-style
here is the demoscript
you can download it from
braypp.googlepages.com/terminal
best regards
Stefan
propeller.wikispaces.com/I2C+Slave