Noobie programmer


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    noobie's Avatar
    noobie Guest


    Did you find this post helpful? Yes | No

    Default CLRF STATUS be4 entering loop

    I tried it out but to no avail. Output RA4 still dun hav a high...

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


    Did you find this post helpful? Yes | No

    Default

    RA4 ???

    Your output was RB5.
    <br>

  3. #3
    noobie's Avatar
    noobie Guest


    Did you find this post helpful? Yes | No

    Default Sorry

    Sorry i made a mistake... Should be RB5 do not hav a high output...

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


    Did you find this post helpful? Yes | No

    Default

    Then, may I ask exactly where you put the line?

    AND
    Just a manual switch at port B,0 that is providing a high ...
    Does it have a pull-down resistor to provide a low when the switch is not pressed?
    <br>

  5. #5
    noobie's Avatar
    noobie Guest


    Did you find this post helpful? Yes | No

    Default Yup

    I did have a pull up resistor so that it is a low when the switch is not press.
    I place the CLRF STATUS before GOTO main

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


    Did you find this post helpful? Yes | No

    Default

    Then you're left with Paul's other questions ...
    Does your chip program without error?
    What configs did you set?
    Along with ...

    Are you using a 6mhz crystal?
    Is the oscillator config set to HS or H4? (16C745 doesn't have XT mode)
    What size capacitors are on the crystal? (normally 22pf)
    Is it a valid crystal, and is it actually oscillating?
    Is there a pull-up resistor on MCLR?
    Do you have 5V to VDD?
    Are both VSS pins connected to ground?

    Sorry for the basic questions but, it doesn't matter how good the program is, if the hardware isn't running.
    <br>
    DT

  7. #7
    noobie's Avatar
    noobie Guest


    Did you find this post helpful? Yes | No

    Default Got it

    Sorry Guess noobie fault... I didn't pluck in the oscillator... Embarrased that i made this kind of stupid fault...

Similar Threads

  1. Melabs U2 Programmer Command Line Options
    By Robert Wells in forum General
    Replies: 5
    Last Post: - 3rd July 2009, 02:11
  2. problems with USB programmer
    By malc-c in forum General
    Replies: 7
    Last Post: - 10th May 2007, 20:14
  3. USB programmer problems
    By uiucee2003 in forum USB
    Replies: 2
    Last Post: - 15th August 2006, 23:47
  4. Melabs USB Programmer
    By tmurph in forum General
    Replies: 1
    Last Post: - 25th December 2005, 03:25
  5. General Programmer Questions
    By mslaney in forum General
    Replies: 1
    Last Post: - 17th December 2004, 18:16

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