<?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[[Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">I'm new to the MySensors scene (and Arduino for that matter).  I seem to be having an issue with the ethernet gateway setup.</p>
<p dir="auto">My setup:</p>
<p dir="auto">Arduino Nano v3 clone<br />
ENC28J60 15/21 ethernet shield<br />
The RF24 radio module.</p>
<p dir="auto">It took me a while to get at least some output on this setup, which is probably due to my lack of experience. I have the system running, but the output is as follows:</p>
<pre><code>0;255;3;0;9;No registration required
0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1
0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSM:RADIO:OK
0;255;3;0;9;TSM:GW MODE
0;255;3;0;9;TSM:READY
IP: 183.4.241.184
</code></pre>
<p dir="auto">This keeps repeating itself over and over again. The leds on the LAN port are blinking and loading up a simple test sketch works fine with this setup. In the gateway sketch however, not so much. It doesn't even seem to use the UP I have configured in the sketch :</p>
<pre><code class="lang-//">#define MY_DEBUG

// Enable and select radio type attached
#define MY_RADIO_NRF24

// When ENC28J60 is connected we have to move CE/CSN pins for NRF radio
#define MY_RF24_CE_PIN 5
#define MY_RF24_CS_PIN 6

// Enable gateway ethernet module type
#define MY_GATEWAY_ENC28J60

// Gateway IP address
#define MY_IP_ADDRESS 10, 20, 1, 124

// The port to keep open on node server mode / or port to contact in client mode
#define MY_PORT 5003

// The MAC address can be anything you want but should be unique on your network.
// Newer boards have a MAC address printed on the underside of the PCB, which you can (optionally) use.
// Note that most of the Ardunio examples use  "DEAD BEEF FEED" for the MAC address.
#define MY_MAC_ADDRESS 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xEF

// Flash leds on rx/tx/err
#define MY_LEDS_BLINKING_FEATURE
// Set blinking period
#define MY_DEFAULT_LED_BLINK_PERIOD 300

// Enable inclusion mode
#define MY_INCLUSION_MODE_FEATURE
// Enable Inclusion mode button on gateway
#define MY_INCLUSION_BUTTON_FEATURE
// Set inclusion mode duration (in seconds)
#define MY_INCLUSION_MODE_DURATION 60
// Digital pin used for inclusion mode button
#define MY_INCLUSION_MODE_BUTTON_PIN  3

#define MY_DEFAULT_ERR_LED_PIN 7  // Error led pin
#define MY_DEFAULT_RX_LED_PIN  8  // Receive led pin
#define MY_DEFAULT_TX_LED_PIN  9  // the PCB, on board LED

#include &lt;SPI.h&gt;
#include &lt;UIPEthernet.h&gt;
#include &lt;MySensors.h&gt;


void setup()
{
}

void loop() {
}
</code></pre>
<p dir="auto">I think this has something to do with the UIPEthernet library, but I'm not sure. I know currently a W5100 is recommended, but I only have a bunch of ENC28J60's, which as far as I can tell, should work too.</p>
<p dir="auto">Anybody able to shed some light onto this ?</p>
]]></description><link>https://forum.mysensors.org/topic/4628/solved-mysensors-2-0-ethernet-gateway-enc28j60-restart-ip-issue</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Jul 2026 08:04:50 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/4628.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Aug 2016 18:31:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Fri, 03 Mar 2017 18:11:25 GMT]]></title><description><![CDATA[<p dir="auto">Hi again</p>
<p dir="auto">I have enc28j60 shield<br />
UNO<br />
Mysensors 2.1.1<br />
avr 1.6.11<br />
and code  above<br />
I was change ip address<br />
BUT no ping<br />
comment debug<br />
and if I comment NRF24<br />
I have ping<br />
Any ideas??</p>
<p dir="auto">Andrey</p>
]]></description><link>https://forum.mysensors.org/post/61268</link><guid isPermaLink="true">https://forum.mysensors.org/post/61268</guid><dc:creator><![CDATA[cadet]]></dc:creator><pubDate>Fri, 03 Mar 2017 18:11:25 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Fri, 03 Mar 2017 09:10:21 GMT]]></title><description><![CDATA[<p dir="auto">Please  provide wiring for this hardware.</p>
<p dir="auto">UNO + enc28-shield + NRF24</p>
<p dir="auto">Andrey</p>
]]></description><link>https://forum.mysensors.org/post/61225</link><guid isPermaLink="true">https://forum.mysensors.org/post/61225</guid><dc:creator><![CDATA[cadet]]></dc:creator><pubDate>Fri, 03 Mar 2017 09:10:21 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Thu, 08 Sep 2016 19:58:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kk02067" aria-label="Profile: kk02067">@<bdi>kk02067</bdi></a> Perfect! ;)</p>
]]></description><link>https://forum.mysensors.org/post/47228</link><guid isPermaLink="true">https://forum.mysensors.org/post/47228</guid><dc:creator><![CDATA[tekka]]></dc:creator><pubDate>Thu, 08 Sep 2016 19:58:56 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Thu, 08 Sep 2016 19:46:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tekka" aria-label="Profile: tekka">@<bdi>tekka</bdi></a> Updated arduino to latest version 1.6.11 and downgraded to boarddefs 1.6.11 and now it seems fixed, at least with softspi for the radio.<br />
I have to try it with hwspi some other day. Have to stop for today.</p>
<p dir="auto">The version of arduino 1.6.9 would not let me downgrade to boarddefs 1.6.11, thats why it did not work when I tryed it before.</p>
<p dir="auto">Thanks for all your help.</p>
]]></description><link>https://forum.mysensors.org/post/47227</link><guid isPermaLink="true">https://forum.mysensors.org/post/47227</guid><dc:creator><![CDATA[kk02067]]></dc:creator><pubDate>Thu, 08 Sep 2016 19:46:39 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Thu, 08 Sep 2016 21:04:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kk02067" aria-label="Profile: kk02067">@<bdi>kk02067</bdi></a> Ok, I rebuilt your setup and could reproduce the rebooting issue. The problem seems AVR board defs &gt; 1.6.11 related, try downgrading to 1.6.11 and comment MY_DEBUG - this is how it works for me:</p>
<p dir="auto">UIPEthernet 1.09<br />
AVR Board defs 1.6.11<br />
Arduino IDE 1.6.11<br />
MySensors 2.0.0</p>
]]></description><link>https://forum.mysensors.org/post/47225</link><guid isPermaLink="true">https://forum.mysensors.org/post/47225</guid><dc:creator><![CDATA[tekka]]></dc:creator><pubDate>Thu, 08 Sep 2016 21:04:33 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Thu, 08 Sep 2016 19:19:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tekka" aria-label="Profile: tekka">@<bdi>tekka</bdi></a> I found a sketch that identify the bootloader when googleing a bit. It reports bootloader as:</p>
<p dir="auto">CRC 2048b @ 0x7800 = 489C<br />
Boot loader: Duemilanove</p>
]]></description><link>https://forum.mysensors.org/post/47223</link><guid isPermaLink="true">https://forum.mysensors.org/post/47223</guid><dc:creator><![CDATA[kk02067]]></dc:creator><pubDate>Thu, 08 Sep 2016 19:19:54 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Thu, 08 Sep 2016 19:17:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kk02067" aria-label="Profile: kk02067">@<bdi>kk02067</bdi></a> The reason why I'm asking is that you got MCUSR=2 using the reset button - optiboot clears MCUSR:</p>
<p dir="auto"><a href="https://github.com/Optiboot/optiboot/blob/master/optiboot/bootloaders/optiboot/optiboot.c#L479" rel="nofollow ugc">https://github.com/Optiboot/optiboot/blob/master/optiboot/bootloaders/optiboot/optiboot.c#L479</a></p>
]]></description><link>https://forum.mysensors.org/post/47222</link><guid isPermaLink="true">https://forum.mysensors.org/post/47222</guid><dc:creator><![CDATA[tekka]]></dc:creator><pubDate>Thu, 08 Sep 2016 19:17:15 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Thu, 08 Sep 2016 19:13:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tekka" aria-label="Profile: tekka">@<bdi>tekka</bdi></a> Don't know. Cheap chinese clone of arduino nano</p>
<p dir="auto">How do I check?<br />
This is what the arduino IDE spits out when uploading to the nano:</p>
<pre><code>avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM6
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
         AVR Part                      : ATmega328P
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PC2
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : Arduino
         Description     : Arduino
         Hardware Version: 2
         Firmware Version: 1.16
         Vtarget         : 0.0 V
         Varef           : 0.0 V
         Oscillator      : Off
         SCK period      : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f
avrdude: reading input file "C:\Users\Tony\AppData\Local\Temp\build12bf64d7a85151b4ee71a15dfecff5f5.tmp/GatewayW5100.ino.hex"
avrdude: writing flash (26964 bytes):

Writing | ################################################## | 100% 7.51s

avrdude: 26964 bytes of flash written
avrdude: verifying flash memory against C:\Users\Tony\AppData\Local\Temp\build12bf64d7a85151b4ee71a15dfecff5f5.tmp/GatewayW5100.ino.hex:
avrdude: load data flash data from input file C:\Users\Tony\AppData\Local\Temp\build12bf64d7a85151b4ee71a15dfecff5f5.tmp/GatewayW5100.ino.hex:
avrdude: input file C:\Users\Tony\AppData\Local\Temp\build12bf64d7a85151b4ee71a15dfecff5f5.tmp/GatewayW5100.ino.hex contains 26964 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 5.58s

avrdude: verifying ...
avrdude: 26964 bytes of flash verified

avrdude done.  Thank you.
</code></pre>
]]></description><link>https://forum.mysensors.org/post/47221</link><guid isPermaLink="true">https://forum.mysensors.org/post/47221</guid><dc:creator><![CDATA[kk02067]]></dc:creator><pubDate>Thu, 08 Sep 2016 19:13:34 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Thu, 08 Sep 2016 18:51:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kk02067" aria-label="Profile: kk02067">@<bdi>kk02067</bdi></a> What bootloader are you running?</p>
]]></description><link>https://forum.mysensors.org/post/47220</link><guid isPermaLink="true">https://forum.mysensors.org/post/47220</guid><dc:creator><![CDATA[tekka]]></dc:creator><pubDate>Thu, 08 Sep 2016 18:51:13 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Thu, 08 Sep 2016 18:42:40 GMT]]></title><description><![CDATA[<p dir="auto">I have just found this thread and are having the exact same problem. Arduino nano and en enc28j60 shield.</p>
<p dir="auto">I don't think its a supply problem.</p>
<p dir="auto">I had to drive the radio with softspi to get that working only to get the "reboot" issue.</p>
<p dir="auto">I put this in the setup section of the sketch to catch whats reseting the mcu:</p>
<pre><code> Serial.println(MCUSR);
 MCUSR=0;
</code></pre>
<p dir="auto">This produces this result:</p>
<pre><code>0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSM:RADIO:OK
0;255;3;0;9;TSM:GW MODE
0;255;3;0;9;TSM:READY
IP: 192.168.0.72
2        &lt;------------ this is when I push the reset button
0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSM:RADIO:OK
0;255;3;0;9;TSM:GW MODE
0;255;3;0;9;TSM:READY
IP: 192.168.0.72
0        &lt;------------  this is the cpu restarting the sketch because of something unknown
0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSM:RADIO:OK
0;255;3;0;9;TSM:GW MODE
0;255;3;0;9;TSM:READY
IP: 192.168.0.72
0
0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSM:RADIO:OK
0;255;3;0;9;TSM:GW MODE
0;255;3;0;9;TSM:READY
IP: 192.168.0.72
0

</code></pre>
<p dir="auto">So it seems its not the mcu thats resets. The mcu either executes the nops inte unused flash space and wraps around to adress $0000 and starts over again, or there is a bug in the mysensors or the uipethernet files.</p>
<p dir="auto">Any thoughts on this?</p>
<p dir="auto">This is the complete sketch,</p>
<pre><code>/**
 * The MySensors Arduino library handles the wireless radio link and protocol
 * between your home built sensors/actuators and HA controller of choice.
 * The sensors forms a self healing radio network with optional repeaters. Each
 * repeater and gateway builds a routing tables in EEPROM which keeps track of the
 * network topology allowing messages to be routed to nodes.
 *
 * Created by Henrik Ekblad &lt;henrik.ekblad@mysensors.org&gt;
 * Copyright (C) 2013-2015 Sensnology AB
 * Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors
 *
 * Documentation: http://www.mysensors.org
 * Support Forum: http://forum.mysensors.org
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * version 2 as published by the Free Software Foundation.
 *
 *******************************
 *
 * REVISION HISTORY
 * Version 1.0 - Henrik EKblad
 * Contribution by a-lurker and Anticimex,
 * Contribution by Norbert Truchsess &lt;norbert.truchsess@t-online.de&gt;
 * Contribution by Tomas Hozza &lt;thozza@gmail.com&gt;
 *
 *
 * DESCRIPTION
 * The EthernetGateway sends data received from sensors to the ethernet link.
 * The gateway also accepts input on ethernet interface, which is then sent out to the radio network.
 *
 * The GW code is designed for Arduino 328p / 16MHz.  ATmega168 does not have enough memory to run this program.
 *
 * LED purposes:
 * - To use the feature, uncomment WITH_LEDS_BLINKING in MyConfig.h
 * - RX (green) - blink fast on radio message recieved. In inclusion mode will blink fast only on presentation recieved
 * - TX (yellow) - blink fast on radio message transmitted. In inclusion mode will blink slowly
 * - ERR (red) - fast blink on error during transmission error or recieve crc error
 *
 * See http://www.mysensors.org/build/ethernet_gateway for wiring instructions.
 *
 */

// Enable debug prints to serial monitor
#define MY_DEBUG 

#define MY_RF24_CHANNEL 1

// Enable and select radio type attached
#define MY_RADIO_NRF24
//#define MY_RADIO_RFM69

// Enable gateway ethernet module type 
#define MY_GATEWAY_ENC28J60

// W5100 Ethernet module SPI enable (optional if using a shield/module that manages SPI_EN signal)
//#define MY_W5100_SPI_EN 4  

// Enable Soft SPI for NRF radio (note different radio wiring is required)
// The W5100 ethernet module seems to have a hard time co-operate with 
// radio on the same spi bus.

  #define MY_SOFTSPI
  #define MY_SOFT_SPI_SCK_PIN 7
  #define MY_SOFT_SPI_MISO_PIN 8
  #define MY_SOFT_SPI_MOSI_PIN 9
  

// When W5100 is connected we have to move CE/CSN pins for NRF radio
#ifndef MY_RF24_CE_PIN 
  #define MY_RF24_CE_PIN 5
#endif
#ifndef MY_RF24_CS_PIN 
  #define MY_RF24_CS_PIN 6
#endif

// Enable to UDP          
//#define MY_USE_UDP

#define MY_IP_ADDRESS 192,168,0,72   // If this is disabled, DHCP is used to retrieve address
// Renewal period if using DHCP
//#define MY_IP_RENEWAL_INTERVAL 60000
// The port to keep open on node server mode / or port to contact in client mode
#define MY_PORT 5003      

// Controller ip address. Enables client mode (default is "server" mode). 
// Also enable this if MY_USE_UDP is used and you want sensor data sent somewhere. 
//#define MY_CONTROLLER_IP_ADDRESS 192, 168, 178, 254   
 
// The MAC address can be anything you want but should be unique on your network.
// Newer boards have a MAC address printed on the underside of the PCB, which you can (optionally) use.
// Note that most of the Ardunio examples use  "DEAD BEEF FEED" for the MAC address.
#define MY_MAC_ADDRESS 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xDD

// Flash leds on rx/tx/err
//#define MY_LEDS_BLINKING_FEATURE
// Set blinking period
//#define MY_DEFAULT_LED_BLINK_PERIOD 300

// Enable inclusion mode
//#define MY_INCLUSION_MODE_FEATURE
// Enable Inclusion mode button on gateway
//#define MY_INCLUSION_BUTTON_FEATURE
// Set inclusion mode duration (in seconds)
//#define MY_INCLUSION_MODE_DURATION 60 
// Digital pin used for inclusion mode button
//#define MY_INCLUSION_MODE_BUTTON_PIN  3 

// Uncomment to override default HW configurations
//#define MY_DEFAULT_ERR_LED_PIN 7  // Error led pin
//#define MY_DEFAULT_RX_LED_PIN  8  // Receive led pin
//#define MY_DEFAULT_TX_LED_PIN  9  // the PCB, on board LED

#include &lt;SPI.h&gt;

#if defined(MY_USE_UDP)
  #include &lt;EthernetUdp.h&gt;
#endif
//#include &lt;Ethernet.h&gt;
#include &lt;UIPEthernet.h&gt;
#include &lt;MySensors.h&gt;


void setup()
{
  Serial.println(MCUSR);
  MCUSR=0;
}

void loop() {
  
}
</code></pre>
]]></description><link>https://forum.mysensors.org/post/47218</link><guid isPermaLink="true">https://forum.mysensors.org/post/47218</guid><dc:creator><![CDATA[kk02067]]></dc:creator><pubDate>Thu, 08 Sep 2016 18:42:40 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Thu, 08 Sep 2016 16:34:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/intellium" aria-label="Profile: intellium">@<bdi>intellium</bdi></a> said:</p>
<blockquote>
<p dir="auto">seems that although the serial gateway works longer, it eventually also suffers the same issue</p>
</blockquote>
<p dir="auto">Getting into a 'reboot loop' and 'no longer responding' are probably two different things. We should be careful not to mix things up!</p>
]]></description><link>https://forum.mysensors.org/post/47213</link><guid isPermaLink="true">https://forum.mysensors.org/post/47213</guid><dc:creator><![CDATA[Yveaux]]></dc:creator><pubDate>Thu, 08 Sep 2016 16:34:53 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Thu, 08 Sep 2016 13:45:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sundberg84" aria-label="Profile: sundberg84">@<bdi>sundberg84</bdi></a> I've tried different power supplies already with the same problem.</p>
<p dir="auto">I'll source some more components from different shops and will build another gateway to test. Will report back once done.</p>
]]></description><link>https://forum.mysensors.org/post/47209</link><guid isPermaLink="true">https://forum.mysensors.org/post/47209</guid><dc:creator><![CDATA[intellium]]></dc:creator><pubDate>Thu, 08 Sep 2016 13:45:05 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Thu, 08 Sep 2016 13:43:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/intellium" aria-label="Profile: intellium">@<bdi>intellium</bdi></a> - as said before, I strongly as well suspect power issues. I would try out different power supplies and try changing out different parts in your setup.</p>
]]></description><link>https://forum.mysensors.org/post/47208</link><guid isPermaLink="true">https://forum.mysensors.org/post/47208</guid><dc:creator><![CDATA[sundberg84]]></dc:creator><pubDate>Thu, 08 Sep 2016 13:43:20 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Thu, 08 Sep 2016 13:23:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tekka" aria-label="Profile: tekka">@<bdi>tekka</bdi></a> After my original report that the serial gateway worked through the night, I have had to reset it every ~24 hours. Somewhere around that timeframe, the serial gateway just doesn't respond anymore. Restarting the controller doesn't help. When I reset the serial gateway, it instantly works again and continues to do so for around 24 hours. So it seems that although the serial gateway works longer, it eventually also suffers the same issue.... Is this some kind of memory leak perhaps ?</p>
]]></description><link>https://forum.mysensors.org/post/47206</link><guid isPermaLink="true">https://forum.mysensors.org/post/47206</guid><dc:creator><![CDATA[intellium]]></dc:creator><pubDate>Thu, 08 Sep 2016 13:23:41 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Tue, 30 Aug 2016 16:47:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/maks_k" aria-label="Profile: Maks_K">@<bdi>Maks_K</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/gizmocuz" aria-label="Profile: GizMoCuz">@<bdi>GizMoCuz</bdi></a> see here for a solution: <a href="https://forum.mysensors.org/topic/4680/mysensors-2-0-ethernet-gateway-atmega-w5100-restart-all-time/3">https://forum.mysensors.org/topic/4680/mysensors-2-0-ethernet-gateway-atmega-w5100-restart-all-time/3</a></p>
]]></description><link>https://forum.mysensors.org/post/46584</link><guid isPermaLink="true">https://forum.mysensors.org/post/46584</guid><dc:creator><![CDATA[tekka]]></dc:creator><pubDate>Tue, 30 Aug 2016 16:47:11 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Tue, 30 Aug 2016 12:16:29 GMT]]></title><description><![CDATA[<p dir="auto">I have the same problem:<br />
Mega 2560+ w5100<br />
Lib 1.5.4  all good<br />
Lib 2.0  restart again  and again</p>
]]></description><link>https://forum.mysensors.org/post/46567</link><guid isPermaLink="true">https://forum.mysensors.org/post/46567</guid><dc:creator><![CDATA[Maks_K]]></dc:creator><pubDate>Tue, 30 Aug 2016 12:16:29 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Sun, 28 Aug 2016 21:41:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gizmocuz" aria-label="Profile: GizMoCuz">@<bdi>GizMoCuz</bdi></a> I cannot reproduce your observation with a UNO and W5100 shield. How about power-supply, SPI settings/pins in yor setup?</p>
]]></description><link>https://forum.mysensors.org/post/46472</link><guid isPermaLink="true">https://forum.mysensors.org/post/46472</guid><dc:creator><![CDATA[tekka]]></dc:creator><pubDate>Sun, 28 Aug 2016 21:41:48 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Sun, 28 Aug 2016 09:02:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tekka" aria-label="Profile: tekka">@<bdi>tekka</bdi></a> said:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gizmocuz" aria-label="Profile: GizMoCuz">@<bdi>GizMoCuz</bdi></a> did you uncomment</p>
<pre><code>#define MY_DEBUG
</code></pre>
<p dir="auto">as suggested above?</p>
</blockquote>
<p dir="auto">Yep, see three posts up (If i disable debug, it is logging the IP Address over and over again (each second), connection is reset at that moment)</p>
<p dir="auto">And unfortunately does not explain why version 1.5 is running (but missing important features/fixes)</p>
]]></description><link>https://forum.mysensors.org/post/46402</link><guid isPermaLink="true">https://forum.mysensors.org/post/46402</guid><dc:creator><![CDATA[GizMoCuz]]></dc:creator><pubDate>Sun, 28 Aug 2016 09:02:19 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Sun, 28 Aug 2016 08:32:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gizmocuz" aria-label="Profile: GizMoCuz">@<bdi>GizMoCuz</bdi></a> did you uncomment</p>
<pre><code>#define MY_DEBUG
</code></pre>
<p dir="auto">as suggested above?</p>
]]></description><link>https://forum.mysensors.org/post/46399</link><guid isPermaLink="true">https://forum.mysensors.org/post/46399</guid><dc:creator><![CDATA[tekka]]></dc:creator><pubDate>Sun, 28 Aug 2016 08:32:00 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Sun, 28 Aug 2016 06:39:26 GMT]]></title><description><![CDATA[<p dir="auto">The sketch is 99,999% the same as 'GatewayW5100' except i changed:</p>
<pre><code>#define MY_IP_ADDRESS 192,168,0,50 
</code></pre>
<p dir="auto">The default Arduino ethernet server examples work perfectly</p>
<p dir="auto">Thanks in advance !</p>
]]></description><link>https://forum.mysensors.org/post/46393</link><guid isPermaLink="true">https://forum.mysensors.org/post/46393</guid><dc:creator><![CDATA[GizMoCuz]]></dc:creator><pubDate>Sun, 28 Aug 2016 06:39:26 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Sat, 27 Aug 2016 14:58:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gizmocuz" aria-label="Profile: GizMoCuz">@<bdi>GizMoCuz</bdi></a> Please upload your sketch and describe your configuration, I will try to reproduce with my HW.</p>
]]></description><link>https://forum.mysensors.org/post/46369</link><guid isPermaLink="true">https://forum.mysensors.org/post/46369</guid><dc:creator><![CDATA[tekka]]></dc:creator><pubDate>Sat, 27 Aug 2016 14:58:44 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Sat, 27 Aug 2016 14:52:19 GMT]]></title><description><![CDATA[<p dir="auto">No, the Node is resetting itself with the messages in the first post.<br />
If i disable debug, it is logging the IP Address over and over again (each second), connection is reset at that moment</p>
]]></description><link>https://forum.mysensors.org/post/46368</link><guid isPermaLink="true">https://forum.mysensors.org/post/46368</guid><dc:creator><![CDATA[GizMoCuz]]></dc:creator><pubDate>Sat, 27 Aug 2016 14:52:19 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Sat, 27 Aug 2016 14:44:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gizmocuz" aria-label="Profile: GizMoCuz">@<bdi>GizMoCuz</bdi></a> You mean W5100 freezes and MCU remains responsive? SoftSPI?</p>
]]></description><link>https://forum.mysensors.org/post/46367</link><guid isPermaLink="true">https://forum.mysensors.org/post/46367</guid><dc:creator><![CDATA[tekka]]></dc:creator><pubDate>Sat, 27 Aug 2016 14:44:18 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart &#x2F; IP issue on Sat, 27 Aug 2016 14:31:07 GMT]]></title><description><![CDATA[<p dir="auto">Having the exact issue as the OP, but then with a W5100 shield and a NRF24.<br />
Reverting back to MySensors 1.5.4 solves the problem.<br />
Now i was on a beta of 2.0 that i uploaded to the gateway quite some time ago, and this worked without issues<br />
Something has changed in the final 2.0 release... and i want to revert that change ;)</p>
]]></description><link>https://forum.mysensors.org/post/46366</link><guid isPermaLink="true">https://forum.mysensors.org/post/46366</guid><dc:creator><![CDATA[GizMoCuz]]></dc:creator><pubDate>Sat, 27 Aug 2016 14:31:07 GMT</pubDate></item></channel></rss>