Help 24LC 24C eeprom


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2008
    Posts
    4

    Default Help 24LC 24C eeprom

    Hi
    I'm 18f4620 with read and write 24lcxx I2C eeprom but I not read and write 24cxxx eeprom .
    And I'm 18f2550 with read and write 24cxx I2C eeprom but I not read and write 24lcxx eeprom .

    Help my please

    my 18f4620 code

    INCLUDE "MODEDEFS.BAS"
    DEFINE OSC 20
    DEFINE LOADER_USED 1
    DEFINE I2C_SLOW 1

    model VAR BYTE[10]

    basla:

    I2CREAD EPDATA,EPCLK,$A0,10,[model[0]]
    Pause 10
    I2CREAD EPDATA,EPCLK,$A0,11,[model[1]]
    Pause 10

    goto basla

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    How do you know you can't read with that code?
    There's no output to anything! No LCD, no LEDs, no DEBUG output, no serial output, no nothing!

  3. #3
    Join Date
    Sep 2008
    Posts
    4


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    How do you know you can't read with that code?
    There's no output to anything! No LCD, no LEDs, no DEBUG output, no serial output, no nothing!
    my problem is 100khz , 400khz and 1mhz eeprom, I read and write 100khz eeprom with 18f4620 , I'm not read and write 400khz and 1 mhz eeprom

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by ikselsis View Post
    my problem is 100khz , 400khz and 1mhz eeprom, I read and write 100khz eeprom with 18f4620 , I'm not read and write 400khz and 1 mhz eeprom
    Well, again, can't see any code, so really can't tell if something else is messing with your eeprom.
    What value pullups do you have on clock and data?

  5. #5
    Join Date
    Sep 2008
    Posts
    4


    Did you find this post helpful? Yes | No

    Default

    my pbp version is 2.46 become the problem here ?

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by ikselsis View Post
    my pbp version is 2.46 become the problem here ?
    Hmmm...don't see that question above...
    However, I do see a question asking something about pullup values...and something about showing some code.
    I don't know...I could be seeing things again...

Similar Threads

  1. Can't read sequential addresses in external EEPROM
    By tjkelly in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th February 2010, 14:46
  2. How to define constants that specify eeprom addresses
    By DwayneR in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 8th December 2009, 04:07
  3. Problem with I2C EEPROM addressing
    By Atom058 in forum General
    Replies: 14
    Last Post: - 3rd November 2009, 03:17
  4. How to write/read strings EEPROM/LCD
    By g-hoot in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 11th February 2007, 06:26
  5. word variable to 25lc640
    By TONIGALEA in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th July 2004, 19:59

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