PIC16F877A not working again :(


Closed Thread
Results 1 to 25 of 25

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    By that i meant in an idle state where its not doing anything. It doesnt appear to be using any power and its not changing the state of any output pins etc

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by The Master View Post
    By that i meant in an idle state where its not doing anything. It doesnt appear to be using any power and its not changing the state of any output pins etc
    Can I quote/use that statement the next time a customer calls and complains said machine is not working.

    The machine is just in an idle state, not to worry
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    Ive just reprogrammed the PIC chip with my origional test code but setting the oscillator to HS and it works.

    Thanx for your help

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by The Master View Post
    Ive just reprogrammed the PIC chip with my origional test code but setting the oscillator to HS and it works.

    Thanx for your help
    As the great 'Quagmire' says...

    Gigadee-gigadee, gigadee-goo...

  5. #5
    Join Date
    Oct 2008
    Location
    Ashland, KY
    Posts
    45


    Did you find this post helpful? Yes | No

    Default

    I've had the same exact problems myself, especially since I've been using either an 8 or 20MHz HC-49 case crystal in a lot of recent experiements. No matter what programming software is used, it always seems to default to "XT" instead of "HS". I usually forget to change the PIC in the drop-down menu in Microcode Studio from 16F628A to whatever PIC the program is for, but that's easy to find and correct when the program doesn't assemble correctly and gives a "too many errors" error message.

    Is there an .ini file or another file I can modify to have the default settings in Microcode Studio automatically select the PIC I've been using most lately, and to default to "HS" instead of "XT" in the oscillator setting? Same question for the PICFlash software from mikroElektronika-anything I can modify to change the same default settings?

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by rxforspeed View Post
    Is there an .ini file or another file I can modify to have the default settings in Microcode Studio automatically select the PIC I've been using most lately, and to default to "HS" instead of "XT" in the oscillator setting? Same question for the PICFlash software from mikroElektronika-anything I can modify to change the same default settings?
    Have you seen this about the config settings for the PIC?
    http://www.picbasic.co.uk/forum/showthread.php?t=543
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Oct 2008
    Location
    Ashland, KY
    Posts
    45


    Did you find this post helpful? Yes | No

    Default Thanks!

    Thanks for the link, Dave! Once I get those default settings changed, I'm sure that'll save me quite a few frustrating moments...

Similar Threads

  1. PIC16F877A PORTA.2 not working
    By The Master in forum Off Topic
    Replies: 2
    Last Post: - 10th October 2009, 18:16
  2. PIC16F877A analog problem
    By DeViLa_Q8 in forum mel PIC BASIC
    Replies: 0
    Last Post: - 30th July 2009, 20:19
  3. PIC16F877A for application in mobile robot...
    By mcbeasleyjr in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 30th January 2009, 14:47
  4. PIC16F877A not working
    By The Master in forum General
    Replies: 6
    Last Post: - 16th November 2007, 11:32
  5. communicating pic18f452 with pic16f877a
    By tamersoss in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th July 2007, 19:54

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