Hi Steve,
Thanks for the links.
What I am trying to do is - I guess you can say that a stand alone i2c programmer for 24Cxx using ICSP.
The following link has the schematic on pp 35:
http://www.imagesco.com/microcontroller/pbc_man.pdf
(the same is on pp 54 of my book)
Also on:
http://www.melabs.com/resources/pbpmanual/
I have successfully wrote/write/programmed 24CXX using that. BUT I want to make one that can do the same in ICSP (In-Circuit Serial Programming).
And I guess that is more complicated. I can do the ICSP using ponyprog/icprog using the ICSP header of olimex board. Interestingly it needs only 3(three wires) - ground,data and clock -- that goes to pin 4, 5 and 6 respectively-- But cannot do the same with my 16f84a programmer. There are few caps, resistors and transistors on the board on which the 24CX is mounted and with drawing power from these three pins, power are supplied to rest of the pins of 24CXX. I want to do the same that olimex icsp is doing. Do the same using my 16f84a.
---------|....................................|--------|
My ........|---------------gnd--------|.24cxx..|
16f84a ...|---------------dat--------|..........|
---------|---------------clk--------|--------|
[DOTS are actually blanks i.e. nothing]
I presume I need to do something like start,stop,ack,... that is used in i2c programming. Some lead would help me.
My knowledge of the exciting world of pic is till now limited to blinking leds and prog one 24cxx on board using the schematic that comes e pbp.
Thanks
Aftab.
Bookmarks