1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Electronics ICSP pic help

Discussion in 'Modding' started by Brianmy, 15 Sep 2007.

  1. Brianmy

    Brianmy What's a Dremel?

    Joined:
    21 Aug 2007
    Posts:
    8
    Likes Received:
    0
    I am trying to program an 18f2550 through icsp and I am not having any luck. I am using a willem dual power programmer with it's icsp header and I have my pic on a breadboard. I have seen several circuits that are supposed to be required for icsp, I have tried most of them and did not get anywhere. I keep getting an error message, error program memory at 0x000000. I have also tried several different chips and keep getting the same error. I am running winxp with the porttalk driver installed.
     
  2. ConKbot of Doom

    ConKbot of Doom Minimodder

    Joined:
    2 Jul 2003
    Posts:
    2,160
    Likes Received:
    6
    What program are you using for programming(I.E. windows software)? It sounds like you just arent communicating with either the programmer or the PIC.
     
  3. Brianmy

    Brianmy What's a Dremel?

    Joined:
    21 Aug 2007
    Posts:
    8
    Likes Received:
    0
    I have tried winpic, winpic800, and willem eprom 97jc. All three of these have given me the same result.
     
  4. const_

    const_ What's a Dremel?

    Joined:
    15 Nov 2005
    Posts:
    121
    Likes Received:
    1
    did you make sure you got these voltages on these pins:

    VPP = 12 -> ~13V
    VDD = 5v
    VSS = 0

    also try grounding PIN 26 to bypass Low voltage programing mode
     
  5. Brianmy

    Brianmy What's a Dremel?

    Joined:
    21 Aug 2007
    Posts:
    8
    Likes Received:
    0
    I am getting the right voltages, what should I have on the target board? Right now I just have the pic and nothing else.
     
  6. Deflater Mouse

    Deflater Mouse What's a Dremel?

    Joined:
    2 Jan 2003
    Posts:
    10
    Likes Received:
    0
    Are you disconnecting the PIC's power supply when you program?
     
  7. Brianmy

    Brianmy What's a Dremel?

    Joined:
    21 Aug 2007
    Posts:
    8
    Likes Received:
    0

    Do you mean the 5v vdd from the programmer?
     
  8. const_

    const_ What's a Dremel?

    Joined:
    15 Nov 2005
    Posts:
    121
    Likes Received:
    1
    Deflater Mouse: he says that the target board has just the processor and nothing else
    i dont know whats the problem with your programmer brianmy
     
  9. Brianmy

    Brianmy What's a Dremel?

    Joined:
    21 Aug 2007
    Posts:
    8
    Likes Received:
    0
    This is the first time I have tried to do this so it's hard to tell what I am missing. This is the third different programmer I have tried and I have gotten the same results.
     
  10. jakenbake

    jakenbake full duplex

    Joined:
    5 Jun 2005
    Posts:
    495
    Likes Received:
    3
    i think you need to have the Vdd and Vss lines powering/grounding the pic itself, not just the programmer.

    edit: nevermind, i didn't realize what type of programmer you were using.

    edit #2: did you try the software on this page? http://www.xenocron.com/willem/
     
    Last edited: 18 Sep 2007
  11. Brianmy

    Brianmy What's a Dremel?

    Joined:
    21 Aug 2007
    Posts:
    8
    Likes Received:
    0
    That is one of the three or four I have tried. I am communicating between the PC and programmer I think my problem lies between the programmer and pic. I double checked my voltages and I am getting 12.34v coming from vpp and 5.1v on vdd.
     
    Last edited: 18 Sep 2007

Share This Page