issues with 24lc1025


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    johnmiller, (HINT), Use the page write mode as this will increase the available individual data points you can access. I currently use 2 of them for a total of over 2m bits in my TempTracker fishing accessory to log data at 1 second intervals with 2047 records of 128 bytes in page write mode. They work flawlesly. You might want to use page write mode instead of individual location reads and writes as this speeds up the transfer speed during write mode.
    Dave Purola,
    N8NTA

  2. #2
    Join Date
    May 2007
    Posts
    17


    Did you find this post helpful? Yes | No

    Default

    Thanks mister_e, that worked!

    Dave, I tried to write data to the device using page write mode and it works first time, but when I write to it a second time it just overwrites some data. Here is how I write to it:
    Code:
    var SerData byte [80]
    I2CWRITE SDApin, SCLpin, ControlByte, i2cAddress, [str SerData\80]
    i2cAddress = i2cAddress + 80
    any thoughts on this one?

    I found the same problem here: http://www.picbasic.co.uk/forum/showthread.php?t=347 but nobody posted any response
    Cheers

    PS: I think I know why (after reading some on the internet) and now instead of [str SerData\80] I use 128 (since I read that it overwrites that page with the new contents).
    Last edited by johnmiller; - 20th June 2007 at 03:28. Reason: Maybe that's why...

  3. #3
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    johnmiller, Yes it will overwrite the locations because it is only writing 80 bytes instead if 128 bytes before you are changing the address.....
    Dave Purola,
    N8NTA

  4. #4
    Join Date
    Feb 2008
    Posts
    5


    Did you find this post helpful? Yes | No

    Default

    Hello everyone,
    I have the same problem with a 24lc1025, used as a data logger with a 16f876.
    It writes and reads fine on the first block, but won't write anything on the second block.
    Does anyone have any idea ?

  5. #5
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    novino, Let's see some code......

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