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. General Discussion
  3. BananaPi M1 gateway wont work

BananaPi M1 gateway wont work

Scheduled Pinned Locked Moved General Discussion
2 Posts 2 Posters 872 Views 1 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.
  • kebibgK Offline
    kebibgK Offline
    kebibg
    wrote on last edited by
    #1

    Hi,
    I am newbie in My sensors and have problem with BananaPi M1 Soc=A20.
    When i try to configure MySensors Gateway always after compilation i receive that:

    root@bananapi:/home/pi/install/MySensors# ./bin/mysgw -d
    mysgw: Starting gateway...
    mysgw: Protocol version - 2.2.0-rc.2
    mysgw: MCO:BGN:INIT GW,CP=RNNGL---,VER=2.2.0-rc.2
    mysgw: TSF:LRT:OK
    mysgw: TSM:INIT
    mysgw: TSF:WUR:MS=0
    mysgw: !TSM:INIT:TSP FAIL
    mysgw: TSM:FAIL:CNT=1
    mysgw: TSM:FAIL:DIS
    mysgw: TSF:TDI:TSL
    

    Compilation always OK without any errors.
    Hardware is connected like need to be and connection work on RaspberryPi 2 (same GPIO pinout).
    I try with many difference settings in compilation but without sucsses.
    With gpio readall i see all GPIOs and can comand it .

    root@bananapi:/home/pi/install/MySensors# gpio readall
    +----------+-Rev3-+------+--------+------+-------+
    | wiringPi | GPIO | Phys | Name   | Mode | Value |
    +----------+------+------+--------+------+-------+
    |      0   |  17  |  11  | GPIO 0 | OUT  | High  |
    |      1   |  18  |  12  | GPIO 1 | IN   | Low   |
    |      2   |  27  |  13  | GPIO 2 | ALT4 | Low   |
    |      3   |  22  |  15  | GPIO 3 | IN   | Low   |
    |      4   |  23  |  16  | GPIO 4 | OUT  | High  |
    |      5   |  24  |  18  | GPIO 5 | IN   | Low   |
    |      6   |  25  |  22  | GPIO 6 | IN   | Low   |
    |      7   |   4  |   7  | GPIO 7 | IN   | Low   |
    |      8   |   2  |   3  | SDA    | ALT5 | Low   |
    |      9   |   3  |   5  | SCL    | ALT5 | Low   |
    |     10   |   8  |  24  | CE0    | IN   | Low   |
    |     11   |   7  |  26  | CE1    | ALT5 | Low   |
    |     12   |  10  |  19  | MOSI   | IN   | Low   |
    |     13   |   9  |  21  | MISO   | IN   | Low   |
    |     14   |  11  |  23  | SCLK   | ALT5 | Low   |
    |     15   |  14  |   8  | TxD    | OUT  | High  |
    |     16   |  15  |  10  | RxD    | OUT  | High  |
    |     17   |  28  |   3  | GPIO 8 | ALT0 | Low   |
    |     18   |  29  |   4  | GPIO 9 | IN   | Low   |
    |     19   |  30  |   5  | GPIO10 | IN   | Low   |
    |     20   |  31  |   6  | GPIO11 | ALT4 | Low   |
    +----------+------+------+--------+------+-------+
    

    This is some of my configures:

     ./configure --spi-spidev-device=/dev/spidev0.0 --my-transport=nrf24 --my-rf24-ce-pin=8 --my-rf24-cs-pin=25 --my-gateway=ethernet --my-port=5003
    
    ./configure --spi-spidev-device=/dev/spidev0.0 --my-transport=nrf24 --my-rf24-ce-pin=24 --my-rf24-cs-pin=22 --my-gateway=ethernet --my-port=5003
    
    ./configure --spi-spidev-device=/dev/spidev0.0 --my-transport=nrf24 --my-rf24-ce-pin=10--my-rf24-cs-pin=6 --my-gateway=ethernet --my-port=5003
    

    This is my answer on list devices

    root@bananapi:/home/pi/install/MySensors# ls /dev/spi*
    /dev/spidev0.0  /dev/spidev0.1
    

    Everything need to be ok but is not :( .
    Because thi is not a my 1st project i know all work on RaspberryPi 2 and Orange Pi PC - Soc=H3.
    I have a problem with Soc= A20.

    Please help

    Kind Regards

    X 1 Reply Last reply
    0
    • kebibgK kebibg

      Hi,
      I am newbie in My sensors and have problem with BananaPi M1 Soc=A20.
      When i try to configure MySensors Gateway always after compilation i receive that:

      root@bananapi:/home/pi/install/MySensors# ./bin/mysgw -d
      mysgw: Starting gateway...
      mysgw: Protocol version - 2.2.0-rc.2
      mysgw: MCO:BGN:INIT GW,CP=RNNGL---,VER=2.2.0-rc.2
      mysgw: TSF:LRT:OK
      mysgw: TSM:INIT
      mysgw: TSF:WUR:MS=0
      mysgw: !TSM:INIT:TSP FAIL
      mysgw: TSM:FAIL:CNT=1
      mysgw: TSM:FAIL:DIS
      mysgw: TSF:TDI:TSL
      

      Compilation always OK without any errors.
      Hardware is connected like need to be and connection work on RaspberryPi 2 (same GPIO pinout).
      I try with many difference settings in compilation but without sucsses.
      With gpio readall i see all GPIOs and can comand it .

      root@bananapi:/home/pi/install/MySensors# gpio readall
      +----------+-Rev3-+------+--------+------+-------+
      | wiringPi | GPIO | Phys | Name   | Mode | Value |
      +----------+------+------+--------+------+-------+
      |      0   |  17  |  11  | GPIO 0 | OUT  | High  |
      |      1   |  18  |  12  | GPIO 1 | IN   | Low   |
      |      2   |  27  |  13  | GPIO 2 | ALT4 | Low   |
      |      3   |  22  |  15  | GPIO 3 | IN   | Low   |
      |      4   |  23  |  16  | GPIO 4 | OUT  | High  |
      |      5   |  24  |  18  | GPIO 5 | IN   | Low   |
      |      6   |  25  |  22  | GPIO 6 | IN   | Low   |
      |      7   |   4  |   7  | GPIO 7 | IN   | Low   |
      |      8   |   2  |   3  | SDA    | ALT5 | Low   |
      |      9   |   3  |   5  | SCL    | ALT5 | Low   |
      |     10   |   8  |  24  | CE0    | IN   | Low   |
      |     11   |   7  |  26  | CE1    | ALT5 | Low   |
      |     12   |  10  |  19  | MOSI   | IN   | Low   |
      |     13   |   9  |  21  | MISO   | IN   | Low   |
      |     14   |  11  |  23  | SCLK   | ALT5 | Low   |
      |     15   |  14  |   8  | TxD    | OUT  | High  |
      |     16   |  15  |  10  | RxD    | OUT  | High  |
      |     17   |  28  |   3  | GPIO 8 | ALT0 | Low   |
      |     18   |  29  |   4  | GPIO 9 | IN   | Low   |
      |     19   |  30  |   5  | GPIO10 | IN   | Low   |
      |     20   |  31  |   6  | GPIO11 | ALT4 | Low   |
      +----------+------+------+--------+------+-------+
      

      This is some of my configures:

       ./configure --spi-spidev-device=/dev/spidev0.0 --my-transport=nrf24 --my-rf24-ce-pin=8 --my-rf24-cs-pin=25 --my-gateway=ethernet --my-port=5003
      
      ./configure --spi-spidev-device=/dev/spidev0.0 --my-transport=nrf24 --my-rf24-ce-pin=24 --my-rf24-cs-pin=22 --my-gateway=ethernet --my-port=5003
      
      ./configure --spi-spidev-device=/dev/spidev0.0 --my-transport=nrf24 --my-rf24-ce-pin=10--my-rf24-cs-pin=6 --my-gateway=ethernet --my-port=5003
      

      This is my answer on list devices

      root@bananapi:/home/pi/install/MySensors# ls /dev/spi*
      /dev/spidev0.0  /dev/spidev0.1
      

      Everything need to be ok but is not :( .
      Because thi is not a my 1st project i know all work on RaspberryPi 2 and Orange Pi PC - Soc=H3.
      I have a problem with Soc= A20.

      Please help

      Kind Regards

      X Offline
      X Offline
      xefil
      wrote on last edited by
      #2

      @kebibg hello
      Was you able to bring it to work?

      Thanks, Simon

      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


      22

      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