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. Bug Reports
  3. Possible Bug version 2.2.0

Possible Bug version 2.2.0

Scheduled Pinned Locked Moved Bug Reports
38 Posts 4 Posters 3.5k Views 3 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.
  • S sindrome73

    Here I am at home .... I proceeded to redo the procedure and this sot is the log ....

    I had to put an image because the last signs that mida I can not copy them as text ....

    0_1522266474450_Log_arduino.jpg

    AnticimexA Offline
    AnticimexA Offline
    Anticimex
    Contest Winner
    wrote on last edited by
    #15

    @sindrome73 log looks pretty corrupt, but I can't find any signing related messages so it would seem signing is not enabled on the node. Do you have a log from the GW? Is it also running 2.2.0?

    Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

    1 Reply Last reply
    0
    • S sindrome73

      Here I am at home .... I proceeded to redo the procedure and this sot is the log ....

      I had to put an image because the last signs that mida I can not copy them as text ....

      0_1522266474450_Log_arduino.jpg

      AnticimexA Offline
      AnticimexA Offline
      Anticimex
      Contest Winner
      wrote on last edited by
      #16

      @sindrome73 sorry, the capabilities string indicate software signing. But I don't see the backend initialization message. Could you please enable verbose signing debug?

      Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sindrome73
        wrote on last edited by
        #17

        tell me how to abbilitate the detailed signature debug .....

        AnticimexA 1 Reply Last reply
        0
        • S sindrome73

          tell me how to abbilitate the detailed signature debug .....

          AnticimexA Offline
          AnticimexA Offline
          Anticimex
          Contest Winner
          wrote on last edited by
          #18

          @sindrome73 https://www.mysensors.org/apidocs-beta/group__MySigningTroubleshootinggrp.html

          Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sindrome73
            wrote on last edited by
            #19

            Here is the log with the Debug signed abbreviation.
            I specify that I had to disable // # define MY_DEBUG because the scketch is too big

            0_1522270397919_Log_arduino2.jpg

            AnticimexA 2 Replies Last reply
            0
            • S sindrome73

              Here is the log with the Debug signed abbreviation.
              I specify that I had to disable // # define MY_DEBUG because the scketch is too big

              0_1522270397919_Log_arduino2.jpg

              AnticimexA Offline
              AnticimexA Offline
              Anticimex
              Contest Winner
              wrote on last edited by
              #20

              @sindrome73 signing messages look sane. But the logs look very corrupt. It also looks like the sketch crashed and restarted so I suspect you are running out of stack space. The arduino IDE reports and warns about memory usage and I suspect you get a warning on that.

              Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

              1 Reply Last reply
              0
              • S Offline
                S Offline
                sindrome73
                wrote on last edited by
                #21

                Yes indeed I have already said this !! So true that to have the DEBUG of the signature I had to disable the DEBUG.

                But with this same script, and going to Mysensors 2.1 it works !!

                AnticimexA 1 Reply Last reply
                0
                • S sindrome73

                  Here is the log with the Debug signed abbreviation.
                  I specify that I had to disable // # define MY_DEBUG because the scketch is too big

                  0_1522270397919_Log_arduino2.jpg

                  AnticimexA Offline
                  AnticimexA Offline
                  Anticimex
                  Contest Winner
                  wrote on last edited by
                  #22

                  @sindrome73 you could try to completely disable debug on your node and observe the behavior of your gw or controller.

                  Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    sindrome73
                    wrote on last edited by
                    #23

                    Ok .... Tomorrow I'll do it ..... But it will be difficult to have the Gateway Log because with the signature enabled, the sketch is very large, and does not allow me to activate the Debug ....

                    AnticimexA 1 Reply Last reply
                    0
                    • S sindrome73

                      Yes indeed I have already said this !! So true that to have the DEBUG of the signature I had to disable the DEBUG.

                      But with this same script, and going to Mysensors 2.1 it works !!

                      AnticimexA Offline
                      AnticimexA Offline
                      Anticimex
                      Contest Winner
                      wrote on last edited by
                      #24

                      @sindrome73 well, 2.2.0 could be requiring more memory than 2.1. You can compare since the IDE reports exactly how much memory is used.

                      Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        sindrome73
                        wrote on last edited by
                        #25

                        But it is the same with both 2.2 and 2.1.
                        With Arduino Pro Mini, enabling the signature debugging must be disabled because it exceeds counque the maximum available memory .......

                        1 Reply Last reply
                        0
                        • S sindrome73

                          Ok .... Tomorrow I'll do it ..... But it will be difficult to have the Gateway Log because with the signature enabled, the sketch is very large, and does not allow me to activate the Debug ....

                          AnticimexA Offline
                          AnticimexA Offline
                          Anticimex
                          Contest Winner
                          wrote on last edited by
                          #26

                          @sindrome73 you could see in your controller if communication gets though. I could see in the node log that signing handshaking takes place. So I am sure your problem is memory use. You need to reduce the size of your sketch. Or get more powerful hardware to support the features you want to use.

                          Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            sindrome73
                            wrote on last edited by
                            #27

                            Ok tomorrow calmly I will make these changes and update you .... A Tomorrow, and thanks for now .....

                            AnticimexA alexsh1A 2 Replies Last reply
                            0
                            • S sindrome73

                              Ok tomorrow calmly I will make these changes and update you .... A Tomorrow, and thanks for now .....

                              AnticimexA Offline
                              AnticimexA Offline
                              Anticimex
                              Contest Winner
                              wrote on last edited by
                              #28

                              @sindrome73 I'm off to bed as well. Good night and we will figure something out later on.

                              Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                              1 Reply Last reply
                              0
                              • S sindrome73

                                Ok tomorrow calmly I will make these changes and update you .... A Tomorrow, and thanks for now .....

                                alexsh1A Offline
                                alexsh1A Offline
                                alexsh1
                                wrote on last edited by
                                #29

                                @sindrome73 You can try to load a default sketch from examples with signing to make sure everything is working fine.
                                If you are out of memory, strange things may happen.

                                1 Reply Last reply
                                0
                                • AnticimexA Offline
                                  AnticimexA Offline
                                  Anticimex
                                  Contest Winner
                                  wrote on last edited by
                                  #30

                                  https://www.mysensors.org/apidocs/group__memorysavings.html

                                  Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                                  alexsh1A 1 Reply Last reply
                                  0
                                  • AnticimexA Anticimex

                                    https://www.mysensors.org/apidocs/group__memorysavings.html

                                    alexsh1A Offline
                                    alexsh1A Offline
                                    alexsh1
                                    wrote on last edited by alexsh1
                                    #31

                                    @anticimex I must admit that in the world of ESP32 or SAMD I find atmega328p memory restriction more and more an issue. Its ok for 1 sensor and signing, but on some nodes I have 3-4 sensors and debugging and signing have to be disabled due to memory constrains.

                                    BTW, some nodes do behave strangely even when you approach memory limit.

                                    Having said that, I think we need to establish if @sindrome73 node is working fine - a default sketch plus signing would reveal it.

                                    AnticimexA 1 Reply Last reply
                                    0
                                    • alexsh1A alexsh1

                                      @anticimex I must admit that in the world of ESP32 or SAMD I find atmega328p memory restriction more and more an issue. Its ok for 1 sensor and signing, but on some nodes I have 3-4 sensors and debugging and signing have to be disabled due to memory constrains.

                                      BTW, some nodes do behave strangely even when you approach memory limit.

                                      Having said that, I think we need to establish if @sindrome73 node is working fine - a default sketch plus signing would reveal it.

                                      AnticimexA Offline
                                      AnticimexA Offline
                                      Anticimex
                                      Contest Winner
                                      wrote on last edited by
                                      #32

                                      @alexsh1 sensors behave strange because stack space is consumed.
                                      Regarding signing and 2.2.0, I know for a fact it works, and I have tested it on atmega328p. But sure, trying with the secure actuator sketch should help reveal if the problem lies with the GW.

                                      Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                                      1 Reply Last reply
                                      0
                                      • S Offline
                                        S Offline
                                        sindrome73
                                        wrote on last edited by
                                        #33

                                        Hello!! Sorry if I'm late.....
                                        So I tried to do the checks as suggested .....

                                        If I load the schetck with Mysensors Ver 2.1 the Arduino IDE gives me 28620 Bytes used 93% of the space

                                        If I load the schetck with Mysensors Ver 2.2 the IDE of Arduino gives me 29310 Bytes used 95% of the space

                                        So it could be a problem of space and therefore makes my Arduino Pro unstable .....
                                        Tomorrow I'll try to load the same Scketch on An Arduino Uno that should have a little more space ..... I keep you updated on the developments

                                        AnticimexA alexsh1A 2 Replies Last reply
                                        0
                                        • S sindrome73

                                          Hello!! Sorry if I'm late.....
                                          So I tried to do the checks as suggested .....

                                          If I load the schetck with Mysensors Ver 2.1 the Arduino IDE gives me 28620 Bytes used 93% of the space

                                          If I load the schetck with Mysensors Ver 2.2 the IDE of Arduino gives me 29310 Bytes used 95% of the space

                                          So it could be a problem of space and therefore makes my Arduino Pro unstable .....
                                          Tomorrow I'll try to load the same Scketch on An Arduino Uno that should have a little more space ..... I keep you updated on the developments

                                          AnticimexA Offline
                                          AnticimexA Offline
                                          Anticimex
                                          Contest Winner
                                          wrote on last edited by
                                          #34

                                          @sindrome73 anything above 90% puts you well into the danger zone. Stack space is what is left after linker has placed the symbols. And the atmega328p has little ram so less than 10% of that ram is not much for the stack. I don't have the numbers of the library worst case stack usage but it depend heavily on what features you use and in the order they are used, and so on.

                                          Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

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


                                          11

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          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