issues with 24lc1025


Results 1 to 10 of 10

Threaded View

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


    Did you find this post helpful? Yes | No

    Default

    <IMG SRC="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=1748&stc=1&d=118207160 5">

    In your code you should be able to modify bit3 of your control byte OR you could use 2 different constant
    Code:
    Block0 CON %10100000
    Block1 CON %10101000
    and later you just need to use the according constant
    Code:
    I2CREAD SDA,SCL, Block0, Addr,[YourVar] ' read from Block0
    I2CREAD SDA,SCL, Block1, Addr,[YourVar] ' read from Block1
    <hr>
    You could store the address and the Block in the PIC internal EEPROM (if equipped with) when you turn off the PSU. Battery back-up? Nah, i don't think so.
    http://www.picbasic.co.uk/forum/show...52&postcount=3

    Or it could be possible to detect a Brown-out/Power Down event.
    <hr>
    There's still the option to scan The Whole EEPROM until you reach a specific value or detect a blank cell ($FF).

    But... How long this will need ?
    Attached Images Attached Images  
    Last edited by mister_e; - 17th June 2007 at 10:40.
    Steve

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

Similar Threads

  1. 24lc1025 24lc256 external memory
    By JAY.M in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 23rd October 2010, 07:44
  2. SERIN2 buffer issues...
    By cpayne in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 16th October 2008, 03:49
  3. Solved: notes on annoying little issues
    By Probotics in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 26th May 2008, 20:02
  4. Where should I discuss SD/MMC FAT issues?
    By JD123 in forum General
    Replies: 92
    Last Post: - 2nd April 2008, 21:41
  5. I2C Master Slave issues.
    By cpayne in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 29th March 2008, 19:33

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