jpmeijers / ttn-resin-gateway-rpi

81 stars 41 forks source link

Support for RAK 7243 / 2245 Pi hat #27

Open dapendragon opened 5 years ago

dapendragon commented 5 years ago

I was wondering what it would take to add support for the RAK 7243 Pilot Gateway Pro (running a RAK 2245 Pi Hat under the hood).

I tried the naive approach of reusing this project, but I'm currently stuck on "ERROR: [main] failed to start the concentrator" after having tried various iterations of which reset pin to use.

I'm willing to contribute to get this working, but I need someone to point me in the right direction. :)

dapendragon commented 5 years ago

Might be related to this thread:

https://forum.loraserver.io/t/rak2245-packet-forwarder/4246/2

dapendragon commented 5 years ago

Fixed it by adding a device config variable: SPI_SPEED=2000000

dapendragon commented 5 years ago

Spoke to soon, after a few minutes an a restart I started getting "ERROR: Version of calibration firmware not expected, actual:188 expected:2" messages with the above setting.

jpmeijers commented 5 years ago

Maybe try even lower. I used SPI_SPEED 1000000 on my RAK Pilot Pro gateway. Also GW_RESET_PIN 11.

BTW: If you get LTE working on the gateway in a Balena container, please let us know how.

dapendragon commented 5 years ago

Same issue unfortunately, using PIN 11 and your speed:

02.05.19 16:51:19 (+0200) main Frequency plan: EU_863_870 02.05.19 16:51:19 (+0200) main Frequency plan url: https://account.thethingsnetwork.org/api/v2/frequency-plans/EU_863_870 02.05.19 16:51:19 (+0200) main Gateway description: A TTN Gateway 02.05.19 16:51:19 (+0200) main Gateway placement: indoor 02.05.19 16:51:19 (+0200) main Router: bridge.eu.thethings.network:1882 02.05.19 16:51:19 (+0200) main
02.05.19 16:51:19 (+0200) main Fallback routers: 02.05.19 16:51:19 (+0200) main mqtts://bridge.asia-se.thethings.network 02.05.19 16:51:19 (+0200) main mqtts://bridge.us-west.thethings.network 02.05.19 16:51:19 (+0200) main mqtts://bridge.brazil.thethings.network 02.05.19 16:51:19 (+0200) main Latitude: 60.4067798 02.05.19 16:51:19 (+0200) main Longitude: 5.19793527 02.05.19 16:51:19 (+0200) main Altitude: 97 02.05.19 16:51:19 (+0200) main Gateway EUI: 729CD9FFFEA62437 02.05.19 16:51:19 (+0200) main Has hardware GPS: true 02.05.19 16:51:19 (+0200) main Hardware GPS port: /dev/ttyAMA0 02.05.19 16:51:19 (+0200) main Using real GPS 02.05.19 16:51:19 (+0200) main [TTN Gateway]: Resetting concentrator on pin 11 02.05.19 16:51:20 (+0200) main 14:51:20 Multi Protocol Packet Forwarder for Lora Gateway 02.05.19 16:51:20 (+0200) main Version: 3.0.20 02.05.19 16:51:20 (+0200) main 14:51:20 Lora concentrator HAL library version info 02.05.19 16:51:20 (+0200) main Version: 5.0.1; Options: native; 02.05.19 16:51:20 (+0200) main 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Little endian host 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: found global configuration file /opt/ttn-gateway//global_conf.json, parsing it 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: /opt/ttn-gateway//global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: lorawan_public 1, clksrc 1 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: no configuration for LBT 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: antenna_gain 0 dBi 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Configuring TX LUT with 16 indexes 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: radio 0 enabled (type SX1257), center frequency 867500000, RSSI offset -166.000000, tx enabled 1 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: radio 1 enabled (type SX1257), center frequency 868500000, RSSI offset -166.000000, tx enabled 0 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Lora multi-SF channel 0> radio 1, IF -400000 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Lora multi-SF channel 1> radio 1, IF -200000 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Lora multi-SF channel 2> radio 1, IF 0 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Lora multi-SF channel 3> radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Lora multi-SF channel 4> radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Lora multi-SF channel 5> radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Lora multi-SF channel 6> radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Lora multi-SF channel 7> radio 0, IF 400000 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Lora std channel> radio 1, IF -200000 Hz, 250000 Hz bw, SF 7 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: FSK channel> radio 1, IF 300000 Hz, 125000 Hz bw, 50000 bps datarate 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: /opt/ttn-gateway//global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: gateway MAC address is configured to 729CD9FFFEA62437 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Found 1 servers in array. 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Server 0 configured to "bridge.eu.thethings.network" 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: filename for statistical performance is configured to "loragwstat.json" 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: packets received with a valid CRC will be forwarded 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: packets received with a CRC error will NOT be forwarded 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: packets received with no CRC will NOT be forwarded 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: GPS serial port path is configured to "/dev/ttyAMA0" 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: GPS is enabled 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Using real GPS if available. 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Upstream data is enabled 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Downstream data is enabled 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Ghoststream data is disabled 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Radiostream data is enabled 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Statusstream data is enabled 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Beacon is disabled 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Packet logger is disabled 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Flush output after statistic is disabled 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Flush after each line of output is disabled 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Watchdog is disabled 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Contact email configured to "" 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: Description configured to "A TTN Gateway" 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: [main] TTY port /dev/ttyAMA0 open for GPS synchronization 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: [Transports] Initializing protocol for 1 servers 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: [TTN] server "bridge.eu.thethings.network" connected 02.05.19 16:51:20 (+0200) main 14:51:20 INFO: [main] Starting the concentrator 02.05.19 16:51:21 (+0200) main ERROR: Version of calibration firmware not expected, actual:0 expected:2 02.05.19 16:51:21 (+0200) main 14:51:21 ERROR: [main] failed to start the concentrator 02.05.19 16:51:36 (+0200) main [TTN Gateway]: Resetting concentrator on pin 11 02.05.19 16:51:36 (+0200) main 14:51:36 Multi Protocol Packet Forwarder for Lora Gateway 02.05.19 16:51:36 (+0200) main Version: 3.0.20 02.05.19 16:51:36 (+0200) main 14:51:36 Lora concentrator HAL library version info 02.05.19 16:51:36 (+0200) main Version: 5.0.1; Options: native; 02.05.19 16:51:36 (+0200) main 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Little endian host 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: found global configuration file /opt/ttn-gateway//global_conf.json, parsing it 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: /opt/ttn-gateway//global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: lorawan_public 1, clksrc 1 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: no configuration for LBT 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: antenna_gain 0 dBi 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Configuring TX LUT with 16 indexes 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: radio 0 enabled (type SX1257), center frequency 867500000, RSSI offset -166.000000, tx enabled 1 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: radio 1 enabled (type SX1257), center frequency 868500000, RSSI offset -166.000000, tx enabled 0 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Lora multi-SF channel 0> radio 1, IF -400000 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Lora multi-SF channel 1> radio 1, IF -200000 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Lora multi-SF channel 2> radio 1, IF 0 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Lora multi-SF channel 3> radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Lora multi-SF channel 4> radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Lora multi-SF channel 5> radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Lora multi-SF channel 6> radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Lora multi-SF channel 7> radio 0, IF 400000 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Lora std channel> radio 1, IF -200000 Hz, 250000 Hz bw, SF 7 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: FSK channel> radio 1, IF 300000 Hz, 125000 Hz bw, 50000 bps datarate 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: /opt/ttn-gateway//global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: gateway MAC address is configured to 729CD9FFFEA62437 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Found 1 servers in array. 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Server 0 configured to "bridge.eu.thethings.network" 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: filename for statistical performance is configured to "loragwstat.json" 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: packets received with a valid CRC will be forwarded 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: packets received with a CRC error will NOT be forwarded 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: packets received with no CRC will NOT be forwarded 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: GPS serial port path is configured to "/dev/ttyAMA0" 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: GPS is enabled 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Using real GPS if available. 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Upstream data is enabled 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Downstream data is enabled 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Ghoststream data is disabled 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Radiostream data is enabled 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Statusstream data is enabled 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Beacon is disabled 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Packet logger is disabled 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Flush output after statistic is disabled 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Flush after each line of output is disabled 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Watchdog is disabled 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Contact email configured to "" 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: Description configured to "A TTN Gateway" 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: [main] TTY port /dev/ttyAMA0 open for GPS synchronization 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: [Transports] Initializing protocol for 1 servers 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: [TTN] server "bridge.eu.thethings.network" connected 02.05.19 16:51:36 (+0200) main 14:51:36 INFO: [main] Starting the concentrator 02.05.19 16:51:37 (+0200) main ERROR: Version of calibration firmware not expected, actual:25 expected:2 02.05.19 16:51:37 (+0200) main 14:51:37 ERROR: [main] failed to start the concentrator 02.05.19 16:51:52 (+0200) main [TTN Gateway]: Resetting concentrator on pin 11 02.05.19 16:51:52 (+0200) main 14:51:52 Multi Protocol Packet Forwarder for Lora Gateway 02.05.19 16:51:52 (+0200) main Version: 3.0.20 02.05.19 16:51:52 (+0200) main 14:51:52 Lora concentrator HAL library version info 02.05.19 16:51:52 (+0200) main Version: 5.0.1; Options: native; 02.05.19 16:51:52 (+0200) main *** 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Little endian host 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: found global configuration file /opt/ttn-gateway//global_conf.json, parsing it 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: /opt/ttn-gateway//global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: lorawan_public 1, clksrc 1 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: no configuration for LBT 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: antenna_gain 0 dBi 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Configuring TX LUT with 16 indexes 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: radio 0 enabled (type SX1257), center frequency 867500000, RSSI offset -166.000000, tx enabled 1 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: radio 1 enabled (type SX1257), center frequency 868500000, RSSI offset -166.000000, tx enabled 0 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Lora multi-SF channel 0> radio 1, IF -400000 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Lora multi-SF channel 1> radio 1, IF -200000 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Lora multi-SF channel 2> radio 1, IF 0 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Lora multi-SF channel 3> radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Lora multi-SF channel 4> radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Lora multi-SF channel 5> radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Lora multi-SF channel 6> radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Lora multi-SF channel 7> radio 0, IF 400000 Hz, 125 kHz bw, SF 7 to 12 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Lora std channel> radio 1, IF -200000 Hz, 250000 Hz bw, SF 7 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: FSK channel> radio 1, IF 300000 Hz, 125000 Hz bw, 50000 bps datarate 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: /opt/ttn-gateway//global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: gateway MAC address is configured to 729CD9FFFEA62437 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Found 1 servers in array. 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Server 0 configured to "bridge.eu.thethings.network" 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: filename for statistical performance is configured to "loragwstat.json" 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: packets received with a valid CRC will be forwarded 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: packets received with a CRC error will NOT be forwarded 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: packets received with no CRC will NOT be forwarded 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: GPS serial port path is configured to "/dev/ttyAMA0" 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: GPS is enabled 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Using real GPS if available. 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Upstream data is enabled 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Downstream data is enabled 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Ghoststream data is disabled 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Radiostream data is enabled 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Statusstream data is enabled 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Beacon is disabled 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Packet logger is disabled 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Flush output after statistic is disabled 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Flush after each line of output is disabled 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Watchdog is disabled 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Contact email configured to "" 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: Description configured to "A TTN Gateway" 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: [main] TTY port /dev/ttyAMA0 open for GPS synchronization 02.05.19 16:51:52 (+0200) main 14:51:52 INFO: [Transports] Initializing protocol for 1 servers 02.05.19 16:51:53 (+0200) main 14:51:53 INFO: [TTN] server "bridge.eu.thethings.network" connected 02.05.19 16:51:53 (+0200) main 14:51:53 INFO: [main] Starting the concentrator 02.05.19 16:51:53 (+0200) main 14:51:53 ERROR: [main] failed to start the concentrator

dapendragon commented 5 years ago

Oddly, after about an hour it started working with those settings. I have the version without LTE, so unable to help there, unfortunately.

jpmeijers commented 5 years ago

If I remember correctly it was the same for mine. It wouldn't work the first few tries, but then after a while the packet forwarder will start up. Using RAK's image it worked ok. The only difference is that their image configures the gpios to talk to the LTE modem. Maybe not configuring the modem has the side effect of interfering with the LoRa concentrator. If you manage to get it working stable, please update us here.

rkruetli commented 5 years ago

I have a new RAK7243 gateway (rak2245/RPi3+ based, non-LTE): after I lowered the SPI_SPEED to 1000000 [D(x)] my gateway connected immediately to TTN. Reset pin is 11 as already mentioned.

This was not needed with my older trustworthy ISMT Lora Light Gateway (ic880a/RPi3+ (! not the older RPi1)) based; @jpmeijers I can confirm that the reset pin on the ISMT Light Gateways backplane is 29).

Will now observe stability/reliability of the RAK7243. @dapendragon whats your impression so fare (service stop/start, reboot, etc.)?

@jpmeijers thanks for your work here!

rkruetli commented 5 years ago

after a reboot of all of my devices, only the RAK2245 device encounters...

08.06.19 00:34:35 (+0200) main 22:34:35 ERROR: [main] failed to start the concentrator 08.06.19 00:34:51 (+0200) main ERROR: Version of calibration firmware not expected, actual:0 expected:2 08.06.19 00:34:51 (+0200) main 22:34:51 ERROR: [main] failed to start the concentrator 08.06.19 00:35:07 (+0200) main 22:35:07 ERROR: [main] failed to start the concentrator 08.06.19 00:35:40 (+0200) main ERROR: Version of calibration firmware not expected, actual:0 expected:2 08.06.19 00:35:40 (+0200) main 22:35:40 ERROR: [main] failed to start the concentrator 08.06.19 00:35:56 (+0200) main ERROR: Version of calibration firmware not expected, actual:4 expected:2 08.06.19 00:35:56 (+0200) main 22:35:56 ERROR: [main] failed to start the concentrator 08.06.19 00:36:12 (+0200) main 22:36:12 ERROR: [main] failed to start the concentrator 08.06.19 00:36:29 (+0200) main 22:36:29 ERROR: [main] failed to start the concentrator 08.06.19 00:36:45 (+0200) main 22:36:45 ERROR: [main] failed to start the concentrator 08.06.19 00:37:01 (+0200) main ERROR: Version of calibration firmware not expected, actual:4 expected:2 08.06.19 00:37:01 (+0200) main 22:37:01 ERROR: [main] failed to start the concentrator 08.06.19 00:37:17 (+0200) main ERROR: Version of calibration firmware not expected, actual:4 expected:2 08.06.19 00:37:17 (+0200) main 22:37:17 ERROR: [main] failed to start the concentrator 08.06.19 00:37:36 (+0200) main 22:37:36 ERROR: [main] failed to start the concentrator 08.06.19 00:37:55 (+0200) main 22:37:55 ERROR: [main] failed to start the concentrator

lets see what happens in a few hours... good night.

rkruetli commented 5 years ago

interim state:

I tried RAKs 2245 hat with a RPi 1 B+ (2014, no wifi, should have no SPI issues) as well with the lates RPi 3 A+. Same result, often "failed to start the concentrator", sometimes even after 30h the concent can not be started. Sometimes it just starts after a couple of re-tries, often not. RAK 2245 seems to be problematic. I have no issues with ISMT ic880a or a balenaFIN-based gateway with RAK831 spi/usp PCIe concentrator (adapted run script). Maybe someone has more luck.

shawaj commented 4 years ago

@Fomi-RAK might be able to help