JDM type programmer problem...


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    May 2004
    Posts
    81


    Did you find this post helpful? Yes | No

    Default

    Well, the reason Im not entertaining purchasing another programmer is because Ive got a non existant budget right now. not for at least a few weeks... just started a new job after several months of unemployment...

    Anyway, Here is the issue with the programmer:

    Its constantly applying the +5 and ground, so once I have code in there that uses the internal oscilator it begins to run the code BEFORE the high voltage reaches the MCLR pin to enter programming mode. Here is what I have found with my meter hooked up in place of a pic...


    When not trying to program:

    VDD (pin 14) = ±5V
    VSS (Pin 5) = 0V
    MCLR (pin 4) = ±0V

    Once I fire up programmer:

    VDD = ±5V
    VSS = ±0V
    MCLR = ±13V

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default break the connection

    Mr. bearpawz,
    I do not know if you are looking for a long term solution, but why not sever the connection to the 5v terminal amd add a 5v regulator driven off the 13v line, would that work for you?

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by bearpawz View Post
    Well, the reason Im not entertaining purchasing another programmer is because Ive got a non existant budget right now. not for at least a few weeks... just started a new job after several months of unemployment...

    Anyway, Here is the issue with the programmer:

    Its constantly applying the +5 and ground, so once I have code in there that uses the internal oscilator it begins to run the code BEFORE the high voltage reaches the MCLR pin to enter programming mode. Here is what I have found with my meter hooked up in place of a pic...


    When not trying to program:

    VDD (pin 14) = ±5V
    VSS (Pin 5) = 0V
    MCLR (pin 4) = ±0V

    Once I fire up programmer:

    VDD = ±5V
    VSS = ±0V
    MCLR = ±13V
    Oh!

    fine readings Bearpawz,

    i beleive a principle ,that one shold not purchase an nitem just cauz he /she has money-- we can use it for other purposes. likewise when we can use our knowledge and debug the faulty situation, why not -- every issue is an oppertunity from where we can gain experience. thus, you are right not to prchase-- even if you were in continuous emplyment. afterall there are thousands of users working on JDM versions.

    coming to the point, can you post the schematic of your prog if your user manual has it? otherwise a dirct photo of the equipmrnt in .jpg form. it will help us to sort out the issue
    Regards,
    Sarma

  4. #4
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by bearpawz View Post
    Its constantly applying the +5 and ground, so once I have code in there that uses the internal oscilator it begins to run the code BEFORE the high voltage reaches the MCLR pin to enter programming mode.
    This is a common problem with some verions of the JDM programmer. There is a fix that is shown below.



    Full details of this modification can be found at http://users.tpg.com.au/btkelly/jdm_b.htm

    Another version can be found at http://www.janson-soft.de/pic/pic.htm

    I use a commercial version of the JDM programmer from Olimex



    which is based on the following schematic



    Hope this helps

  5. #5
    Join Date
    May 2004
    Posts
    81


    Did you find this post helpful? Yes | No

    Default

    here is a picture of the programmer.. At least I think.. not quite sure how to insert a picture into this here message board so its attached...


    It also seems that after playing around with the settings in IC-PROG I got it to work again. It seems like as long as I dont have to reboot Im ok. Just a couple of chips will not erase and they are probably blown or something.
    Attached Images Attached Images  

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by bearpawz View Post
    here is a picture of the programmer.. At least I think.. not quite sure how to insert a picture into this here message board so its attached...


    It also seems that after playing around with the settings in IC-PROG I got it to work again. It seems like as long as I dont have to reboot Im ok. Just a couple of chips will not erase and they are probably blown or something.
    Hi Bearpawz,

    That is comfortable. Doon't suspect the chips . they will also work. indicate their numbers.

    next, in the user manual( if given) do you have the schematic? if so you may take a digital photo of that in a document mode with camerA SET TO LOWEST mPIXEL POSSIBLE. and save it in PC as prog.jpg
    Keep a file copy ready at a known folder for uplinking. (say desk top)

    now you know how to post it. ensure that the jpg is minimized by using 'stretch/skew of PAINT' in windows. there may be other methods.
    Regards,
    Sarma

  7. #7
    Join Date
    Oct 2004
    Posts
    448


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by bearpawz View Post
    Its constantly applying the +5 and ground, so once I have code in there that uses the internal oscilator it begins to run the code BEFORE the high voltage reaches the MCLR pin to enter programming mode.
    While this is true, my parallel port based EPIC compatible has only 4 wires of ICSP (Gnd, Vpp, clock and data). So, when you connect it to a pic on a breadboard, the pic is constantly getting +5 volts from the target supply and the programmer has no way of controlling it. And yet, even with the internal osc. and MCLR disabled, a 12F6XX has no problems getting programmed over and over again.

    I wonder how this can be explained?

    Regards,

    Anand

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


    Did you find this post helpful? Yes | No

    Default

    [QUOTE=ardhuru; While this is true, my parallel port based EPIC compatible has only 4 wires of ICSP (Gnd, Vpp, clock and data). So, when you connect it to a pic on a breadboard, the pic is constantly getting +5 volts from the target supply and the programmer has no way of controlling it. And yet, even with the internal osc. and MCLR disabled, a 12F6XX has no problems getting programmed over and over again.

    I wonder how this can be explained?

    Regards,

    Anand[/QUOTE]

    Hi Anand, EPIC and parallel port type you said. any circuit diagram for further discussion . or site where i could read a schematic please?
    Regards,
    Sarma

Similar Threads

  1. JDM type Programmer + WinPic800 (or whatever)
    By skimask in forum Schematics
    Replies: 27
    Last Post: - 10th December 2007, 12:12
  2. JDM programmer
    By phoenix_1 in forum Schematics
    Replies: 4
    Last Post: - 10th December 2007, 11:29
  3. USB programmer problem 18LF4620
    By BrianT in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th November 2007, 02:03
  4. melabs usb programmer problem
    By bigbear in forum General
    Replies: 4
    Last Post: - 28th December 2006, 12:50
  5. EPIC PLUS programmer (problem)
    By pakbasic in forum General
    Replies: 3
    Last Post: - 17th May 2005, 19:28

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