What is the main difference Bet. 16f877 vs 16f877A


Closed Thread
Results 1 to 33 of 33

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Posts
    21


    Did you find this post helpful? Yes | No

    Default same

    i have run the alive test i didnt work, and what surprise me is when i run another code on the pic it works..
    any solution or do i post the source here.

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Sounds weird to me so just post your Whole code AND the according .HEX compiled file to compare.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    Great information (and you are closer to a solution) -
    Let me make sure I understand

    - The code works on a 16F876 but not a 16F877A
    - The alive test does not work on the 16F877a when inserted into your code and the PIC inserted into your circuit
    - The same16F877A works when tested with other code in another circuit

    If the above is all true, it sure sounds like a hardware / config issue.

    What do you have connected to pin 1 of the 877A

    Describe your power supply?

    Do you have all four Vdd and Vss pins connected?

    Do you have decoupling caps between each pair of Vdd and Vss?

    What are your config setting?

    What are you using for an oscillator?

    What registers are you using and how are they set?

    If we cannot find the problem with this information, the nest step is to post a schematic and code.

    Paul Borgmeier
    Salt Lake City, Utah
    USA

  4. #4
    Join Date
    Apr 2006
    Posts
    21


    Did you find this post helpful? Yes | No

    Default Hi

    this is my connection

    On porta.0 = clock of 74hc574
    On porta.1 = clock of 74hc574
    On porta.2 = clock of 74hc574
    On porta.3 = cts
    On porta.4 = serialin
    On porta.5 = serialout

    I use three 74hc574
    portb.0-7 = pin2 -pin8 of 74hc574
    portc.0-7 = pin2 - pin8 of 74hc574

  5. #5
    Join Date
    Apr 2006
    Posts
    21


    Did you find this post helpful? Yes | No

    Default Thanks

    I thank everybody in the forum who contributed to make my effort to become succesful.
    the code now is working perfect.
    filter caps,and cmcon = 7
    adcon1 =7
    and configuration,and a little hardware fault,.

  6. #6
    Join Date
    Apr 2006
    Posts
    21


    Did you find this post helpful? Yes | No

    Default eeprom 24c16

    How can i read the whole byte on the i2c 24c16?
    The code i wrote is this,"i2cread dpin,cpin,$a0,char,[char2disp]"
    It only reads the first 256bytes,only, i am using the code to display moving sign display on led matrix.

  7. #7
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Your variables declaration and a snip of your code woud help!
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. HSEROUT and Commas, What? Help Me Understand
    By altech6983 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 20th July 2009, 19:12
  2. 16F877 vs. 16F877A
    By DavyJones in forum General
    Replies: 12
    Last Post: - 11th April 2009, 18:22
  3. GOTO main or RETURN - Question
    By studysession in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 31st January 2009, 16:13
  4. Clock connection to DS1802 from 16F877A
    By coyotegd in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 3rd January 2006, 18:52

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