orgua / OneWireHub

OneWire slave device emulator
GNU General Public License v3.0
343 stars 86 forks source link

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

Open saberxp opened 2 years ago

saberxp commented 2 years ago

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

saberxp commented 2 years ago

UPDATE : I still have the same issue with arduino uno and nano, but arduino mega 2560 and ESP-01 work fine, thanks very much for this library Just I'am wordering if wifi is activated or not ESP-01 with this firmware? If yes, how to disable it?