16F877a to 18f4620 compatible?


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Pinckney, Michigan
    Posts
    91


    Did you find this post helpful? Yes | No

    Default

    Schematic attached.

    The double diode doesn't "help the bootloader". What it does is prevent the reset generator from interfering with the bootloader.

    The reset generator helps prevent spurious PIC operation in the presence of "dirty" power, or start-up transient spikes. I once designed a PIC circuit that was powered by 110VAC. Everytime I switched on the power, the PIC would go "off in the weeds". This reset generator circuit solved the problem beautifully, and I've stuck with it ever since.

    This particular reset generator imposes a 350mS delay upon power up and "other" power line disturbances, as well as debounces the reset switch. Note: there are other reset generators out there with shorter delays if 350mS is too long for your application.

    When the bootloader "wiggles" the MCLR line, as part of it's normal start-up process, this would invoke a "fresh" (and undesirable) 350mS delay, from the reset generator, on the PIC reset pin if the double diode weren't there. Note: it doesn't have to be the BAT54 series diode, but it should be the Schottky type.

    Newer PIC devices have brownout protection that may obviate this circuitry. I've just always used this circuit to solve a host of start-up and voltage transient problems.
    Attached Images Attached Images
    Last edited by J. Mark Wolf; - 4th February 2006 at 16:11.

Similar Threads

  1. 16F877 vs. 16F877A
    By DavyJones in forum General
    Replies: 12
    Last Post: - 11th April 2009, 18:22
  2. help my bluetooth and PIC 16F877A?
    By slimpeng in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th March 2008, 06:52
  3. 16F877A to 18F4620 error
    By IMADK in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 8th November 2007, 00:39
  4. Clock connection to DS1802 from 16F877A
    By coyotegd in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 3rd January 2006, 18:52
  5. 1st 16F877A program in PICBasic
    By Borisw37 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 19th January 2005, 04:46

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