Very Simple ICSP Programmer


Closed Thread
Results 1 to 40 of 130

Hybrid View

  1. #1
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    257


    Did you find this post helpful? Yes | No

    Default

    Originally posted by toreto
    which of this two is conected to the resitor?
    PGD = 7
    PGC = 6
    thanks for your answer
    Both are connected through 4.7k resistors, as well as the vpp through a 4.7k resistor.


    GP0 = GPD = 7
    GP1 = GPC = 6

    So in your case you would connect the 12Cxxx chip like this:

    D-Conn............................uPIC
    TXD (3) ------[4.7k]-------VPP(pin 4)

    GND (5) --------------------VSS(pin 8)

    DTR (4) -------[4.7k]------DATA(pin 7)

    CTS (8) ------------------DATA(pin 7)

    RTS (7) -------[4.7k]------CLK(pin 6)

    5 volts DC to VDD(pin1)

    Hope this helps.
    J

  2. #2
    Nimrod's Avatar
    Nimrod Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Squibcakes View Post
    Both are connected through 4.7k resistors, as well as the vpp through a 4.7k resistor.


    GP0 = GPD = 7
    GP1 = GPC = 6

    So in your case you would connect the 12Cxxx chip like this:

    D-Conn............................uPIC
    TXD (3) ------[4.7k]-------VPP(pin 4)

    GND (5) --------------------VSS(pin 8)

    DTR (4) -------[4.7k]------DATA(pin 7)

    CTS (8) ------------------DATA(pin 7)

    RTS (7) -------[4.7k]------CLK(pin 6)

    5 volts DC to VDD(pin1)

    Hope this helps.
    J
    I've tried to make this programmer but somehow I can't program the 12C508a, here is what happends:

    I can read the PIC with no problems in ICprog but when I press the program button it gives me an error on 0000h I've checked the Voltage and I have 5V between GND and VCC as expected (I'm powering the programmer through USB since it gives 5V) and between GND and VPP I have -10V without the PIC placed in the socket ofc...its a bit strange to have a value so low isn't it? Can anyone please help me I'm getting crazy with this already screwed 3 PICS...can read them but cant write Thnx

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    10V is way too low, this have to be ~13V. This kind of programmer is really not recommended anyways.. worst if you use a USB to Serial converter.

    There's few variant of such cheap programmer like JDM, JDM2, Taits, Ludipo, ElCheapo, PicBlaster and the list is long... none of those seems to work properly... even worst with Vista

    I've been told the parrallel PIC programmer in the list above work better... BUT ANYWAY...invest ~40$ and buy yourself a real Microchip PICKit 2 or a clone like JuneBug.

    and huh.. why not using 12F508 wich is a flash version.. so you can write on it again and again... and again.
    Last edited by mister_e; - 4th April 2008 at 04:22.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Yet another reason why you should consider PICKit2. Along with it's ICD capability, EEPROM, Keeloq and device programming list, The standalone application give you USART tool (no need for MAX232)... AND NOW, the new V2.50 add this nifty 3 channel LogicAnalyser (logic signal stimulus and monitoring) tool... for free!

    As if wasn't enough... >>>PICkit 2 Programmer-To-Go support for programming devices without a PC.<<<

    http://www.microchip.com/stellent/id...cName=en023805

    How about that?

    ~40$ for that... even if you don't use it as a daily/main programmer... only the free tools worth it no? I really like the Programmer-To-Go option....
    Last edited by mister_e; - 12th April 2008 at 21:35.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    Apr 2008
    Posts
    24


    Did you find this post helpful? Yes | No

    Default

    Can you update the schematic to be used with 18F452 ?
    Ramon.

  6. #6
    Join Date
    Apr 2008
    Posts
    24


    Did you find this post helpful? Yes | No

    Default

    Here I have a LVP-cable, very similar to yours ...

    >>> http://home.vrweb.de/~lotharstolz/st...vpc/index.html

    It does NOT work for me, and my RS-232 provides 10 volts.

    Is this a problem ?
    I thought LVP got "L" from "LOW" voltage, only 5 volts all around.
    Am I wrong ?

    The resistors here are 10 K, whilst yours are 4K7. Is this important ?
    I see 2 mA shall flow in your circuit, and only 1 mA in the LOTHAR desing ...

  7. #7
    Leccy-Lee's Avatar
    Leccy-Lee Guest


    Did you find this post helpful? Yes | No

    Default

    Forgive me for dragging an old topic, but i found this thread via Google and am new to the forum ( HI )..

    I am trying to get this to work on a PIC16F88, it was posted that it worked fine but i have been trying for hours.

    I have no experience of PICs at all, and all i am simply trying to do is build a design i got online that comes with the .hex firmware already. I simply need to get this firmware onto the PIC and away i can go.

    Have read the datasheet for the pic, and about ICSP in circuit, and read this topic 3-4 times now. Heres how i have it so far, but i think its wrong?

    9pin serial 16F88 pin
    ------------- ------------
    3 4.7k 4 (vpp/mclr)
    5 -- 5 (Grd)
    4 4.7k 13 (Data ? PGD)
    8 -- 12 (Data ? PGC)
    7 4.7k ?? (which port?)

    Then i use my circuits 5v to supply 5v to vdd, i measured my PC serial port on pin 3 as 10v, is that enough or is that my problem? I see in datasheet about low-voltage programming is an option but wasn't sure how to connect that up?

    I have then tried both Ic-Prog and Winpic to "upload" the .hex firmware to my pic (still in circuit but connected as above) but neither seems to be working? Cant even tell if its connecting to the pic? In Winpic it says "failed to initialise programmer" and in Ic-Prog it just fails on verify. I have set both softwares to programmer "JDM" type as instructed.

    Where am i going wrong, and what are the correct pins and settings for PIC16F88 please?

  8. #8
    Join Date
    Nov 2013
    Posts
    7


    Did you find this post helpful? Yes | No

    Default Re: Very Simple ICSP Programmer

    Hi
    I am completely new to PIC, so please excuse if this is stupid.
    For Stand-alone(not in-circuit) I understand that to transfer a program I need approx 12V on VPP and this has to be connected after 5V to VDD.
    Can I use an external power supply for both voltages and make the VPP 12V switched in by the VDD 5v via a transistor, can it work or is VPP switched during transfer?

    So I will then only have these between PC and PIC

    GND (5) --------------------VSS

    DTR (4) -------[4.7k]------DATA
    - |
    CTS (8) -----------------

    RTS (7) -------[4.7k]------CLK

    If it can work, then surely it will solve the laptop and USB-232 adapter problems.
    Ps. I know I can buy a programmer, but I want to build one. This is why I ask.

    Will appreciate your help.
    Last edited by shottootto; - 1st November 2013 at 13:10.

Similar Threads

  1. Melabs U2 Programmer Command Line Options
    By Robert Wells in forum General
    Replies: 5
    Last Post: - 3rd July 2009, 02:11
  2. Soic Icsp
    By earltyso in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 13th September 2008, 19:51
  3. Replies: 1
    Last Post: - 10th December 2007, 23:57
  4. problems with USB programmer
    By malc-c in forum General
    Replies: 7
    Last Post: - 10th May 2007, 20:14
  5. USB programmer problems
    By uiucee2003 in forum USB
    Replies: 2
    Last Post: - 15th August 2006, 23:47

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