# EEPROM loop problem

**URL:** <https://forum.xod.io/t/eeprom-loop-problem/6804>\
**Category:** Uncategorized\
**Created:** [February 23, 2024, 4:08am UTC](https://forum.xod.io/t/eeprom-loop-problem/6804 "2024-02-23T04:08:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![arduinojonas](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@arduinojonas](https://forum.xod.io/u/arduinojonas)\
**Post date:** [February 23, 2024, 4:08am UTC](https://forum.xod.io/t/eeprom-loop-problem/6804/1 "2024-02-23T04:08:03Z")

</div>

Hi to all, I have a problem with `gamer24/ext-eeprom-rw-node`library, all nodes I try to use have same result: loop.  
Can anyone help?  
Thank you.

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [February 23, 2024, 3:46pm UTC](https://forum.xod.io/t/eeprom-loop-problem/6804/2 "2024-02-23T15:46:51Z")

</div>

All those nodes need a pulse to activate. Did you set that pin to loop? How do you know the nodes are looping? How are you using them? There is not much we can do to help with the little information you provided.

---

<div class="post-metadata">

**Author:** ![arduinojonas](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@arduinojonas](https://forum.xod.io/u/arduinojonas)\
**Post date:** [February 23, 2024, 4:18pm UTC](https://forum.xod.io/t/eeprom-loop-problem/6804/3 "2024-02-23T16:18:20Z")

</div>

![obrázok](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/b/befd17520414004d7497c21599bddbc2a680159c.png)  
See prntscr, I have try to simulate this way. I hope Im just forget somethink. If yo see any problem on screen pls. let me know, I will by happy to use this node.  
I have been trying node by node /eeprom-read1b, eeprom-read2b atc…/ when was arduino conected, also disconected with same result.

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [February 23, 2024, 6:21pm UTC](https://forum.xod.io/t/eeprom-loop-problem/6804/4 "2024-02-23T18:21:03Z")

</div>

Yup. Looks like the library does have loops, so it is not going to work without modification. Any lines running from an output to an input on a node higher in the patch need a ‘defer’ node added. For example, eeprom-read-1byte-address has links from read-byte-DONE\>gate-IN and count-OUT\>greater-IN2 that need defer nodes added.

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/9/9f2a79032bbad512298f04a4617954189bee1f87.png)  
You could try creating your own copy of the library to add the defer nodes, but realize if library is old enough to have this problem, there could be other issues that might be harder to fix. If there is another library that works, I suggest just using it.

---

<div class="post-metadata">

**Author:** ![arduinojonas](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@arduinojonas](https://forum.xod.io/u/arduinojonas)\
**Post date:** [February 23, 2024, 7:17pm UTC](https://forum.xod.io/t/eeprom-loop-problem/6804/5 "2024-02-23T19:17:12Z")

</div>

![obrázok](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/a/ac0ca99402d7bb7139be69e065b53bdfe851cc28.png)  
all ready try but same result, I allready try all I can get, but actualy there was only one eepro node for ext eeprom.  
If you have know any other library with, pls let me know.

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [February 23, 2024, 7:58pm UTC](https://forum.xod.io/t/eeprom-loop-problem/6804/6 "2024-02-23T19:58:48Z")

</div>

You also need a defer node between count & greater nodes.

If you still get loop errors, you may need to open each of the nodes on that page & check for additional loops.

---

<div class="post-metadata">

**Author:** ![arduinojonas](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@arduinojonas](https://forum.xod.io/u/arduinojonas)\
**Post date:** [February 25, 2024, 4:20am UTC](https://forum.xod.io/t/eeprom-loop-problem/6804/7 "2024-02-25T04:20:09Z")

</div>

![obrázok](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/a/af2e14187844d258b3f8836570097df22674f095.png)  
Here We go, now We GO :-). Thank You very much.  
 ![obrázok](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/e/e721031ccac2d76b9609c8486251695d16896e67.png)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [February 27, 2024, 4:20am UTC](https://forum.xod.io/t/eeprom-loop-problem/6804/8 "2024-02-27T04:20:43Z")

</div>

Closed on February 27, 2024, 4:20am UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
