16f685 Reset


Closed Thread
Results 1 to 4 of 4

Thread: 16f685 Reset

  1. #1
    Join Date
    Aug 2004
    Posts
    64

    Default 16f685 Reset

    Dear friends:
    I have an application with the 16f685 and 16f690 and I use this configuration:
    @ DEVICE pic16f685 , bod_oN 'BOD Reset at 2.0 Volts.
    @ DEVICE pic16f685 , INTRC_OSC_NOCLKOUT
    @ DEVICE pic16f685 , pwrt_on
    @ DEVICE pic16F685 , PROTECT_ON
    @ DEVICE PIC16F685 , MCLR_OFF 'internal reset
    I use the Mclr pin as input with a button and pullup, but tho micro resets when I push the
    button to ground. I am working with 3.3v .
    All works OK, except the input button.Any ideas...?
    Thanks in advance.
    Ruben de la Pena

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    I use the 690 in quite a few applications with /MCLR as an input, and have never had a
    problem. Post your compiled .hex file if you can.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    Join Date
    Aug 2004
    Posts
    64


    Did you find this post helpful? Yes | No

    Default 16f685 reset

    Thanks Bruce, but I found it.
    I disabled the WDT too, and now all is working fine. With your response, I think... What
    Bruce expect to find in the hex file..?.... Maybe unwanted WDT timeouts. So I added
    the define for the WDT_OFF and all is OK now.
    Thanks again...

    !!!!!!!!!! Bad news !!!!!!.... I test several times while making the reply and the button is erratic.
    The button funcion is to stop the current operation and return to the options menu.Now when I
    operate the button, the operation stops and after a long timeout, returns to the same option or
    some times stays and do not return to the menu. I need to reset the system to reach the menu
    again... Back to the drawing desk...
    Greetings !
    Ruben de la Pena V

  4. #4
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Hi Ruben,

    Disable code protection. Recompile. Program the PIC. After you program the PIC, read back
    the .hex file. If MCLR still off?

    I was just curious if the reset function for /MCLR was really being disabled. Reading back the
    .hex file from the PIC would tell you this.

    I haven't used the 685, but I do use the 690, and I use MCLR as an extra input with reset on
    MCLR disabled. I've never had a problem with it.

    When you press the switch connected to the MCLR pin, does it drop circuit voltage below
    brownout? Brownout will reset from 2.025 to 2.175 volts when BOD is enabled.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Similar Threads

  1. IC12F508 with Internal Oscillator and Software Reset
    By karan123 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 2nd October 2009, 16:13
  2. pic reset sometimes
    By Pedro Pinto in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 23rd January 2008, 17:27
  3. Software Driven Reset Routine
    By Tissy in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th April 2005, 00:53
  4. reset and interrupt vectors
    By dtoohey in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th February 2005, 22:02
  5. Replies: 5
    Last Post: - 1st December 2004, 12:49

Members who have read this thread : 1

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