<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[OSError: [Errno 116] ETIMEDOUT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have a Core 2 v1.1 running UIFlow2.0v2.0.7CORE2 Firmware and programing over UIFlow2 in Chrome. I have a PaHUB connected to the Core with a Grove cable. I keep getting the error code below even though everything is connected. It did work for about 3 hours yesterday until I unplugged the core from my computer. Now I'm getting the error again. The program hasn't changed between when it worked and when it didn't work. I've tried swapping the grove cable and that hasn't helped. How would you suggest resolving the error?</p>
<pre><code>MicroPython v1.22.0-dirty on 2024-06-06; M5STACK Core2 with ESP32(SPIRAM)
Type "help()" for more information.
&gt;&gt;&gt; [INFO] Syncing resources...
[WARN] WiFi not connected.
[WARN] quit sync.
Traceback (most recent call last):
  File "main.py", line 486, in &lt;module&gt;
  File "main.py", line 459, in setup
  File "main.py", line 85, in Initialize_IO
  File "unit/extio2.py", line 1, in set_config_mode
  File "unit/extio2.py", line 1, in _write_u8
  File "unit/pahub.py", line 1, in writeto_mem
  File "unit/pahub.py", line 1, in select_channel
OSError: [Errno 116] ETIMEDOUT```</code></pre>
]]></description><link>https://community.m5stack.com/topic/6567/oserror-errno-116-etimedout</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Mar 2026 00:50:29 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6567.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Jun 2024 16:29:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to OSError: [Errno 116] ETIMEDOUT on Mon, 19 Aug 2024 12:19:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/4037">@felmue</a> Felix, thanks for your response.<br />
This indeed works.<br />
Trying to read/write some other registers (digital in) no luck yet, but at least there is some progress.<br />
Thanks again.</p>
]]></description><link>https://community.m5stack.com/post/26159</link><guid isPermaLink="true">https://community.m5stack.com/post/26159</guid><dc:creator><![CDATA[reverbrick]]></dc:creator><pubDate>Mon, 19 Aug 2024 12:19:20 GMT</pubDate></item><item><title><![CDATA[Reply to OSError: [Errno 116] ETIMEDOUT on Tue, 13 Aug 2024 19:31:03 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/9219">@reverbrick</a></p>
<p dir="auto">it looks like <code>i2c.readfrom_mem()</code> has some issues. Below code works for me:</p>
<pre><code>from machine import SoftI2C, Pin
myReg = bytearray(1)
myBuf = bytearray(1)
DEFAULT_ADDR = const(0x45)
FW_VERSION_REG = const(0xFE)
i2c =SoftI2C(scl=Pin(1), sda=Pin(2), freq=400000)
#print(i2c.readfrom_mem(DEFAULT_ADDR, FW_VERSION_REG, 1))
myReg[0] = FW_VERSION_REG
i2c.writeto(DEFAULT_ADDR, myReg, True) # set register to read from
i2c.readfrom_into(DEFAULT_ADDR, myBuf, True) # read FW byte
print(myBuf)
</code></pre>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/26073</link><guid isPermaLink="true">https://community.m5stack.com/post/26073</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Tue, 13 Aug 2024 19:31:03 GMT</pubDate></item><item><title><![CDATA[Reply to OSError: [Errno 116] ETIMEDOUT on Tue, 13 Aug 2024 09:44:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/126414">@ggong</a> Hello, did you manage to get it working?? I am pulling my hair out as all M5 products were working straight out of box.<br />
My setup is Atom Lite running freshly built S3 variant of micropython. I am getting ETIMEDOUT each time. Example code:</p>
<pre><code>from machine import SoftI2C, Pin
DEFAULT_ADDR = const(0x45)
FW_VERSION_REG = const(0xFE)
i2c =SoftI2C(scl=Pin(1), sda=Pin(2), freq=400000
print(i2c.readfrom_mem(DEFAULT_ADDR, FW_VERSION_REG, 1))
</code></pre>
<p dir="auto">I'll appreciate any help.<br />
DG</p>
]]></description><link>https://community.m5stack.com/post/26068</link><guid isPermaLink="true">https://community.m5stack.com/post/26068</guid><dc:creator><![CDATA[reverbrick]]></dc:creator><pubDate>Tue, 13 Aug 2024 09:44:39 GMT</pubDate></item></channel></rss>