The PIC does not start its program.


Closed Thread
Results 1 to 37 of 37

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ted's View Post
    It is not. Just look at the voltage levels being applied. There need to be outside devices which apply the voltage to the pic.
    skimask, the main issue is that the device is not starting. I want to solely focus on that.
    I know four main error sources: The pic's hardware, the pic's software, the quarz and voltage applied to vdd and vss.
    Right now I suspect the quarz to be faulty.
    Ok, fine. Let us know what you did to troubleshoot the problem and what you did to fix it.

  2. #2
    Ted's's Avatar
    Ted's Guest


    Did you find this post helpful? Yes | No

    Default

    I replaced the quarz -> No change.

    I saw some soldering issues, fixed them and connected some solder points with others having the same potential via wire to make sure that there are no facers. I measured using my multimeter and the connection was there. I switched on and again, nothing.

    For other measurements refer to my previous posts in this thread.

  3. #3
    Ted's's Avatar
    Ted's Guest


    Did you find this post helpful? Yes | No

    Default

    Some photos of the setup. Quarz currently removed.
    Attached Images Attached Images     
    Last edited by Ted's; - 27th July 2008 at 08:07.

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ted's View Post
    Some photos of the setup. Quarz currently removed.
    Wow! A bit of a mess to contend with...
    Are you sure you don't have any unseen solder bridges anywhere?
    Are you sure you don't have any open traces anywhere?
    I see a LOT of little solder balls floating around the circuit board. Any shorts?
    Invest in a small brush and some 'rubbing alcohol' and clean up that PCB.
    How do you program the PIC? How do you know that you are actually programming the PIC?
    Does it read back with the same code you programmed it with?
    Have you even considered changing the program to the one I suggested? Or are you still running the same 'one-shot' 'turn the leds on once then turn them off' program?
    Do you have a decent cap across Vdd and Vss on the PIC itself?
    Is the power supply stable enough? Does it rise to +5v smoothly? Does Vpp come up to +5v before Vdd?
    Do you have a 'solderless breadboard' to pull the PIC out of that circuit board and try it elsewhere?
    Is the PIC installed in the correct orientation?

  5. #5
    Ted's's Avatar
    Ted's Guest


    Did you find this post helpful? Yes | No

    Default

    How do you program the PIC? How do you know that you are actually programming the PIC?
    Does it read back with the same code you programmed it with?
    Exactly. I worked fine so far therefor there are no issues here.

    Have you even considered changing the program to the one I suggested? Or are you still running the same 'one-shot' 'turn the leds on once then turn them off' program?
    Yes, I have already considered your program and I decided to stick to my program.

    Do you have a decent cap across Vdd and Vss on the PIC itself?
    I just connected a 100nF capacitor in between Vdd and Vss. Nothing.

    Is the power supply stable enough? Does it rise to +5v smoothly? Does Vpp come up to +5v before Vdd?
    I am using a 13.8 volts dc regulated power supply aswell as 3 times 7805. One 7805 for the pic itself and two parallel for other items like leds.

    Do you have a 'solderless breadboard' to pull the PIC out of that circuit board and try it elsewhere?
    Yes. I just did. It is working there.

    Is the PIC installed in the correct orientation?
    Yes.

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ted's View Post
    Yes, I have already considered your program and I decided to stick to my program.
    And that, along with reading your previous posts, tells me that you are so sure of yourself that you can also figure it out yourself...because rewriting that program could take as much as 2 minutes, and you don't wish to spend that time to help solve your problem.

    Yes. I just did. It is working there.
    And that tells me that you are so sure of your hardware that you can find your own opens and shorts...which judging from those pictures, there are probably more than one of each faults floating around in there somewhere. But you'll most likely never find it by running that 'single shot' program of yours.

    I...am...out...

  7. #7
    Ted's's Avatar
    Ted's Guest


    Did you find this post helpful? Yes | No

    Default

    Jeez, go get your lollipop or soother.
    Last edited by Ted's; - 27th July 2008 at 10:42.

Similar Threads

  1. Automatic VB6 to pic serial connection
    By arniepj in forum Code Examples
    Replies: 13
    Last Post: - 10th January 2008, 07:57
  2. Replies: 14
    Last Post: - 26th September 2007, 05:41
  3. Pic16f84 and RC5 kode
    By terminator in forum Bluetooth
    Replies: 5
    Last Post: - 18th June 2007, 21:40
  4. Pic Start Plus Help
    By shawn in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 7th March 2007, 03:47
  5. Output PIC module
    By freelancebee in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th September 2005, 20:10

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