PIC Programmer "JDM 2"

Discussion in 'Embedded Systems and Microcontrollers' started by Leccy-Lee, Aug 24, 2008.

  1. Leccy-Lee

    Thread Starter Member

    Aug 2, 2008
    22
    1
    Hi

    I was about to build myself a JDM 2 Programmer for use on some pics, as i found this schematic online. One question though, its connecting to a 9pin serial plug, so where does that pin20 connection go (1.5k resisitor), as theres obviously only 9 pins?

    [​IMG]
     
    PlasmaT likes this.
  2. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    The pinouts are given for the 25-pin serial port standard.

    hgmjr
     
  3. Leccy-Lee

    Thread Starter Member

    Aug 2, 2008
    22
    1
    Would this not work fine though on a newer 9pin serial just the same? I figured it should if i can work out the pin 20 thing..
     
  4. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    Here is the wikipedia information on RS-232 pinouts for the 9 and 25 pin connector. It should work fine connected to the 9-pin comm port on a PC.

    hgmjr
     
  5. Leccy-Lee

    Thread Starter Member

    Aug 2, 2008
    22
    1
    Awesome, why couldn't i find that! Doh

    Thanks
     
  6. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
  7. Nomad

    Active Member

    Oct 21, 2007
    43
    0
    or just pick up one of the enhanced jdm's off ebay with the zif for $10.

    Or even a pickit2 for about $35, (works WAY better than any jdm type, also has some usefull tools with it)


    P.S> your question on the picbasic forum was answered.
     
    Last edited: Aug 25, 2008
  8. Leccy-Lee

    Thread Starter Member

    Aug 2, 2008
    22
    1
    Thanks, i would buy a made one, but with worldwide shipping and exchange rates it would actually be pretty expensive for me sadly.
     
  9. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    Anyway, have a look at the link I posted. The circuitry is very similar, also quite simple, but provides more options than the basic JDM 2 does - and will program many PICs that the original JDM 2 won't.
     
  10. Leccy-Lee

    Thread Starter Member

    Aug 2, 2008
    22
    1
    I will see if i can the parts for that today Sgt, Wonder if i can rig that up on a breadboard? Do you know if that design works well on ALL serial ports? As i have so far tried LVP programming ICSP which has proved unsuccessful and i think may be because of my PCs serial port?
     
  11. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    The above quote is from the website on the JDM-2. It indicates the criteria that your serial port must conform to in order for the circuit to work.

    hgmjr
     
  12. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    Sure, you can breadboard it - why not?

    You'll need to test your serial port's voltages. Laptops probably won't work very well with a JDM-type programmer. Some computer manufacturers "cheap out" on the power supplies, and don't supply enough voltage for the JDM-types to work.

    Read all of what he's written; he's built several types, and tells about some of the problems he ran into.
     
  13. Leccy-Lee

    Thread Starter Member

    Aug 2, 2008
    22
    1
    Hmm severe frustration driving me mad now!
    Built that Multi-Chip as posted by Sgt, Double & Triple checked my breadboard with the schematic, its all fine. Checked my serial port, giving 11v on all correct pins ok.

    Tried both Winpic and ic-prog and nothing, not a dickie bird. Nothing happening.

    Not sure where to start in fault finding as my electronics knowledge isnt good enough, i mean what voltages should be where in schematic? I get nothing above 3v on the programmer as soon as its connected to PC ? I can see any instructions or functions of the circuit, i mean the LED, when should it be on? If it all, i have no idea what its there for?

    Argghh, sorry i try and calm down, but 5 days now and cant continue with my project, just as i need to get the designers firmware onto the chip...

    Is it my serial port? My PC settings. I cant take much more....... :(
     
  14. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    It sounds as though the programming utility you are using is mapping its output to a different serial port than the one you have the programmer connected to. For example, the software may be configured to output to com2 and the port you are connected to is being mapped as com1 by your computer.

    How many physical serial port connections do you have on your computer?

    Make sure that the programming software is pointing to the com port you intend to use. There should be an "options" menu in the software that allows you to select the com port that is consistent with your computer's com port to which you have the programmer connected.

    hgmjr
     
  15. Leccy-Lee

    Thread Starter Member

    Aug 2, 2008
    22
    1
    Arghhh, dont you hate it when you suddenly realize what the problem is and kick yourself for not thinking of it 2-3 days ago! Part of me feels completely stupid for missing it, and other half is grateful the problem is solved..

    What was it? Well i have a UPS under my desk here, i "had" removed the cables to it, i had disabled the monitoring software for it and thought i covered it. BUT the joys of XP and its background services.. The UPS service was still running and occupying the Com port! GRRRRRR Doh

    I was watching TV when i thought of it, rushed in turned off the service and tried Winpic, instantly it detected the PIC and LED flashed away as it read the chip..

    Finally..! I feel so deflated.....LOL
    (This is why my main computer is my Apple Mac)

    Thanks for tips
     
  16. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    I'm so glad you found a solution to your problem. From the tone of your various replies it was beginning to appear that you might have a cardiac arrest before you got it working.

    hgmjr
     
  17. Leccy-Lee

    Thread Starter Member

    Aug 2, 2008
    22
    1
    Thanks, sorry got a bit frustrated there!
    Simply because i knew i had built circuits right, as i had checked them several times, and i had a hunch from start the serial port on PC was probably the cause. Frustrating as i bought loads components and spend 3 evenings making different programmers to later remember that my port might be in use.

    Ah well, heres to an evening now of trying out this programming PICs malarky...
     
Loading...