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. OpenHardware.io
  3. 💬 Sensebender Gateway

💬 Sensebender Gateway

Scheduled Pinned Locked Moved OpenHardware.io
mysensorsgatewaysamd
382 Posts 59 Posters 151.2k Views 53 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.
  • tbowmoT tbowmo

    @MLs

    have you installed the mysensors board files? And chosen the Sensebender Gateway as target platform?

    (Seems that you are using Arduino/Genuino Zero as target?)

    M Offline
    M Offline
    MLs
    wrote on last edited by MLs
    #145

    @tbowmo

    Hi i get same error whit Sensebender Ga

    Arduino:1.8.0 (Windows 10), Kort:"Sensebender Gateway"
    
    Build options changed, rebuilding all
    Sketch uses 46720 bytes (17%) of program storage space. Maximum is 262144 bytes.
    No device found on COM4
    An error occurred while uploading the sketch
    Invalid version found: 1.04
    Invalid version found: 1.04
    
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.```
    

    No device found on COM4
    But serial monitor works fine with COM4

    //Mattias

    D 1 Reply Last reply
    0
    • M MLs

      @tbowmo

      Hi i get same error whit Sensebender Ga

      Arduino:1.8.0 (Windows 10), Kort:"Sensebender Gateway"
      
      Build options changed, rebuilding all
      Sketch uses 46720 bytes (17%) of program storage space. Maximum is 262144 bytes.
      No device found on COM4
      An error occurred while uploading the sketch
      Invalid version found: 1.04
      Invalid version found: 1.04
      
      This report would have more information with
      "Show verbose output during compilation"
      option enabled in File -> Preferences.```
      

      No device found on COM4
      But serial monitor works fine with COM4

      //Mattias

      D Offline
      D Offline
      Disca
      wrote on last edited by
      #146

      @MLs In Device Manager what com port is assigned to the sensebender GW? Have you manually installed the inf file?

      com4 is likely the last com port you used in the arduino interface not the one assigned to the GW.

      M 1 Reply Last reply
      0
      • D Disca

        @MLs In Device Manager what com port is assigned to the sensebender GW? Have you manually installed the inf file?

        com4 is likely the last com port you used in the arduino interface not the one assigned to the GW.

        M Offline
        M Offline
        MLs
        wrote on last edited by MLs
        #147

        @Disca

        No, I have not installed or selected com port.
        Device Manager COM4
        As I understood it so Windows 10 would fix everything, right?

        //Mattias

        D 1 Reply Last reply
        0
        • F Offline
          F Offline
          Fabien
          wrote on last edited by
          #148

          @tbowmo : It's better for seeing debug from start.
          But there is 2 bugs :

          • When you want to upload sketch. /dev/ttyACM0 disapear (and D4 goes off) afterunplu/plug it works for uploading sketch (D4 off) but at the end of uplaod ArduinoIDE makes a soft reset and /dev/ttyACM0 disapear. Works fine after plus/unplug (D4 ON)
          • When pressing reset /dev/ttyACM0 disapear (and D4 goes off). Works fine after plug/unplug
          1 Reply Last reply
          0
          • M MLs

            @Disca

            No, I have not installed or selected com port.
            Device Manager COM4
            As I understood it so Windows 10 would fix everything, right?

            //Mattias

            D Offline
            D Offline
            Disca
            wrote on last edited by
            #149

            @MLs mmm not sure then, it works for me on Windows 7 with 1.8.1 (slightly newer version?)

            M 1 Reply Last reply
            0
            • tbowmoT Offline
              tbowmoT Offline
              tbowmo
              Admin
              wrote on last edited by
              #150

              @MLs

              I don't have windows installed, so I'm sorry that I can't help with windows specifics.

              M 1 Reply Last reply
              0
              • tbowmoT tbowmo

                @MLs

                I don't have windows installed, so I'm sorry that I can't help with windows specifics.

                M Offline
                M Offline
                MLs
                wrote on last edited by
                #151

                @tbowmo

                Now, I think it feels like hardware failure more than software errors. Will try tomorrow on my second computer with Windows 7 and see if there is any difference.

                //Mattias

                1 Reply Last reply
                0
                • tbowmoT Offline
                  tbowmoT Offline
                  tbowmo
                  Admin
                  wrote on last edited by
                  #152

                  @Fabien

                  I added a couple of udev rules, to stop modemmanager take control over the device

                  ACTION!="add|change|move", GOTO="local_usb_device_blacklist_end"
                  SUBSYSTEM!="usb", GOTO="local_usb_device_blacklist_end"
                  ENV{DEVTYPE}!="usb_device",  GOTO="local_usb_device_blacklist_end"
                  
                  ATTRS{idVendor}=="1209", ENV{ID_MM_DEVICE_IGNORE}="1"
                  
                  LABEL="local_usb_device_blacklist_end"
                  

                  Add the above to this file /etc/udev/rules.d/mysensors.rules

                  As the USB is native in the arm processor, then it will re-enumerate on the USB port whenever a reset condition occurs. When you press the reset button it will act as a unplug / plug operation (you can see this in dmesg)

                  When uploading to the gateway, it will reset itself to enter bootloader.. The bootloader will have another VID/PID combo (VID:1209, PID:6448) than during normal operation (VID:1209, PID:6449).

                  I have never seen the problems that you are having, where you need to fysically unplug / plug the device, after you have pressed the reset button (or uploaded a new firmware). And I have uploaded firmware (and pressed the reset button) quite some times :)

                  Also please note, that if you double tap the reset button, the gateway will enter bootloader mode, and wait for a new sketch to be sent.

                  1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    Fabien
                    wrote on last edited by
                    #153

                    @tbowmo : Same with udev rules (but this file is not necessary because modemmanger is not installed).
                    I try to power SBGW with usb, D4 goes ON. After pressing reset, D4 goes OFF and never goes on (I must unplug/plu usb power). Do you have the same with your board ? Perhaps a problem with bootloader ?

                    1 Reply Last reply
                    0
                    • tbowmoT Offline
                      tbowmoT Offline
                      tbowmo
                      Admin
                      wrote on last edited by tbowmo
                      #154

                      @Fabien

                      D4 is the yellow LED, and the only place it is used is in the onboard selftest routine.

                      In my setup, D5 turns on when plugging in the device. If I hit reset one time, it momentarily switches off D5, and then back on. if I hit reset twice, it stays off (bootloader is activated)

                      The above is done on my RFM69 debug gateway, so the sketch is for RFM69, but otherwise a standard SensebenderGatewaySerial sketch

                      Have you checked dmesg, when plugging in, and when hitting the reset button?

                      Have you tried with another USB cable? Have you tried with another computer?

                      1 Reply Last reply
                      0
                      • F Offline
                        F Offline
                        Fabien
                        wrote on last edited by
                        #155

                        I try with 2 different USB cable and 2 computer (1 laptop and 1 desktop). Same problem. With a charger too. And sorry for the mistake, it's D5 (orange)
                        On log

                        [ 4788.031324] usb 1-8: USB disconnect, device number 6
                        
                        1 Reply Last reply
                        0
                        • F Offline
                          F Offline
                          Fabien
                          wrote on last edited by
                          #156

                          0_1486421335378_IMG_20170206_234714.jpg
                          Thank you @scalz !
                          You must have a very well calibrated printer to print it correctly. First try fails (oozing due to overtemp)
                          Other side tomorrow !

                          1 Reply Last reply
                          1
                          • D Disca

                            @MLs mmm not sure then, it works for me on Windows 7 with 1.8.1 (slightly newer version?)

                            M Offline
                            M Offline
                            MLs
                            wrote on last edited by
                            #157

                            @Disca

                            Where did you find the drivers for sensebender GW for Windows 7?

                            //Mattias

                            tbowmoT 1 Reply Last reply
                            0
                            • M MLs

                              @Disca

                              Where did you find the drivers for sensebender GW for Windows 7?

                              //Mattias

                              tbowmoT Offline
                              tbowmoT Offline
                              tbowmo
                              Admin
                              wrote on last edited by
                              #158

                              @MLs

                              Check the product page on mysensors.org

                              https://www.mysensors.org/hardware/sensebender-gateway

                              M 1 Reply Last reply
                              0
                              • tbowmoT Offline
                                tbowmoT Offline
                                tbowmo
                                Admin
                                wrote on last edited by
                                #159

                                @Fabien

                                D5 is used by arduino to signal USB serial rx/TX activity.

                                Can you post the log lines from dmesg, from when you insert the usb cable, to after you have pressed the reset button?

                                1 Reply Last reply
                                0
                                • tbowmoT tbowmo

                                  @MLs

                                  Check the product page on mysensors.org

                                  https://www.mysensors.org/hardware/sensebender-gateway

                                  M Offline
                                  M Offline
                                  MLs
                                  wrote on last edited by
                                  #160

                                  @tbowmo

                                  I tried to update the drivers in Device Manager / sense bender GW but it failed to install the computer said.

                                  Therefore, I asked one who wrote that he was using Windows 7

                                  //Mattias

                                  1 Reply Last reply
                                  0
                                  • scalzS Offline
                                    scalzS Offline
                                    scalz
                                    Hardware Contributor
                                    wrote on last edited by scalz
                                    #161

                                    @MLs
                                    I'm also still using win7 x64 for my dev and that worked for me.

                                    Auto install through the Device Manager does not work, nor right-clicking and installing the .inf through Explorer.

                                    You have to force the install and select the location of the .inf in Device Manager. Then it will ask you if you agree about the driver supplier. Of course you're! And you should be able to see it in Device Manager.

                                    M 1 Reply Last reply
                                    0
                                    • D Offline
                                      D Offline
                                      Dany
                                      wrote on last edited by
                                      #162

                                      There are example program for W5100? The original GatewayW5100 program uses SOFTSPI, different NRF CE/CSN pins? Will work with this hardware properly?

                                      tbowmoT 1 Reply Last reply
                                      0
                                      • scalzS scalz

                                        @MLs
                                        I'm also still using win7 x64 for my dev and that worked for me.

                                        Auto install through the Device Manager does not work, nor right-clicking and installing the .inf through Explorer.

                                        You have to force the install and select the location of the .inf in Device Manager. Then it will ask you if you agree about the driver supplier. Of course you're! And you should be able to see it in Device Manager.

                                        M Offline
                                        M Offline
                                        MLs
                                        wrote on last edited by
                                        #163

                                        @scalz

                                        Heh've tried both in the device manager and manually. Device Manager, I get an error message.

                                        0_1486469926862_Enhetshanteraren.png

                                        And manually, nothing happens.

                                        0_1486469936775_Manuelt.png

                                        //Mattias

                                        1 Reply Last reply
                                        0
                                        • scalzS Offline
                                          scalzS Offline
                                          scalz
                                          Hardware Contributor
                                          wrote on last edited by scalz
                                          #164

                                          @MLs
                                          yep that's what i explained.
                                          you need to force it in Device Manager. How you're doing in Device manager actually is rather auto, imho ;)
                                          You can try in Device manager to right click on the bad detected device, here Sensebender Gw, and in properties, update driver. At a moment, it should prompt an "Open file" Dialog box (you need to choose the right option in the dialog) and then select your .inf file. And it will ask if you're ok to install a driver from a third party.

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


                                          7

                                          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