Pic will not run


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: Pic will not run

    disable those pins just in case this is causing the PIC to lock up
    It can't do any harm to set all grounded pins to inputs.

    Decoupling?

    Do you still have access to a working breadboard version?
    George

  2. #2
    Join Date
    Dec 2010
    Posts
    409


    Did you find this post helpful? Yes | No

    Default Re: Pic will not run

    Boards can sometimes have an issue with plate through holes. If you've found one with a problem. likely all the boards in that batch will have issues - just not necessarily in the same location. Where the through hole devices are, I'd make sure the solder wicked through completely, and maybe even put a bit extra solder top and bottom to guarantee the connection. It also wouldn't hurt to solder a bit of wire in the vias and cut it off flush when done. That should address your marginal connection situation. Sometimes a track will "buzz out" fine, but contain enough resistance to make signals flaky if you've got a poorly manufactured board.

    Your pull up resistors likely need to be smaller, not larger. The trade off is that smaller resistors consume a bit more energy, but speed up the rise time of the waveform. I'd try 2K2 or 3K3. I don't think I've ever used anything over 3K9, especially with multiple devices sharing the bus. 10K is at the extreme upper limit of the spec. Unless battery life is a critical design requirement, go small. 1K is the absolute minimum, so don't go quite that far.

    Any chance you can share a picture of the board layout?
    Last edited by Charlie; - 23rd July 2016 at 16:03.

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: Pic will not run

    Just in case - If you changed the battery on the DS1307 or removed it, I believe you'll need to send the enable bit code to get it running again otherwise your time will not change but will be stuck where it was when it lost backup power.

    btw, the DS3231 is tremendously more accurate, in case you wanted that improved. It leaves the 1307 in the dust.

    Picster
    Last edited by picster; - 23rd July 2016 at 16:05. Reason: edited to include DS3231

  4. #4
    Join Date
    Oct 2009
    Posts
    583


    Did you find this post helpful? Yes | No

    Default Re: Pic will not run

    thanks for the comments guys,

    I've attached board layouts as requested. I've been out this afternoon, so will have a further play in reducing the ic2 pullups to see if that helps
    Attached Images Attached Images   

Similar Threads

  1. PIC16F628A Will not run at all....
    By thasatelliteguy in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 23rd May 2014, 07:26
  2. PIC programs, resonator resonates, but does not run code.
    By jmgelba in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 9th August 2012, 01:47
  3. Run-Time Config
    By Darrel Taylor in forum PBP Extensions
    Replies: 1
    Last Post: - 1st February 2012, 16:26
  4. 16F628 does not run. I can't believe this
    By Ioannis in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 3rd October 2009, 15:41
  5. How to run program in parallel?
    By vanxn in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th July 2006, 21:59

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