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. Development
  3. Which Arduino IDE version?

Which Arduino IDE version?

Scheduled Pinned Locked Moved Development
31 Posts 12 Posters 13.7k Views 12 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.
  • T TheoL

    Just doing some last minute changes for the presentation of the workshop.

    I've read on the forum that not all version of the Arduino IDE work well with MySensors 2.0? What's the best version to use?

    Y Offline
    Y Offline
    Yveaux
    Mod
    wrote on last edited by
    #3

    @TheoL 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.
    Apart from that I would just use the latest one (1.6.11 at the time of writing I think)

    http://yveaux.blogspot.nl

    T S 2 Replies Last reply
    0
    • Y Yveaux

      @TheoL 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.
      Apart from that I would just use the latest one (1.6.11 at the time of writing I think)

      T Offline
      T Offline
      TheoL
      Contest Winner
      wrote on last edited by TheoL
      #4

      @Yveaux I'll be using a serial gateway with soft SPI (don't ask why ;-) it's a left over stackable print I soldered for an old WS5100 Arduino Uno ethernet gateway) so 6.11 would be okay for the participants?

      p.s. thack stackable radio print with the LEDs just sticking it adds to the tinker experience ;-)

      Y 1 Reply Last reply
      0
      • T TheoL

        @Yveaux I'll be using a serial gateway with soft SPI (don't ask why ;-) it's a left over stackable print I soldered for an old WS5100 Arduino Uno ethernet gateway) so 6.11 would be okay for the participants?

        p.s. thack stackable radio print with the LEDs just sticking it adds to the tinker experience ;-)

        Y Offline
        Y Offline
        Yveaux
        Mod
        wrote on last edited by
        #5

        @TheoL I'm not aware of any issues, but for safety I should be careful when defining MY_DEBUG and test your setup upfront (which you probably will :bowtie:)

        http://yveaux.blogspot.nl

        T 1 Reply Last reply
        1
        • Y Yveaux

          @TheoL 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.
          Apart from that I would just use the latest one (1.6.11 at the time of writing I think)

          S Offline
          S Offline
          sundberg84
          Hardware Contributor
          wrote on last edited by sundberg84
          #6

          @Yveaux said:

          @TheoL 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.
          Apart from that I would just use the latest one (1.6.11 at the time of writing I think)

          What is the correct way to handle this? (Im upgrading my w5100 with 2.0). Using an older avr compiler or its fixed in dev?

          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
          • T Offline
            T Offline
            tbowmo
            Admin
            wrote on last edited by
            #7

            @sundberg84

            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

            T 1 Reply Last reply
            1
            • T tbowmo

              @sundberg84

              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

              T Offline
              T Offline
              tekka
              Admin
              wrote on last edited by
              #8

              @sundberg84 Yes, read here for further information related to the compiler bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77326

              T 1 Reply Last reply
              1
              • Y Yveaux

                @TheoL I'm not aware of any issues, but for safety I should be careful when defining MY_DEBUG and test your setup upfront (which you probably will :bowtie:)

                T Offline
                T Offline
                TheoL
                Contest Winner
                wrote on last edited by
                #9

                @Yveaux Today we uploaded the serial gateway with soft SPI. The radio initializes and the gateway doesn't reset. Tonight my colleague will try it home, since it would interfere with my own serial gateway network. But I think it will work. Never did soft SPI on a serial gateway, and probably no one has ever tried that before ;-)

                1 Reply Last reply
                0
                • T tekka

                  @sundberg84 Yes, read here for further information related to the compiler bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77326

                  T Offline
                  T Offline
                  TheoL
                  Contest Winner
                  wrote on last edited by
                  #10

                  @tekka Great job. Hopefully they'll soon release a bug fix for this.

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    TheoL
                    Contest Winner
                    wrote on last edited by
                    #11

                    Confirmed that soft SPI also works an a Serial Gateway. Uploaded 2.0 on that one and tested with 1.5 sketch.

                    T 1 Reply Last reply
                    0
                    • T TheoL

                      Confirmed that soft SPI also works an a Serial Gateway. Uploaded 2.0 on that one and tested with 1.5 sketch.

                      T Offline
                      T Offline
                      tekka
                      Admin
                      wrote on last edited by
                      #12

                      @TheoL Maybe important for your MySensors tutorial: I suggest using Arduino IDE 1.6.11 with AVR board defs 1.6.11 (1.6.12 and 1.6.13 seem buggy, at least regarding the Ethernet lib)

                      S 1 Reply Last reply
                      1
                      • T tekka

                        @TheoL Maybe important for your MySensors tutorial: I suggest using Arduino IDE 1.6.11 with AVR board defs 1.6.11 (1.6.12 and 1.6.13 seem buggy, at least regarding the Ethernet lib)

                        S Offline
                        S Offline
                        sundberg84
                        Hardware Contributor
                        wrote on last edited by
                        #13

                        @tekka - If i want to build myself a ethernet gw with 2.0 it should work if i download and use IDE < 1.6.12 ?

                        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

                        T 1 Reply Last reply
                        0
                        • S sundberg84

                          @tekka - If i want to build myself a ethernet gw with 2.0 it should work if i download and use IDE < 1.6.12 ?

                          T Offline
                          T Offline
                          tekka
                          Admin
                          wrote on last edited by
                          #14

                          @sundberg84 Not IDE, but AVR board defs 1.6.11

                          1 Reply Last reply
                          1
                          • tlpeterT Offline
                            tlpeterT Offline
                            tlpeter
                            wrote on last edited by
                            #15

                            And how do i downgrade AVR board devs?

                            1 Reply Last reply
                            0
                            • AndurilA Offline
                              AndurilA Offline
                              Anduril
                              wrote on last edited by
                              #16

                              in your IDE go to tools -> boards: "..." -> board manager and there select Arduino AVR board in the correct version.

                              1 Reply Last reply
                              3
                              • tlpeterT Offline
                                tlpeterT Offline
                                tlpeter
                                wrote on last edited by
                                #17

                                Thanks, i would not have found that by myself :smile:

                                1 Reply Last reply
                                1
                                • P Offline
                                  P Offline
                                  petewill
                                  Admin
                                  wrote on last edited by
                                  #18

                                  It has been a long time since I've updated my IDE (currently running 1.6.6) and I wanted to update before I start converting everything to MySensors 2.0. I noticed that there is a newer version 1.6.12 and the bug reported above appears to have been fixed. Has anyone used the newest IDE and boards files? I will be using an Ethernet gateway but I'm not sure if it is still best to downgrade the boards files. Thanks!

                                  My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                                  1 Reply Last reply
                                  0
                                  • Mark SwiftM Offline
                                    Mark SwiftM Offline
                                    Mark Swift
                                    wrote on last edited by
                                    #19

                                    Crash still happens using the latest version, downgraded to 1.6.11 :(

                                    P 1 Reply Last reply
                                    0
                                    • Mark SwiftM Mark Swift

                                      Crash still happens using the latest version, downgraded to 1.6.11 :(

                                      P Offline
                                      P Offline
                                      petewill
                                      Admin
                                      wrote on last edited by
                                      #20

                                      @Mark-Swift I'm using IDE 1.6.12 and board defs 1.6.14 and my Ethernet gateway has been running for almost a week with no apparent issues. How often are you seeing the crash?

                                      My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                                      1 Reply Last reply
                                      1
                                      • Mark SwiftM Offline
                                        Mark SwiftM Offline
                                        Mark Swift
                                        wrote on last edited by
                                        #21

                                        My W5100 will not start with 1.6.14, it just reboots after getting an IP...

                                        P 1 Reply Last reply
                                        0
                                        • Mark SwiftM Mark Swift

                                          My W5100 will not start with 1.6.14, it just reboots after getting an IP...

                                          P Offline
                                          P Offline
                                          petewill
                                          Admin
                                          wrote on last edited by
                                          #22

                                          @Mark-Swift Wow, that's strange. What Ethernet library are you using? I'm on 1.1.2.

                                          My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

                                          1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          17

                                          Online

                                          12.0k

                                          Users

                                          11.2k

                                          Topics

                                          113.4k

                                          Posts


                                          Copyright 2025 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