Very Simple ICSP Programmer


Closed Thread
Results 1 to 40 of 130

Hybrid View

  1. #1
    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.

  2. #2
    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?

  3. #3
    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