Time to upgrade Programmer


Results 1 to 8 of 8

Threaded View

  1. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Joe S. View Post
    ICSP - That's using a bootloader, yes? Will the PICKIT2 work as a straight programmer like the JDM? How do I load the bootloader, and what about chips that do not support bootloader?
    ICSP - not completely. ICSP - In-Circuit Serial Programming. All it means is that you don't have to keep connecting/disconnecting the programmer between code rewrites/fixes, etc. The instructions for modifying an existing circuit (or creating one for that matter are in the PICKIT2 'manual').

    Yep, like the next post says, better to say that you don't have to plug and unplug the PIC that you're programming.

    Basically, you either isolate (or don't use) PGC/PGD or set it up so that the programmer doesn't try to drive anything important on PGC/PGD, MCLR gets isolated with a diode and a small resistor, Vdd can be left connected as normal as long as your circuit doesn't draw too much current.
    The way I do mine is as follows:
    PGC/PGD get 100 ohm resistor out to the circuit and they're connected directly to the programmer socket. That way I don't try to drive anything on PGC/PGD (RB6/RB7) with the programmer.
    MCLR has a diode and 100 ohms from +5v to the MCLR pin, with MCLR connected directly to the socket. The programmer can't try to backfeed the +5v rail with Vpp from the programmer.
    PIC Vdd has a diode from +5v to the Vdd pins and the Vdd pins are directly connected to the programmer socket. Lets the programmer power the PIC during programmer but keeps it from trying to power the entire circuit. If the circuit is small enough, I omit the diode on Vdd and let it power it anyways. I've been powering my circuit with the PICKIT2, drawing a bit over 100mA from it on the +5v rail for awhile now and it's still working without any problems.
    Last edited by skimask; - 29th June 2008 at 18:59. Reason: EDIT: Changed it up a bit according to next post :)

Similar Threads

  1. I don't understand this code!
    By Russ Kincaid in forum mel PIC BASIC Pro
    Replies: 46
    Last Post: - 13th February 2008, 02:55
  2. Measuring time
    By AugustoPedrone in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 30th July 2007, 23:46
  3. Serout2/serin2 Pbp Problem
    By SOMRU in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 11th December 2006, 19:55
  4. USB programmer problems
    By uiucee2003 in forum USB
    Replies: 2
    Last Post: - 15th August 2006, 23:47
  5. Timer in real time
    By martarse in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 29th July 2005, 14:24

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