unexpected reset 2


Closed Thread
Results 1 to 1 of 1

Hybrid View

  1. #1

    Default unexpected reset 2

    Hi Everyone,

    I came across interesting problem and though someone else may trip over it. I attached the code which I run on 12F683 using 8Mhz internal oscillator. Option_reg should appear only once as “11111111” upon Pic startup. Then GPIO.4 gets toggled in a loop. Instead you will see “11111111” appearing periodically which means that the Pic resets periodically and executes the code from the beginning. The solution I found is to disable Watchdog timer. I hope it will be of some use to a beginner like me.
    Attached Images Attached Images    

Similar Threads

  1. How to drive the Vinculum VDIP1 in UART mode
    By BrianT in forum Code Examples
    Replies: 41
    Last Post: - 23rd May 2013, 12:34
  2. Unexpected Reset
    By netstranger.nz in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 13th June 2009, 19:54
  3. USB-FTDI[UM232R] with PIC16f877a
    By bjox in forum USB
    Replies: 1
    Last Post: - 23rd February 2008, 22:40
  4. Help with sound command in 2 programs
    By hyperboarder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2007, 20:36
  5. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27

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