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

    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

  2. #2
    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 ...
    _______________________________________________



  3. #3
    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

  4. #4
    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

  5. #5
    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..

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


    Did you find this post helpful? Yes | No

    Default

    Version 2.40 is pretty old. If for some reason you can't upgrade to the latest
    version, then you might try contacting MeLabs directly to see what changes
    they made to the 18F I2C library routines.

    Look here http://www.microengineeringlabs.com/...pgrade.htm#pbp

    They've had a LOT of updates since v2.40 for the 18F series. Well worth the
    few bucks for an upgrade if you're using 18F parts.
    Regards,

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

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


    Did you find this post helpful? Yes | No

    Default

    microcam,

    this is probably not what you wanted to hear,
    but best would be to upgrade to PBP 2.46
    Last edited by NavMicroSystems; - 7th July 2005 at 00:15.
    regards

    Ralph

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



  8. #8
    microkam's Avatar
    microkam Guest


    Did you find this post helpful? Yes | No

    Default

    is this update free ,can i update to 2.46 free

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