Timer 1 kills PIC


Results 1 to 3 of 3

Threaded View

  1. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    I doubt that it's related to Timer1.
    I use Timer1 all the time and have never had a similar problem.

    I would suspect LVP (Low Voltage Programming) RB4.

    What do you have attached to RB4?
    It should be connected to something that provides a LOW voltage on power-up.

    When the chip is erased, LVP is automatically enabled.
    If the pin is left floating or has a HIGH level on the pin, the chip will not program anymore.

    Placing a resistor from RB4 to ground will solve the problem...
    If that is the problem.
    Added: Are you using an external crystal for Timer1?
    T1CON = %00001010 enables Timer1's External oscillator, and those pins are also the clk and data pins for ICSP.
    The programmer may have problems if there's a crystal attached.
    <br>
    Last edited by Darrel Taylor; - 12th January 2009 at 00:25. Reason: Added:
    DT

Similar Threads

  1. Delayed output 10 secs
    By lilimike in forum mel PIC BASIC Pro
    Replies: 37
    Last Post: - 14th October 2011, 07:28
  2. 32 bit square root
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 6th May 2009, 04:37
  3. Clock using Instant Interrupts
    By PICpocket in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th February 2009, 22:43
  4. sample code for M25P32
    By Pedro Santos in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th January 2007, 03:37
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th March 2005, 00:14

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