Very Simple ICSP Programmer - Page 2


Closed Thread
Page 2 of 2 FirstFirst 12
Results 41 to 80 of 130

Hybrid View

  1. #1
    jwildes's Avatar
    jwildes Guest


    Did you find this post helpful? Yes | No

    Smile Very Simple ICSP Programmer Working fine with 16F628A

    Hi guys,

    I made the programmer with 3 resistors and using the ICPICPROG 1.0D.
    I was confused with the pins connection between COM port and the PIC IC.
    I connect to 16F628A as below:

    TXD (Pin 3) -----[4.7K]------ MCLR/VPP ( Pin 4)

    GND (Pin 5) ----------------- Vss (Pin 5)

    DTR (Pin 4 ) -----[4.7K]------ RB 7 /PGD (Pin 13)

    CTS (Pin 8) ----------------- RB 7 /PGD (Pin 13)

    RTS (Pin 7) -----[4.7K]------ RB 6 /PGC (Pin 12)

    The ICprog run fine at Windows 98SE.
    Under XP Pro SP2 the program show error : Privileged Instruction...

    How i can use ICprog under XP Pro?

  2. #2
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by jwildes
    Under XP Pro SP2 the program show error : Privileged Instruction...

    How i can use ICprog under XP Pro?
    Install the IC-Prog NT/2000 driver

    The driver can be found HERE

    You should also have a look at WinPIC
    Last edited by NavMicroSystems; - 12th May 2006 at 17:44.
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  3. #3
    Join Date
    Apr 2006
    Posts
    4


    Did you find this post helpful? Yes | No

    Default winpic programmer

    i have prepared the pcb serial 9 pin interface given with the download use external supply and 7812 to regulate.
    i am getting the message programmer not initialised , their is no interface , how i can check the interface and please some one help me in running this programmer . i want to program 16f676

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


    Did you find this post helpful? Yes | No

    Default

    Please provide at least the name of your interface (JDM or else) and your device programmer software... as there's few suggestion hre

    12Volt could work, but by the PIC spec, VPP should be 13Volts. So i can't safely says if it's caused by this or not. Even worst.. i don't use any of the previous for PICs. I used PonyProg and IC-Prog with SI-Prog for my on-the road radio decode service in the past. Worked good. But now, as some of my UK and US customer, we use my URD-1 decode dongle.
    Steve

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

  5. #5
    Join Date
    Oct 2005
    Location
    Stuttgart, Germany
    Posts
    24


    Did you find this post helpful? Yes | No

    Exclamation

    Hi everyone.

    I tried suggested in the first post connection for high-voltage programming of PIC16F877A. Programmed uC with IC-Prog, with suggested above settings.Works flowless, no problem at all.
    However!
    There seems to be a problem with the bootloader. If you use the bootloader for PIC16F877, it will not work. And since there is no other bootloader included with older versions of MicroCode Studio Plus, one has a problem.
    So, if you want to work with PIC16F877A, you must upgrade to the latest MicroCode Studio Plus version (they have new loader files and they work with 877A), or you have to request it by email from Mecanique.

    Hope this info saves somebody some time

  6. #6
    Join Date
    Apr 2006
    Posts
    4


    Did you find this post helpful? Yes | No

    Default winpic programmer

    i have downloaded this programmer , prepare the hardware . but as i am putting it to pc thorgh serial port wire, message " programmer not initialised"
    please feedback me how i check the fault. i want to program 16 f676 , suggest some way

  7. #7
    Alex200's Avatar
    Alex200 Guest


    Did you find this post helpful? Yes | No

    Default

    Hello all,

    My levels at my COM are 10.4V and on another computer are 11.8V. Is the programmer going to work?

  8. #8
    Join Date
    Apr 2006
    Posts
    4


    Did you find this post helpful? Yes | No

    Default 16 f 676 chip programming

    i have made win pic programmer , as i am interfacing some time programmer shows interface ok but i am unable to programe the code. i have prepared the hex by mplab 7.1 ide. pl send me simple code for 16 f 676 chip to check if code are written wrong , or some programmer trouble . pl suggest me

  9. #9


    Did you find this post helpful? Yes | No

    Talking After 6 months of flawless use

    Hey Squibcakes-

    Just to say thank you for posting this project to the Forum way back when.
    I have just completed 6 months of work on a 2 way comms project using DTMF signalling, and I have to tell you that not having to take out the PIC every time I program is an absolute pleasure and revolutionised my programming life. Also, where in the world can you make up a complete working programmer for the cost of 1 DB9 connector, 3 resistors, and some shrink tubing?

    The Picstart is now gathering dust in the cupboard, as ICprog and the Squibcakes programmer does everything I want it to do.

    Further on the discussion about programming voltages, I found that the programmer would not work with Vprog less than 11.5v, and as my laptop/USB-Serial only gives out 9.5v, I have to stick to my desktop

  10. #10
    Join Date
    Nov 2008
    Posts
    3


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Squibcakes View Post
    Hi guys,

    I have been using this simple programmer.. why pay big bucks for a PIC programmer when this one costs just cents! In fact I have stopped using my 'other programmer' all together now.

    All you need is:
    three 4.7k Resistors,
    a few wires (1m)
    9 pin d-connector (female),
    and a 5 volt dc supply.

    I have used it on 16F84, 16F62X, 16F87X chips without problems.

    To make it:

    TXD (3) ------[4.7k]-------VPP

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

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

    CTS (8) ------------------DATA

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

    Numbers in Bracket are the connections on the 9-Pin D-Connector.

    I have made up a small PCB to mount the resistors on but... you could just solder them in line to go cheap.. Just be carefull they dont short out. If anyone wants the PCB footprint I can post it.

    Then just put your PIC into a breadboard, connect your 5 volt supply to VDD/VSS, and away you go.


    hi!!!!!!!!!
    can u please send the pcb layout &some more details to programm
    the pic
    its argent!!!!11111
    also which type pic r compatable with the such programmer?
    im new here
    expecting u r kindaa response

  11. #11
    Join Date
    Mar 2012
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Re: Very Simple ICSP Programmer

    I've seen THREE answers to this question in this thread and I think this guy is messing with UR heads...
    On another thread... relevant in the Extreme:...
    Why couldn't the "Missing 5V supply come from the USB port... It is used to Charge a LOT of 5V devices and at fairly husky currents > .2A (conservative W/o Hub... Even better Idea would be a USB Chargw plug into a powered hun disconnected from the USB port... Lots of power only, no data or other issues.
    Doc

  12. #12
    AruAru's Avatar
    AruAru Guest


    Did you find this post helpful? Yes | No

    Default Re: Very Simple ICSP Programmer

    Hey Squibcakes and others

    Hurra.....

    I made it today and work for PIC18F252-I/SP with PIC-Prog (http://www.ic-prog.com/index1.htm).

    It worked from the first attempt.

    My gratitude Squibcakes and others those who actively posting and help each others....

    Aru

  13. #13
    Join Date
    Nov 2008
    Posts
    3


    Did you find this post helpful? Yes | No

    Talking

    Quote Originally Posted by Squibcakes View Post
    Hi guys,

    I have been using this simple programmer.. why pay big bucks for a PIC programmer when this one costs just cents! In fact I have stopped using my 'other programmer' all together now.

    All you need is:
    three 4.7k Resistors,
    a few wires (1m)
    9 pin d-connector (female),
    and a 5 volt dc supply.

    I have used it on 16F84, 16F62X, 16F87X chips without problems.

    To make it:

    TXD (3) ------[4.7k]-------VPP

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

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

    CTS (8) ------------------DATA

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

    Numbers in Bracket are the connections on the 9-Pin D-Connector.

    I have made up a small PCB to mount the resistors on but... you could just solder them in line to go cheap.. Just be carefull they dont short out. If anyone wants the PCB footprint I can post it.

    Then just put your PIC into a breadboard, connect your 5 volt supply to VDD/VSS, and away you go.


    hi!!!!!!!!!
    can u please send the pcb layout &some more details to programm
    the pic
    its argent!!!!11111
    also which type pic r compatable with the such programmer?
    im new here
    expecting u r kindaa response
    i l be more happy u send softwares so that i m able to make pcb layouts

  14. #14
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by sandeep View Post
    hi!!!!!!!!!
    can u please send the pcb layout &some more details to programm
    the pic
    its argent!!!!11111
    also which type pic r compatable with the such programmer?
    im new here
    expecting u r kindaa response
    i l be more happy u send softwares so that i m able to make pcb layouts
    OR...and I just might be a little bit crazy here...
    If it's so argent, just go out and buy a PICKIT2.
    Microchip supported, already complete, done, done and done...

  15. #15
    Join Date
    Nov 2008
    Posts
    3


    Did you find this post helpful? Yes | No

    Smile very simple programmer

    Quote Originally Posted by Squibcakes View Post
    Hi guys,

    I have been using this simple programmer.. why pay big bucks for a PIC programmer when this one costs just cents! In fact I have stopped using my 'other programmer' all together now.

    All you need is:
    three 4.7k Resistors,
    a few wires (1m)
    9 pin d-connector (female),
    and a 5 volt dc supply.

    I have used it on 16F84, 16F62X, 16F87X chips without problems.

    To make it:

    TXD (3) ------[4.7k]-------VPP

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

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

    CTS (8) ------------------DATA

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

    Numbers in Bracket are the connections on the 9-Pin D-Connector.

    I have made up a small PCB to mount the resistors on but... you could just solder them in line to go cheap.. Just be carefull they dont short out. If anyone wants the PCB footprint I can post it.

    Then just put your PIC into a breadboard, connect your 5 volt supply to VDD/VSS, and away you go.

    hi!!!!1111
    i m new here.
    i want to program the pic16f873/876 by simple programmer sugested by u.
    can u plese tell me the pin connection ?
    what should i do of pgm?
    i 'l be happy if u send pcb layout
    expecting u r kinda response

  16. #16
    rabidgoalie's Avatar
    rabidgoalie Guest


    Did you find this post helpful? Yes | No

    Thumbs up Stolz LVP cable didn't work for me, but this one did!

    Like Ramonetnet, I tried to use the Stolz LVP cable design with no success, and then I rooted around the Internet to find a way to get a PIC programmed quick and easy. Luckily, I found this thread. I am going to construct the Stolz ICD2 clone, and I didn't have any type of programmer before I found this thread and without a programmed PIC16F876A I wouldn't be able to construct the ICD2 clone (obviously ). I read through this thread about five times to make sure that I did not confuse any information, and then I breadboarded this simple programmer (using the setup below, exactly how Squibcakes illustrated in the first post) and everything works great!

    I made sure to test the levels on my serial port to make sure that they were within the range that seemed to be working for everyone (~11.25V), and they checked out fine. I am using Win98 as the OS because I have an old (but still good) Packard Bell 880, and I am very pleased to say that IC-Prog seems to program much faster under Win98 than under XP. For some reason, I was getting an error from WinPic800 (similar to the one that charudatt was getting from IC-Prog), but I switched to IC-Prog and used the recommended settings and it worked great. Hmm, don't really know what is going on with that but IC-Prog works for me so I will worry about it at a latter date (i.e. I will never think about it again after tonight ).

    I was able to program the PIC16F876A, verify the programming, and then just to be thorough I closed down IC-Prog and restarted it and read the data back and it all worked flawlessly. Thanks Squibcakes!


    TXD (3) ------[4.7k]-------VPP (PIN 1)

    GND (5) --------------------VSS (PIN 8 or 19)

    DTR (4) -------[4.7k]------DATA (PIN 28)

    CTS (8) ------------------DATA (PIN 28)

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

    + (5V power supply) -------VDD (PIN 20)

    - (5V power supply) -------VSS (PIN 8 or 19)

    P.S. sandeep, when I programmed this PIC16F876A I left PGM unconnected (floating), and I had no problems at all programming, verifying, and reading back the programming inside the PIC. Others could probably help more on the PGM pin than I could (I am still a newbie at this). Hope this helps someone.
    Last edited by rabidgoalie; - 8th January 2009 at 05:18. Reason: Needed clarification about PIC programmed and add data.

  17. #17
    Join Date
    Feb 2009
    Posts
    2


    Did you find this post helpful? Yes | No

    Default

    i've seen it mentioned not to use a laptop because there isn't enough voltage from the serial port. would i be ok if if i used a separate power supply to provide +5V to the pic?

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


    Did you find this post helpful? Yes | No

    Default

    Hi Mark,

    This circuit requires an external 5v regardless. In saying that, I haven't had much luck using laptops when programming pics with this circuit. (after all this is a very simple cheap programmer!)

    Laptops don't put out high enough voltages on the serial lines.

    Attached is copy of circuit board you can use to make this programmer. Have fun!

    Cheers
    Attached Images Attached Images  

  19. #19
    Join Date
    Feb 2009
    Posts
    2


    Did you find this post helpful? Yes | No

    Default

    tried my laptop over the weekend to no avail. i used an external supply for the +5v, but each time i tried i got an "verification failed at 0000h". i also tried applying +12v to MCLR to get it into programming mode, but that didn't work. i prefer to use the laptop for several reasons:

    1. it fits nicely in my work area
    2. it's 10 years old and isn't used, so if it blows it's no big loss
    3. i've got problems if i use my desktop pc and it blows

    i have an old 486 pc in my garage, but i don't have a spare monitor or keyboard for it.

    can someone point me to a schematic that would allow me to use the laptop? (preferably with easy to find parts) if i use my desktop for the LVP programming, what are my changes of killing the pc?

    thanks!

  20. #20


    Did you find this post helpful? Yes | No

    Default

    you can't just apply +5, and +12 for power and Vpp and have it work. there's timing issues, when it applies the voltage, which is first applied, to even get into programming mode. these voltages need to be controlled by the programmer. some newer JDM's use external supplies, but it still controls when they're applied to the pic.

    as everyone has been saying, break down and buy the pickit2, or other.

    by the time you build the cheapo serial one, buy a cable, waste hours upon hours trying to get it to work, you'll have spent way more than if you bought
    the pickit (or other) in the first place..

    here's the kicker, even after you get an enhanced jdm, get it to work, get/make external supplies for +5/+13, make a housing for it with switches etc, and tweak the software to run off your laptop with a usb converter...............

    You'll end up buying a different programmer for the other features.!
    (say um, pickit2? for serial i/o, logic injection/analyzer, etc..)

    oh, and if code protect is on, it will always fail verification.. even if it programmed fine, it will be unable to read the code to do the verification. :/
    Last edited by nomad; - 24th February 2009 at 19:04. Reason: oh yeah code protect...

  21. #21
    aruna1's Avatar
    aruna1 Guest


    Did you find this post helpful? Yes | No

    Smile Which PICs supports

    Guys what are the supported and not supported PICs by this simple programmer?
    thanks

    P.S. cool programmer

  22. #22
    ram1cal's Avatar
    ram1cal Guest


    Did you find this post helpful? Yes | No

    Default hi boss help me can i use ur circuit (3 resistor ckt) for 16f877a and wats it pin num

    Quote Originally Posted by Squibcakes View Post
    Hi guys,

    I have been using this simple programmer.. why pay big bucks for a PIC programmer when this one costs just cents! In fact I have stopped using my 'other programmer' all together now.

    All you need is:
    three 4.7k Resistors,
    a few wires (1m)
    9 pin d-connector (female),
    and a 5 volt dc supply.

    I have used it on 16F84, 16F62X, 16F87X chips without problems.

    To make it:

    TXD (3) ------[4.7k]-------VPP

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

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

    CTS (8) ------------------DATA

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

    Numbers in Bracket are the connections on the 9-Pin D-Connector.

    I have made up a small PCB to mount the resistors on but... you could just solder them in line to go cheap.. Just be carefull they dont short out. If anyone wants the PCB footprint I can post it.

    Then just put your PIC into a breadboard, connect your 5 volt supply to VDD/VSS, and away you go.
    then other prob is i how to modify this circuit for LVP ratings coz i'm much fear abt using 13v directly coz uC i hear tat works ly on 5v also flash is not sutable for 13v

    hey also tell me that resistor for just droping tat 13v to 5v if so can i use a
    MAX 232 for tat coz i'm much fear on ic damages...

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


    Did you find this post helpful? Yes | No

    Default

    If you read through the posts - you wil see that it doesn't work with chips ending with A. eg its ok with 16F628 but not 16F628A.

    You will need an external 5v supply (you migh be able to use 5v from USB port?)

  24. #24


    Did you find this post helpful? Yes | No

    Default

    Honestly, don't waste your time messing with the JDM style programmers. pickit2?'s are very cheap, there's even clones that also work quite well. After all the trial and error, adding parts (max232?), frying pics etc you'll have spent far more time and money than if you just got a decent programmer. I'm saying this from experience. I still do have a JDM style programmer, but the time I wasted getting it to work was just ridiculous. And out of 3 systems here it only works on 1. the other serial ports wont generate correct voltages.

  25. #25


    Did you find this post helpful? Yes | No

    Thumbs up

    Hi Nomad. I think you are missing the point
    Squibcakes programmer is Free - oh sorry, you have to buy 3 resistors. I like free, especially if it works

    I have stopped using any other programmers - this programmer works just fine on all the 16F and 18F PICS I use for my projects - and I have never blown up a PIC yet. I just install an ICSP plug on the project board and have a DB9 to ICSP header plug. s mentioned, use a regular PC Com port, not a USB to serial cable.

    For 16F, I use WINPIC800 software, and for 18F I use ICProg, both set to JDM mode

  26. #26
    Join Date
    Oct 2009
    Posts
    3


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Angus Anderson View Post
    Hi Nomad. I think you are missing the point
    Squibcakes programmer is Free - oh sorry, you have to buy 3 resistors. I like free, especially if it works

    I have stopped using any other programmers - this programmer works just fine on all the 16F and 18F PICS I use for my projects - and I have never blown up a PIC yet. I just install an ICSP plug on the project board and have a DB9 to ICSP header plug. s mentioned, use a regular PC Com port, not a USB to serial cable.

    For 16F, I use WINPIC800 software, and for 18F I use ICProg, both set to JDM mode
    I totally agree. I used this simple programmer to program an 18F2550, which I then used to make the GTP USB Lite. I programmed the 16F84A, 16F88 and 18F2550 multiple times with no problems, but only on my desktop machine. I used a ribbon cable and header myself to achieve ICSP but the point is it works great and it's free. Used WINPIC800 for the 18F2550 and it worked fine.

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