Hello,
I have the data sheet for 24cxx.
I think i2c uses very few commands to communicate. Like start,stop, ack, etc.
I came across an article by Jonathan Zacharko in the board of Reynolds Electronics. It shows how to communicate with DS1624 using I2c(dont have the URL, I had googled it and printed in ms word without url). It is interesting.
Just to start - I need to send a few bytes or just "A" to it and write it using the i2c protocol.
Trying for that and will try to post my progress - meanwhile any suggestion would help me.
Thanks - and thanks for so quick responses.
Aftab.
The URL is:
http://www.rentron.com/PicBasic/i2c_communication.htm
Last edited by aftab; - 3rd April 2007 at 11:06. Reason: found URL
Now I guess I don't know what you really want...you start off talking about 24xxx eeproms and now throw a DS1624 into the mix.
What do you really want here?
I only want to program 24Cxx. The DS1624 is just an example.
I was able to program the 24C04 ic as shown in manual. But I cannot do it in ICSP mode. The example with DS1624 shows how to read/write(?) in ICSP mode(?).
So, for now need to figure out how to program the 24Cxx using i2c commands - as i2cwrite does not seem to work in ICSP mode.
Thanks
Aftab.
Ok, so you want to use the ICSP header, running into the PIC as it would be when you are re-programming the PIC using the JDM programmer...to pass the signals thru to "write to the 24xxx" (as opposed to calling it programming the 24xxx).
As far as pp 53-56 in the manual goes, all I see is info on DATA, DEBUGIN and DEBUGOUT.
Bookmarks