18F2431 won't program or erase.


Closed Thread
Results 1 to 25 of 25

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    OK, it's really easy.

    1. You need to read your datasheet to find those MCLR, PGD, PGC and Vss pins.

    2. place some jumper from the PICSTART ZIFF on the pins# you find and send them on the same pins on your PIC

    3. Once the PIC is programmed, just remove the wires.

    Not much. The only Extra hardware you have to add, is a 10k resistor+whatever diode on the MCLR pin. If the PGM pin of your PIC is already loaded with something it will work case not, just place a pull-down resistor on it. 10K work great

    well it's a variant of something like the following taken on the melabs website...
    <img src="http://melabs.com/images/icsp1.gif">

    Source and more explanation here

    in the past i did few adapter using some 40pins DIP socket. you make 1 of each different pic size (8,18,28,40, etc)

    Also handy to use something like...
    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=163&d=1104851398">

    if you want to avoid this 'plug/deplug' dance.

    Have fun!
    Last edited by mister_e; - 28th September 2006 at 01:29.
    Steve

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

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,604


    Did you find this post helpful? Yes | No

    Default Yes!!

    Keith,
    Glad to here it's finally working, great!!
    Let's see what the upcoming firmware does. Perhaps it will let us avoid the resistor. I think we can call this issue resolved, at last.

    Steve,
    Thanks a lot for the ICSP info, I will try it out next time I'm on a non-bootloader-able PIC.

    Thank you both!
    /Henrik Olsson.

Similar Threads

  1. Presetting Configuration Fuses (PIC Defines) into your Program
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 82
    Last Post: - 15th December 2013, 09:54
  2. Replies: 1
    Last Post: - 23rd May 2009, 09:22
  3. Compile and Program help using PICKit2
    By ozarkshermit in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 10th March 2009, 14:51
  4. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  5. PIC16F684 Program question
    By Nicholas in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th December 2006, 14:30

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