PIC 18F242 not starting


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Posts
    5


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by manxman View Post
    My circuit uses an 18F252 with 20MHz low profile crystal and 33nF capacitors for the clock. Power comes from a 7V bench supply, through a standard 7805 regulator and a MAX232 is used for serial to a PC. There are 100nF power line decoupling capacitors scattered on the board. My problem is that, on switch on, the PIC fails to start about 7 times out of 10. Also, the program often stops and the PIC re-starts at random. The same thing happens when the PIC sends instructions to a DAC.

    Has anyone any experience of this problem and a suggested solution?
    have you set you program option to hs oscillator??????????

  2. #2
    Join Date
    Feb 2006
    Location
    Isle of Man
    Posts
    32


    Did you find this post helpful? Yes | No

    Smile PIC not starting

    Yes, the program has a header line defining this oscillator frequency. The problem is solved as described before.

Similar Threads

  1. SMS via pic
    By kenandere in forum GSM
    Replies: 15
    Last Post: - 10th March 2010, 10:00
  2. HSERIN & Interupts (aka controlling PIC programs from a remote PC)
    By HankMcSpank in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 17th June 2009, 14:46
  3. pic to pic ir link versus wired link : help please anyone
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th May 2008, 21:01
  4. Starting PC from PIC
    By Tissy in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 25th February 2006, 14:42
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23: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