Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. MySensors 2.0 Ethernet gateway Atmega+W5100) restart all time

MySensors 2.0 Ethernet gateway Atmega+W5100) restart all time

Scheduled Pinned Locked Moved Troubleshooting
9 Posts 7 Posters 6.6k Views 9 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Maks_K
    wrote on last edited by
    #1

    MySensors 2.0 Ethernet gateway Atmega+W5100) restart all time
    Mega 2560+ w5100
    Lib 1.5.4 all good
    Lib 2.0 restart again and again
    It start ok
    but then restart all time :

    IP: 192.168.1.200
    iBoardPro ok...Ђ

    sundberg84S tekkaT 2 Replies Last reply
    0
    • M Maks_K

      MySensors 2.0 Ethernet gateway Atmega+W5100) restart all time
      Mega 2560+ w5100
      Lib 1.5.4 all good
      Lib 2.0 restart again and again
      It start ok
      but then restart all time :

      IP: 192.168.1.200
      iBoardPro ok...Ђ

      sundberg84S Offline
      sundberg84S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by sundberg84
      #2

      @Maks_K - we talked about this here: https://forum.mysensors.org/topic/4673/which-arduino-ide-version/2 some hours ago.

      Someone mentioned that: "there is an issue with the avr compiler used in all 1.6.x versions, mysensors 2.0.x and debug enabled. This combination causes resets on w5100 gateways." and tbowmo wroge "Its a bug in the compiler. Which should be fixed in a newer version of gcc. tekka did some investigations together with arduino folks on this. So I think he has more info"

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      1 Reply Last reply
      0
      • M Maks_K

        MySensors 2.0 Ethernet gateway Atmega+W5100) restart all time
        Mega 2560+ w5100
        Lib 1.5.4 all good
        Lib 2.0 restart again and again
        It start ok
        but then restart all time :

        IP: 192.168.1.200
        iBoardPro ok...Ђ

        tekkaT Offline
        tekkaT Offline
        tekka
        Admin
        wrote on last edited by tekka
        #3

        @Maks_K @GizMoCuz I could reproduce the issue with W5100 - the issue is related to the recently updated AVR board definitions, more precisely, the Arduino Ethernet library.

        If you are running AVR board defs > 1.6.11, downgrade to 1.6.11 and the issue should be solved.

        1 Reply Last reply
        2
        • GizMoCuzG Offline
          GizMoCuzG Offline
          GizMoCuz
          wrote on last edited by
          #4

          Thanks, you mean from the board manager downgrade "Arduino AVR Boards" from 1.16.13 to 1.16.11
          I will try so this weekend

          But... this seems an arduino library... why, with this library and mysensors 1.5, there is no problem ?
          I also think it was OK somewhere during the beta period of 2.0, but i could be wrong here as this IDE is quite new.
          But... because 1.5 is working, i suspect a problem in the 2.0 code....

          Hope either party gets this sort out quickly... i was pulling my hair because i thought i broke my gateway ;)

          1 Reply Last reply
          0
          • 172pilot1 Offline
            172pilot1 Offline
            172pilot
            wrote on last edited by
            #5

            Thanks! I've been frustrated all day, watching my UNO with 5100 based shield continuously cycle through:

            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

            Over and over, about once every 2 seconds.. Just downgrading to the 1.16.11 version, and it seems to have fixed it.. Still waiting to see the first comm with the Vera, but, so far so good!

            Thanks!

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              sorry to ask, but how do you down grade?

              172pilot1 1 Reply Last reply
              0
              • ? A Former User

                sorry to ask, but how do you down grade?

                172pilot1 Offline
                172pilot1 Offline
                172pilot
                wrote on last edited by
                #7

                @fleshfear said:

                sorry to ask, but how do you down grade?

                In your arduino IDE.. Choose Tools, Board, and at the top of the list, choose board manager, click in the window for "Arduino AVR Boards" and it will give you a pull-down for 'version' in the bottom left. Choose your 1.16.11 version, and click install..

                This worked for me.. Maybe there's a newer one now with the bug fixed, but for me this older one works!
                Good luck!!
                Steve

                1 Reply Last reply
                1
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #8

                  Thank you, i found it and downgrade, with got it to work.
                  mine was a 1.6.14, so think it's has been updated but not fixed.

                  1 Reply Last reply
                  0
                  • Michiel van der WulpM Offline
                    Michiel van der WulpM Offline
                    Michiel van der Wulp
                    wrote on last edited by
                    #9

                    Thanks, I tried this solution.
                    The problem was described also in https://forum.mysensors.org/topic/4462/gatewayw5100-unable-to-get-working-w-v2-0-0/2
                    The "Arduino AVR Boards" 1.6.11 works fine, the 1.6.14 not.

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    20

                    Online

                    11.7k

                    Users

                    11.2k

                    Topics

                    113.0k

                    Posts


                    Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • MySensors
                    • OpenHardware.io
                    • Categories
                    • Recent
                    • Tags
                    • Popular