GatewayW5100 - unable to get working w/ v2.0.0



  • Everything has been working rock solid with v1.5 on VeraPlus U17. However, I am not having success with v2.0.0 and not sure what else to check or what I might be missing. I've been using MySensors successfully since 2013 and typically able to troubleshoot problems on my own, but could use some help.

    The GW is wired to use the Soft SPI and have double checked my wiring against the documentation, but then again it all works fine with v1.5.

    Below is the serial output for the W5100 ethernet GW in server mode. The Arduino Uno is restarting continually. Nothing shows in the the log file on the Vera (LuaUPnP.log).

    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.x.x
    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.x.x
    
        .... just repeats
    

    When configuring the W5100 ethernet GW in client mode I am able to get output in the serial console, but still nothing at the VeraPlus or in the LuaUPnP.log file. Sensor 6 is running v2.0.0 as well.

    // 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, x, x   
    
    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.x.x
    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;TSP:MSG:READ 6-6-0 s=1,c=1,t=0,pt=7,l=5,sg=0:80.2
    0;255;3;0;9;TSP:SANCHK:OK
    

    Any help or suggestions are greatly appreciated.

    Regards,
    Joe



  • Turns out there's something in Arduino IDE v1.6.10 that's causing the problem I was experiencing. The GW is working after compiling and uploading the sketch with Arduino IDE v1.6.7.

    The problem is repeatable w/ Arduino IDE 1.6.10.

    Joe



  • I've also just experienced this... Rolling back to 1.6.7 now to test.



  • Had the same issue with both 1.6.9 and 1.6.10.
    1.6.8 works ok for me.



  • I'm running 1.6.9 and it works for me



  • The problem is repeatable w/ Arduino IDE 1.6.12.
    Works fine with 1.6.5

    Does anybody could explain why server mode gateway restarting with newer Arduino IDE? Client mode is not recognized by Domoticz.



  • This issue is not solved - nobody gave any other solution than try with an older version..
    I still have this problem with Arduino IDE 1.6.7 as well with 1.6.12.
    Reverting to an older IDE is not a solution, merely a temporary work-around.
    Is there a library problem?


  • Mod

    @Michiel-van-der-Wulp You are correct this is a workaround, not a real solution.
    However, the issue introduced in 1.6.12 is caused by an update of the compiler included with the Arduino environment, and thus outside the reach of MySensors.

    We reported the bug, it has been fixed, but not yet included in the Arduino release.

    Until this fix is included, all known reboot-related issues were resolved by reverting the Arduino board package (ref: https://forum.mysensors.org/topic/4680/mysensors-2-0-ethernet-gateway-atmega-w5100-restart-all-time/3)

    If this does not solve your particular case, something else is wrong that sould be looked into.



  • @Michiel-van-der-Wulp

    Agreed - updated the subject by removing the "solved"




Log in to reply
 

Suggested Topics

61
Online

11.4k
Users

11.1k
Topics

112.6k
Posts