ICSP with EPIC


Closed Thread
Results 1 to 8 of 8

Thread: ICSP with EPIC

  1. #1
    Join Date
    Apr 2006
    Location
    Alberta Canada
    Posts
    166

    Default ICSP with EPIC

    i have an EPIC plus programmer that i use for ICSP. after i program, i need to disconnect the lines and then restart my board. is there something i can do so i can leave the programmer plugged in, so all i need to do is restart the board? or is there a way to make it automatically restart so i can program and have it run without disconnecting anything or cycling the power?

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Check the manual for the PICKIT2 (or most other programmers for that matter).
    You'll see that they show you how to hook up your programmer so you can leave it connected while doing a 'test run' on your circuit.

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


    Did you find this post helpful? Yes | No

    Default

    You could still add a switch on the MCLR line... or a automated switcher... which will require some PC programming & interfacing.

    Tons of solutions here, depending how much time you want to spend on
    Steve

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

  4. #4
    Join Date
    Apr 2006
    Location
    Alberta Canada
    Posts
    166


    Did you find this post helpful? Yes | No

    Default

    i looked at the PICkit manual, and all i saw was that they had the PGC and PGD lines isolated from the rest of the circuit with resistors. and the MCLR line has a diode on it to stop the high voltage from going into the rest of the circuit.

    in my circuit, the PGM, PGC, and PGD lines arent used for anything but programming.

  5. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by dragons_fire View Post
    i looked at the PICkit manual, and all i saw was that they had the PGC and PGD lines isolated from the rest of the circuit with resistors. and the MCLR line has a diode on it to stop the high voltage from going into the rest of the circuit.

    in my circuit, the PGM, PGC, and PGD lines arent used for anything but programming.
    That's what I was talking about. All you should have to do is maybe add a switch for MCLR. You have to keep the diode to keep from feeding the 12v back into the 5v pullup, the resistors, I'd keep them in there so you could, in theory, use RB6/RB7 later on.

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


    Did you find this post helpful? Yes | No

    Default

    Try the switch on MCLR pin. Picstart had that 'problem'. I think my BK precision had this problem too... still not sure since i've made that automatic switcher interface...
    Steve

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

  7. #7
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    not sure since i've made that automatic switcher interface
    Got my own automatic switcher interface...called a PICKIT2...

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


    Did you find this post helpful? Yes | No

    Default

    I agree, but in some circumstance it still load the pin a little bit.. enough to screw few things... on really specific things and design though. Good enough on 90% cases.. at least mine
    Steve

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

Similar Threads

  1. ICSP from EPIC to Breadboard && 16f88
    By rdxbam in forum General
    Replies: 2
    Last Post: - 14th December 2008, 20:13
  2. Replies: 1
    Last Post: - 10th December 2007, 23:57
  3. Need the programmer EPIC software
    By Pedro Santos in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 22nd April 2007, 11:42
  4. programming straight assembly with epic?
    By clr2cont in forum Off Topic
    Replies: 1
    Last Post: - 2nd March 2007, 15:12
  5. EPIC 2.46 beta and 16f876a-i/sp
    By andyf97 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 11th October 2005, 11:49

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