In circuit GANG programming?


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2005
    Posts
    1,073

    Default In circuit GANG programming?

    I have an application where I want to use five 8-pin SMD PICs (probably 12F683) that will all have identical firmware. They will each maintain a serial link with a peripheral device and also communicate with a socketed PIC16F876A. All of the /MCLR pins will be tied together and I can access GP0 & GP1 independently for all five via the 16F876A socket.

    Is it possible to gang program all five (in circuit) at the same time? If not, do you see any problems programming them sequentially?

  2. #2
    Join Date
    Apr 2005
    Posts
    96


    Did you find this post helpful? Yes | No

    Default

    I'd be interesting in this as well, anyone have any thoughts? Can u simply parallel GP0, GP1, and MCLR and program more then one at the same time?

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    The ICSPDAT (data) pin is bi-directional, so there's a problem if 2 chips give a different response. Just wiring them together is probably not a good idea.

    However, there may be a way. I've never done this, so take it with a grain of salt.


    Theoretically, identical chips should give identical responses, unless there is an error. So if only 1 device is allowed to send to the programmer, the rest should follow along blindly.

    But, if there's a programming error on any of the other chips, you'll never know.
    <br>
    DT

  4. #4
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor
    The ICSPDAT (data) pin is bi-directional, so there's a problem if 2 chips give a different response. Just wiring them together is probably not a good idea.
    I'll just build an adapter that has jumpers for each. Is it sufficient to just break the data line?

  5. #5
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Is it sufficient to just break the data line?
    I would think that with Vpp being applied to all chips at the same time, you would be clocking in random data to the chips that aren't being programed, since the data pin is floating and Vpp is on.

    Even if you use a Pull-Up/Down, you're still clocking in all 0's or all 1's. Don't know what that would do?

    Disconnecting both DAT and CLK with pull-downs on each, might do the trick.

    Of course, the easiest way is to have separate Vpp's.
    <br>
    DT

Similar Threads

  1. Replies: 1
    Last Post: - 10th December 2007, 23:57
  2. Circuit reliability issues
    By hkpatrice in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd November 2007, 14:55
  3. Replies: 3
    Last Post: - 29th October 2006, 09:16
  4. In circuit serial programming
    By leonel in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th February 2005, 15:08
  5. programming PICs in circuit
    By peterdeco1 in forum Off Topic
    Replies: 1
    Last Post: - 12th October 2004, 13:48

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts