<?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[Wipy 2.0 machine.reset() failing]]></title><description><![CDATA[<p dir="auto">I have a wipy 2.0 and the expansion board. I''m powering it with a 5V usb to the expansion board and nothing else connected. I'm logging in over my home router and able to access the device with no problems. My issue is that when I issue a machine.reset() command the wipy locks up and the heartbeat led turns blue and is on continuously. I can't reconnect over wifi and the only way I've found to recover is power cycle or hit the on board reset switch. I've tried reflashing the firmware and I've removed everything except an empty <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow">main.py</a> and my <a href="http://boot.py" target="_blank" rel="noopener noreferrer nofollow">boot.py</a> file which contains the minimum code to boot the device and connect to wifi. Does anyone have any ideas as to what could be causing this?</p>
<p dir="auto"><a href="http://boot.py" target="_blank" rel="noopener noreferrer nofollow">boot.py</a> in case it's helpful:</p>
<p dir="auto">from network import WLAN<br />
import machine</p>
<p dir="auto">wlan = WLAN()</p>
<p dir="auto">if machine.reset_cause() != machine.SOFT_RESET:<br />
wlan.init(mode=WLAN.STA)<br />
wlan.ifconfig(config=('192.168.1.105', '255.255.255.0', '192.168.1.1', '8.8.8.8'))</p>
<p dir="auto">if not wlan.isconnected():<br />
wlan.connect('MyWifi', auth=(WLAN.WPA2, 'MyWifiPassword'), timeout=5000)</p>
<p dir="auto">while not wlan.isconnected():<br />
machine.idle()</p>
]]></description><link>https://forum.pycom.io/topic/1960/wipy-2-0-machine-reset-failing</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 21:15:23 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/1960.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 15 Oct 2017 14:10:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Wipy 2.0 machine.reset() failing on Sun, 15 Oct 2017 14:10:07 GMT]]></title><description><![CDATA[<p dir="auto">I have a wipy 2.0 and the expansion board. I''m powering it with a 5V usb to the expansion board and nothing else connected. I'm logging in over my home router and able to access the device with no problems. My issue is that when I issue a machine.reset() command the wipy locks up and the heartbeat led turns blue and is on continuously. I can't reconnect over wifi and the only way I've found to recover is power cycle or hit the on board reset switch. I've tried reflashing the firmware and I've removed everything except an empty <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow">main.py</a> and my <a href="http://boot.py" target="_blank" rel="noopener noreferrer nofollow">boot.py</a> file which contains the minimum code to boot the device and connect to wifi. Does anyone have any ideas as to what could be causing this?</p>
<p dir="auto"><a href="http://boot.py" target="_blank" rel="noopener noreferrer nofollow">boot.py</a> in case it's helpful:</p>
<p dir="auto">from network import WLAN<br />
import machine</p>
<p dir="auto">wlan = WLAN()</p>
<p dir="auto">if machine.reset_cause() != machine.SOFT_RESET:<br />
wlan.init(mode=WLAN.STA)<br />
wlan.ifconfig(config=('192.168.1.105', '255.255.255.0', '192.168.1.1', '8.8.8.8'))</p>
<p dir="auto">if not wlan.isconnected():<br />
wlan.connect('MyWifi', auth=(WLAN.WPA2, 'MyWifiPassword'), timeout=5000)</p>
<p dir="auto">while not wlan.isconnected():<br />
machine.idle()</p>
]]></description><link>https://forum.pycom.io/post/11834</link><guid isPermaLink="true">https://forum.pycom.io/post/11834</guid><dc:creator><![CDATA[KevinGrumble]]></dc:creator><pubDate>Sun, 15 Oct 2017 14:10:07 GMT</pubDate></item></channel></rss>