ConnectOne and external EEPROM


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default Re: ConnectOne and external EEPROM

    361 bytes. And that was a small example...
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Dec 2005
    Posts
    1,073

    Default Re: ConnectOne and external EEPROM

    Quote Originally Posted by mackrackit View Post
    361 bytes. And that was a small example...
    That's a pretty good trade-off; 361 bytes of EEPROM saving 2350 bytes of program space. I2C EEPROM is inexpensive even for 128KB. I haven't analyzed your code but suspect you could save even more by wasting some EEPROM - using fixed length records and accessing them sequentially.

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default Re: ConnectOne and external EEPROM

    I thought about that but was not sure how the Connect One would like it. Being a little short on time I just did what I knew would work for the sample.

    There is always room for improvement.
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Dec 2005
    Posts
    1,073

    Default Re: ConnectOne and external EEPROM

    Perhaps, store a length byte at the start of the strings?

    But, as is, I think the EEPROM achieves our goal of reducing the PBP code burden. Others might have even better ideas.
    Last edited by dhouston; - 22nd June 2011 at 21:47.

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default Re: ConnectOne and external EEPROM

    Perhaps, store a length byte at the start of the strings?
    It would be cool if the I2C command had "WAIT"...
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Dec 2005
    Posts
    1,073

    Default Re: ConnectOne and external EEPROM

    Quote Originally Posted by mackrackit View Post
    It would be cool if the I2C command had "WAIT"...
    Maybe Darrel can give you a register or something where you can stick WAIT.

  7. #7
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924

    Default Re: ConnectOne and external EEPROM

    Or a nice small ASM routine to parse...
    Dave
    Always wear safety glasses while programming.

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