is this o.k. ,PIC-in circuit programing

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
chevy6600
Flowcode V4 User
Posts: 115
Joined: Fri Feb 22, 2008 6:38 pm

is this o.k. ,PIC-in circuit programing

Post by chevy6600 »

Hi guys, can i run this by you?, i want to program pic`s while in circuit so if i do the following would it work and/or should i be doing it this way :?:

1. Using the v3 development board with no pic onboard.
2. Use a connector/cable connected to the appropriate pic-connector on the development board.
3. other end of jumper/cable directly connected to the pins on the pic which is still on the project board.
4. This jumper cable having 4 wires.
5. The 4 pins that have `bridged` between the development board and the corresponding pins on the chip are.
MCLR, GND, PGD, PGC,
6. the project board being powered by its own 5v.
7. Just download program as i would if the pic chip was on the development board.
8. Do the PGD and PGC pins need to be isolated from the rest of the circuit :?:
THANKS. :|

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: is this o.k. ,PIC-in circuit programing

Post by Steve »

Yes - that should be fine. We have done this ourselves, as have other users. You can take the connections from the DIL headers rather then the chip sockets if you prefer - the pinout of these is in the datasheet.

It is best to keep PGC and PGD as clean as possible, so isolation is prefered. But it is not always necessary - it depends on your circuit.

One other thing to note is that some chips require their 5V line to be switched during programming, especially if they are set up to use an internal oscillator and/or internal MCLR. If this is the case, you may need to temporarily power your target board from the Vcc line that goes to the slave PICmicros on the dev board (as this is switched during programming).

Post Reply