Very Simple ICSP Programmer


Closed Thread
Results 1 to 40 of 130

Hybrid View

  1. #1
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default Not able to Prog !

    I am not able to Program any PIC using the Simple Interface suggested. I am using Windows XP (SP2).

    I get Programming failed at Dataaddress 000000h. Any help or suggestion. I am using ICP, Windows API , I/O delay 1. I tried changing these setting to diffrent settings but could not get the Chip to Prog. I am trying to Prog F72, F873A and F876

  2. #2
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default Windows XP OS Problem

    I just found out a good explaination to the possible problem I could be facing with my programing software.

    Just thought of sharing the link with the Thread.

    http://www.talkingelectronics.com.au...-03-Using.html

    I shall post my findings later when I overcome my problem.

    regards

  3. #3
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default

    I have just set up a 16F877 circuit for ICSP using this interface
    with my desktop PC. (XP service pack 2 BTW). No problem with
    read, verify, or erase

    I used the settings with IC prog suggested earlier in the thread:
    I/O delay 20, JDM programmer, Direct I/O with nothing inverted.
    Have you have also powered the pic seperately with 5 volts while trying
    to use this interface?

    Cheers, Art.

  4. #4
    zero13's Avatar
    zero13 Guest


    Did you find this post helpful? Yes | No

    Thumbs up WinPic800 Software programming Pics Auto

    Hello, i am use WinPic800 for programming Pics.

    Info:

    WinPic800 3.55 f
    http://www.zerobots.net/electronica_software.html

    Web:
    http://perso.wanadoo.es/siscobf/winpic800.htm

    Slds!
    Zero13
    www.zerobots.net

  5. #5
    breogan's Avatar
    breogan Guest


    Did you find this post helpful? Yes | No

    Default Pinout ?

    Hi Art,
    Please, could you tell me what are the connections that you have made between the Serial port and the PIC16F877 ?.

    PIC Serial Port
    MCLR/Vpp ---- ?
    RB3/PGM ---- ?
    RB6/PGC ---- ?
    RB7/PGD ---- ?

    Thanks a lot !.

  6. #6
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    Today 20:52
    breogan, You only need

    MCLR/Vpp
    RB6/PGC
    RB7/PGD

    to flash a program into any pic using high voltage programming (+12 volts) on the Vpp line. Now if you are planning on programming it using low voltage programming then you need:

    MCLR/Vpp
    RB3/PGM
    RB6/PGC
    RB7/PGD

    If you plan on using a boot loader then you need to use 1 of the first 2 options loading a bootloader hex file into the pic (if it supports bootloading). Then all you need to do is connect the RX/TX lines from the PIC thru an inverter such as a Max-232 to your pc's comm port to load your application software from that point on. I perfer to use the bootloader method of loading the application code myself.

    Dave Purola,
    N8NTA

  7. #7
    breogan's Avatar
    breogan Guest


    Did you find this post helpful? Yes | No

    Thumbs up Thank you

    Thank you Dave,
    I will try with
    MCLR/Vpp
    RB6/PGC
    RB7/PGD

    I'm tired of programming/erasing 16F74A /JW version...

  8. #8
    amane's Avatar
    amane Guest


    Did you find this post helpful? Yes | No

    Default WinPic800 and JDM programmer

    I've been using WinPic800 to program PIC18LF4620 using my PC's serial port. It's working fine. I used JDM programmer as the hardware settings. I connected the PC to the programmer using DB9 to ICSP cable. I'm thinking of getting myself a development board with PIC18LF4620. The board comes with ICSP connector that uses PGC, PGD, /MCLR, 3.3Vdc and GND to connect to the PIC and program it. I'm wondering whether will I be able to use the JDM programmer settings using a DB9 to ICSP cable to program the board. The board is going to cost me a huge sum of money and I wanted to be sure that I have the necessary tools to program it. Thanks!

  9. #9
    Join Date
    Mar 2006
    Location
    Hyderabad (India)
    Posts
    123


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by charudatt View Post
    I am not able to Program any PIC using the Simple Interface suggested. I am using Windows XP (SP2).

    I get Programming failed at Dataaddress 000000h. Any help or suggestion. I am using ICP, Windows API , I/O delay 1. I tried changing these setting to diffrent settings but could not get the Chip to Prog. I am trying to Prog F72, F873A and F876
    Hi Charudatt,
    1. please check whether the programmer has external 13.5 volts for Vpp if the derived voltage from COM port is used, pl ensure its value by measurement.

    2. Please try winpic800 programme and see. www.winpic800.com
    Regards,
    Sarma

  10. #10
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Originally Posted by charudatt
    I am not able to Program any PIC using the Simple Interface suggested. I am using Windows XP (SP2).

    I get Programming failed at Dataaddress 000000h. Any help or suggestion. I am using ICP, Windows API , I/O delay 1. I tried changing these setting to diffrent settings but could not get the Chip to Prog. I am trying to Prog F72, F873A and F876

    Quote Originally Posted by mvs_sarma View Post
    Hi Charudatt,
    1. please check whether the programmer has external 13.5 volts for Vpp if the derived voltage from COM port is used, pl ensure its value by measurement.

    2. Please try winpic800 programme and see. www.winpic800.com
    That 1st post was over 1 1/2 years ago... Ya think he might have it figured out by now or had moved onto a different project... I'd doubt if he's sitting in front of his monitor staring into it waiting for another answer

  11. #11
    Join Date
    Mar 2006
    Location
    Hyderabad (India)
    Posts
    123


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    ......................That 1st post was over 1 1/2 years ago... Ya think he might have it figured out by now or had moved onto a different project... I'd doubt if he's sitting in front of his monitor staring into it waiting for another answer
    Hi Skimask, you are right-- i too noticed it jsut after posting-- however, even if it is useful to anybody else, it serves-- coming to using winpic800 (ver3.60)programm, the hardware under concern is to be treated similar to propic 2 while configuring the hardware under winpic800 - this what the orginal hardware designer suggested.

    i agree and this helps only to locate winpic800 drivers, which are really good.
    Regards,
    Sarma

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


    Did you find this post helpful? Yes | No

    Wink

    Bearpawz,

    Show us your basic blink code and maybe we can figure it out. BTW did you use a dropping resistor on that LED? If not you may have blow up your IC. Don't suppose the polarity is around the wrong way?

    Oh yeah, Winpic800 is a much quicker at programming than IC prog.. I suggest using that now days.

    DTR/CTS lines connected to the data I/O are for Program reading and writing of the chip.

    Cheers and....


    Happy New Year to All

    Squib

  13. #13
    NewBoy's Avatar
    NewBoy Guest


    Did you find this post helpful? Yes | No

    Wink

    As Skimask says: do you have a pull-up res for MCLR pin in your LED blink circuit? 4K7 is hte commonly used value though higher vals will work with care.
    Is your blink circuit power supply good? (With decoupling capacitors where necessary?)
    As Squibcakes says: Do you have a dropping/limiting resistor for your LED? 470R to 2K2 should be fine unless you have a superfast 'blink'.

    Is it possible to include res+LED etc in your programming circuit to save transferring PIC to the other board? (Just for testing).

    If you go the bootloader route I can post a simple transistor circuit for programming via Tx and RX pins. (Easier/cheaper than MAX232 method though obv not true RS232 but it works 100%with the 6 PCs I've tried it with. No guarantees as i don't know how good your soldering is)

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


    Did you find this post helpful? Yes | No

    Default

    Sorry all, but i would suggest you buy a Microchip PICKIT2 programmer. It's still <50$ and work perfectly (at least the few time i used it on the road).

    I see a lot of problem here and there using those JDM etc etc few bucks programmer and free software. Now with Windows and USB to serial etc etc, it's getting hard to make them working.

    If you have an old PC running windows '98 it could work better.

    Your PC don't have DB9? buy a i/o card OR a USB programmer. The USB programmer like PICKIT 2 is still cheaper than an i/o card so far.
    Steve

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

  15. #15
    Join Date
    May 2004
    Posts
    81


    Did you find this post helpful? Yes | No

    Question

    Ok, I don't know what Im missing here....

    I used the circuit after reading through this thread... actualy seems to be no problems with programming. Im using IC-PROG, load a simple hex file made from the pbp samples code to blink an LED on port 1. Im not using any external oscilators.

    When I program, no problems. Read back it verifies correctly. Just to be sure I shut the whole thing down, restarted IC-PROG, and reloaded from the pic and there is indeed code in there.

    When I pull pic out of the circuit and try to plug into simmple LED blink circuit, nothing happens. Blink circuit is nothing more than 5V+ on VDD, GND on VSS, Cathode of LED to ground, and Anode of LED to Pin 6 (RB0)..

    Im using PIC16F818... Am I missing a config fues some where? its been over two years since ive toyed with these things so I cant remember what my set ups were back then

    thanks in advance


    oh yeah, and I already bought the programmer off e-bay... just waiting for it to show up from Hong kong... mean while this is all ive got and i have to start getting work on this project going.

  16. #16
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by bearpawz View Post
    Ok, I don't know what Im missing here....

    I used the circuit after reading through this thread... actualy seems to be no problems with programming. Im using IC-PROG, load a simple hex file made from the pbp samples code to blink an LED on port 1. Im not using any external oscilators.

    When I program, no problems. Read back it verifies correctly. Just to be sure I shut the whole thing down, restarted IC-PROG, and reloaded from the pic and there is indeed code in there.

    When I pull pic out of the circuit and try to plug into simmple LED blink circuit, nothing happens. Blink circuit is nothing more than 5V+ on VDD, GND on VSS, Cathode of LED to ground, and Anode of LED to Pin 6 (RB0)..

    Im using PIC16F818... Am I missing a config fues some where? its been over two years since ive toyed with these things so I cant remember what my set ups were back then

    thanks in advance


    oh yeah, and I already bought the programmer off e-bay... just waiting for it to show up from Hong kong... mean while this is all ive got and i have to start getting work on this project going.


    MCLR pulled up to +5?

  17. #17
    Join Date
    May 2004
    Posts
    81


    Did you find this post helpful? Yes | No

    Default

    Actually, its not programming as nice as I thought. Not it seems hit or miss as to weather or not it fails. This is the scheme I have:


    +12V------- LM7805 -------+5V------O |-- ->VDD(14)
    | (switch)
    |
    GND/Vss




    RS232 PIC16F818
    TXD (3) ------[4.7] -------- VPP (4)
    GND (5) -------------------- VSS (5)
    DTR (4) ------[4.7]--------- PGD (13)
    CTS (8) -------------------- PGD (13)
    RTS (7) ------[4.7]--------- CLK (12)



    ICPROG SETTINGS:
    JDM Programmer on COM2, I/o Delay = 20, Direct I/O

    I created a small program to blink an LED: Progam with these settings:

    Oscilator = INTrc
    Code Protect = OFF
    Write Enable = OFF
    Fuses:
    WDT = 1
    PWRT = 1
    MCLR = 0
    BODEN = 1
    LVP = 0
    CPD = 0
    DEBUGGER = 0
    CCPMX = 1


    All in all just a head ache of problems... I sure hope my JDM programmer I bought of ebay comes in tomorrow... been over a week for "Air mail" to show up...

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