Skip to content

Why DS2506_EEPROM.ino can't emulate more than 574 bytes of data? #108

Description

@saberxp

Hi all,
I'm trying to emulate a DS2505 and fill its eeprom with 795 bytes, I'm using arduino IDE 2 and arduino UNO board
The master is a medical machine wich use "search" command to find 2 onewire eeproms DS2505 and DS2430A, then it use "match" command many times to select the DS2505 and read 795 bytes by blocs, finally it stops reading by a reset pulse to continu with the DS2430A.
The real chip DS2505 is dead but I know its content, my purpose is to replace it with arduino board
If I fill the table mem_dummy[] with 574 bytes or less everything works fine, if I use a little bit more memory, the slave respond with wrong family code and data, and with 795 bytes, the slave won't work at all!

This is what I have changed for the configuration:
image
"setup OneWire" give the following error : 'Setup' was not declared in this scope Setup OneWire, so it is commented
image
I have commented many commands, so tell me if I have wrong
In DS2506.h, only MEM_SISE_PROPOSE is changed :
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions