ds1307 from f877 to f452 not work


Closed Thread
Results 1 to 24 of 24

Hybrid View

  1. #1
    microkam's Avatar
    microkam Guest


    Did you find this post helpful? Yes | No

    Angry

    i edited my programe on the new defined and the ds1307 still not working
    ,i download the new programe on the 16f877 and all thing is ok
    whats the problem!!!
    mel, can you see the new programe and tell me whats the wrong
    Last edited by microkam; - 6th July 2005 at 13:39.

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    I interchange 18F252, 18F242, 18F2420, 18F2520 and 18F2620 with 16F876's all the time, on the same boards with a DS1307 installed (although I use different pins to you). From memory, other than CONFIG FUSES and the Weak Pull-Up's having a different Register, there's not too many other changes to look out for. Can you try another 18F PIC? what versions of PBP and MPLAB/MPASM are you using?

  3. #3
    microkam's Avatar
    microkam Guest


    Did you find this post helpful? Yes | No

    Unhappy

    i used picbasic pro 2.4
    microcode studio 2.0.5.2
    mpasm v02.80
    whats the state of fuses you use
    i used HS are this correct

  4. #4
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by microkam
    i used picbasic pro 2.4
    microcode studio 2.0.5.2
    mpasm v02.80
    whats the state of fuses you use
    i used HS are this correct
    There are newer Versions of all the packages available.
    (MicroCode Studio and MPASM are available for download)

    With regards to the Fuses and Config Bits:
    The Loader.HEX usually has all this preset, so you don't have to worry.
    (As long as your programmer doesn't alter them)
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  5. #5
    microkam's Avatar
    microkam Guest


    Did you find this post helpful? Yes | No

    Unhappy

    ok NavMicroSystems , whats the soluation i tested all thing and no result

  6. #6
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    PBP version 2.42 introduced some timing changes to I2CREAD/I2CWRITE for
    the 18F series. That may be why you're having problems if you're using
    version 2.40.

    I've compiled your code as-is with PBP v2.46. See if this works for you.
    Attached Files Attached Files
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  7. #7
    microkam's Avatar
    microkam Guest


    Did you find this post helpful? Yes | No

    Red face

    hi Bruce...
    i downloaded your hex file and it's runing ok.
    how can i solve this problem on my compiler picbasic pro 2.4 because i dont have a newer version than 2.4..

Similar Threads

  1. pls help me verify my code not work, why???
    By chai98a in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th January 2010, 09:19
  2. Can't get switch to work
    By JeffnDana in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 4th April 2007, 20:44
  3. DS1307 on fire
    By brid0030 in forum General
    Replies: 6
    Last Post: - 25th November 2006, 02:44
  4. How to set ICD-2 clone to work with PBP?
    By G-R-C in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 20th October 2006, 02:50
  5. Pin RA4 doesn't work
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 0
    Last Post: - 15th July 2004, 12:03

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