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. Serial Gateway crash and reloads

Serial Gateway crash and reloads

Scheduled Pinned Locked Moved Troubleshooting
18 Posts 5 Posters 4.3k Views 4 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.
  • martinsM Offline
    martinsM Offline
    martins
    wrote on last edited by
    #9

    Changed the arduino pro mini. Same effect. As soon as this is executed the serial gateway restarts send(TEXTMsg.set(uid_rfid), true);

    Output on serial gateway:
    0;255;3;0;9;!TSF:MSG:SEND,0-0-10-10,s=9,c=1,t=47,pt=0,l=8,sg=0,ft=0,st=NACK:c350fd4b
    Gateway restart:cry:
    0;255;3;0;9;MCO:BGN:INIT GW,CP=RRNGA--,VER=2.1.1
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;TSF:WUR:MS=0
    0;255;3;0;9;TSM:INIT:TSP OK
    0;255;3;0;9;TSM:INIT:GW MODE
    0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
    0;255;3;0;9;MCO:REG:NOT NEEDED
    0;255;3;0;14;Gateway startup complete.
    0;255;0;0;18;2.1.1
    0;255;3;0;11;MySensors Serial Gateway
    0;255;3;0;12;2.0.0
    0;255;3;0;9;MCO:BGN:STP
    0;255;3;0;9;MCO:BGN:INIT OK,TSP=1

    1 Reply Last reply
    0
    • martinsM Offline
      martinsM Offline
      martins
      wrote on last edited by
      #10

      Narrowed it down a bit more. As soon as I change the true (req ack) to false the gateway don't crash anymore. So my question now is why would a ack req cause the gateway to crash ?

        send(TEXTMsg.set(uid_rfid), false);```
      1 Reply Last reply
      0
      • gohanG Offline
        gohanG Offline
        gohan
        Mod
        wrote on last edited by gohan
        #11

        What Arduino ide version are you using? And what avr boards definitions?

        PS I corrected the code tags in your previous post as you didn't put them on separate lines and they were not working correctly

        1 Reply Last reply
        0
        • martinsM Offline
          martinsM Offline
          martins
          wrote on last edited by
          #12

          IDE 1.8.1

          0_1489826183494_upload-88d0d7f0-c39a-47e1-aa30-6f49a3310a96

          Y 1 Reply Last reply
          0
          • martinsM martins

            IDE 1.8.1

            0_1489826183494_upload-88d0d7f0-c39a-47e1-aa30-6f49a3310a96

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

            @martins the 3v3 from rpi can only supply very low currents iirr. This could cause issues as soon as you start using the radio (sending messages).
            Could you try powering from a different, beefier power supply to rule out the supply?

            http://yveaux.blogspot.nl

            gohanG 1 Reply Last reply
            0
            • Y Yveaux

              @martins the 3v3 from rpi can only supply very low currents iirr. This could cause issues as soon as you start using the radio (sending messages).
              Could you try powering from a different, beefier power supply to rule out the supply?

              gohanG Offline
              gohanG Offline
              gohan
              Mod
              wrote on last edited by
              #14

              @Yveaux he said he connected directly the USB to computer but still gets reboots. Maybe downgrading avr boards to 1.6.11 or earlier?

              Y 1 Reply Last reply
              0
              • gohanG gohan

                @Yveaux he said he connected directly the USB to computer but still gets reboots. Maybe downgrading avr boards to 1.6.11 or earlier?

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

                @gohan I couldn't tell if he switched power supply. USB is 5v, his pro mini 3v3, so where does the 3v3 come from?

                http://yveaux.blogspot.nl

                martinsM 1 Reply Last reply
                1
                • Y Yveaux

                  @gohan I couldn't tell if he switched power supply. USB is 5v, his pro mini 3v3, so where does the 3v3 come from?

                  martinsM Offline
                  martinsM Offline
                  martins
                  wrote on last edited by martins
                  #16

                  @Yveaux

                  alt text

                  Y J 2 Replies Last reply
                  0
                  • martinsM martins

                    @Yveaux

                    alt text

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

                    @martins Ok, clear. I have an almost identical board that only delivers 5V to the target.

                    http://yveaux.blogspot.nl

                    1 Reply Last reply
                    0
                    • martinsM martins

                      @Yveaux

                      alt text

                      J Offline
                      J Offline
                      Jan Gatzke
                      wrote on last edited by
                      #18

                      @martins Did you ever find a solution for this? I am facing similar problems with the serial gateway: https://forum.mysensors.org/topic/6684/serial-gateway-restarting/13

                      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


                      12

                      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