Pic gets lost after power outage


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Posts
    52


    Did you find this post helpful? Yes | No

    Default Confiuration fuses and Vdd

    Hi Steve,

    This is the configuration:

    Code:
          NOLIST
        ifdef PM_USED
            LIST
            "Error: PM does not support this device.  Use MPASM."
            NOLIST
        else
            LIST
            LIST p = 18F4550, r = dec, w = -311, f = inhx32
            INCLUDE "P18F4550.INC"	; MPASM  Header
            ;CONFIG    PLLDIV = 1 
            CONFIG    FOSC = INTOSCIO_EC
            CONFIG    WDT = OFF
            CONFIG    PBADEN = OFF
            CONFIG    LVP = off 
            CONFIG   WRTB = ON
            CONFIG    CPB = off
            CONFIG    MCLRE = On
            NOLIST
        endif
            LIST
    EEPROM_START	EQU	0F00000h
    BLOCK_SIZE	EQU	32
    As for Vdd, It slowly goes down as the Super Cap bleeds down (The program needs to perform a couple of other things when the power goes out and the Super Cap is still holding voltage) I don't have this part written yet. When the power comes back on, Vdd comes back while charging the Super Cap up.

    Thanks, Don

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


    Did you find this post helpful? Yes | No

    Default

    Enable the PowerUp timer and see how bad/good it is.

    Then try to play with different BOR voltage, for now it's 'round 2V.
    Steve

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

Similar Threads

  1. Pic getting part power from Analog Port
    By ShaneMichael in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 22nd April 2009, 11:34
  2. Ideal backup power for PIC micro
    By emavil in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd March 2007, 01:07
  3. PIC power backup with "super capacitor"
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 25th January 2007, 00:51
  4. problems on power up of PIC
    By dmairspotter in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 13th June 2006, 15:11
  5. Controlling power to a PIC with another PIC
    By jswayze in forum Off Topic
    Replies: 3
    Last Post: - 28th May 2005, 20:44

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