# TTN GATEWAY central

**URL:** <https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976>\
**Category:** TTKG - The Things Kickstarter Gateway\
**Created:** [December 5, 2017, 2:51pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976 "2017-12-05T14:51:24Z")\
**Posts on this page:** 20\
**Page:** 18

<div class="post-metadata">

**Author:** ![GrahameH](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/grahameh/32/8954_2.png) [@GrahameH](https://www.thethingsnetwork.org/forum/u/GrahameH)\
**Post date:** [February 1, 2018, 2:09pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/354 "2018-02-01T14:09:20Z")

</div>

YET? any clues on what it could be used for?

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [February 1, 2018, 2:39pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/356 "2018-02-01T14:39:58Z")

</div>

> [@GrahameH](#):
>
> YET? any clues on what it could be used for?

I don’t think the TTN firmware will be using it. But if people flash their own software, one could use it just like one could use the other sockets. (But just guessing.)

---

<div class="post-metadata">

**Author:** ![weradis](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/weradis/32/45845_2.png) [@weradis](https://www.thethingsnetwork.org/forum/u/weradis)\
**Post date:** [February 1, 2018, 3:23pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/357 "2018-02-01T15:23:39Z")

</div>

> [@arjanvanb](#):
>
> But if people flash their own software

Do we have the design details so we could actually do that?

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [February 1, 2018, 4:38pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/358 "2018-02-01T16:38:29Z")

</div>

Maybe at [https://github.com/TheThingsProducts](https://github.com/TheThingsProducts)?

---

<div class="post-metadata">

**Author:** ![weradis](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/weradis/32/45845_2.png) [@weradis](https://www.thethingsnetwork.org/forum/u/weradis)\
**Post date:** [February 1, 2018, 4:57pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/359 "2018-02-01T16:57:57Z")

</div>

It just arrived (yesterday)

---

<div class="post-metadata">

**Author:** ![cyberjunky](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/cyberjunky/32/36219_2.png) [@cyberjunky](https://www.thethingsnetwork.org/forum/u/cyberjunky)\
**Post date:** [February 1, 2018, 8:42pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/360 "2018-02-01T20:42:06Z")

</div>

Whoohoo, I managed to compile firmware from the github code, a few caveats to discover and tricks to apply.  
Did anyone know what the filename must be for the update file on the sd card and/or how to trigger an update?  
I tried it with update.zip, firmware.zip firmware.hex, things-gateway-cyberjunky-1.0-test.zip and simply booting, but no trace, maybe a button press is needed?

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [February 1, 2018, 8:48pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/361 "2018-02-01T20:48:20Z")

</div>

The files should be in a subfolder called `/update/firmware.hex` (about 2.8 MB) and `/update/checksums` (a few bytes).

(See also [No LED, no UART output on TTN Gateway after reset](https://www.thethingsnetwork.org/forum/t/no-led-no-uart-output-on-ttn-gateway-after-reset/12054/12) for a note about possible formatting issues.)

---

<div class="post-metadata">

**Author:** ![cyberjunky](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/cyberjunky/32/36219_2.png) [@cyberjunky](https://www.thethingsnetwork.org/forum/u/cyberjunky)\
**Post date:** [February 1, 2018, 8:50pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/362 "2018-02-01T20:50:33Z")

</div>

Nice I got those:

-rw-r–r-- 1 ron ron 79 feb 1 21:22 checksums  
-rw-r–r-- 1 ron ron 2767956 feb 1 21:22 firmware.hex

Back in a sec…

---

<div class="post-metadata">

**Author:** ![cyberjunky](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/cyberjunky/32/36219_2.png) [@cyberjunky](https://www.thethingsnetwork.org/forum/u/cyberjunky)\
**Post date:** [February 1, 2018, 9:17pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/363 "2018-02-01T21:17:48Z")

</div>

It worked lol! I even got packets transmitted, I never had that yet, but the reboot loop is still there 😑 at least I can add debug messages and tweak stuff.

See also “Compile TTN Gateway Firmware on Ubuntu” in [Building the TTN Gateway firmware from the GitHub code](https://www.thethingsnetwork.org/forum/t/building-the-ttn-gateway-firmware-from-the-github-code/12739/2).

![info](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/4/419406adc7c6ed4da5980f101595d9a0bbdac2e3.png)  
 ![packets](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/6/60246ad129780023e8731574a8e67327fb45520b.png)

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [February 1, 2018, 9:23pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/364 "2018-02-01T21:23:03Z")

</div>

It seems the reboot loop (for me) [is triggered by a watchdog timer](https://www.thethingsnetwork.org/forum/t/ttn-gateway-faq/11173/16). So we might be able to find the cause, or increase the timer…

(Or, in my case, it might actually be a proper WDT reset as it occurs after several `LORA: Configuration failed, retry`.)

See also [https://github.com/TheThingsProducts/gateway/issues/1](https://github.com/TheThingsProducts/gateway/issues/1)

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [February 19, 2018, 8:49pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/365 "2018-02-19T20:49:18Z")

</div>

10 posts were merged into an existing topic: [Building the TTN Gateway firmware from the GitHub code](https://www.thethingsnetwork.org/forum/t/building-the-ttn-gateway-firmware-from-the-github-code/12739)

---

<div class="post-metadata">

**Author:** ![cyberjunky](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/cyberjunky/32/36219_2.png) [@cyberjunky](https://www.thethingsnetwork.org/forum/u/cyberjunky)\
**Post date:** [February 1, 2018, 9:44pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/366 "2018-02-01T21:44:46Z")

</div>

Yeah I tried to find what exactly can trigger the watchdog. But there can be a lot of different reasons.  
I guess we need to enable SYS\_DEBUG:

```
SYS_DEBUG(SYS_ERROR_FATAL, "WDT : REASON: %d\r\n", rebootReason);
```

---

<div class="post-metadata">

**Author:** ![anttin](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/a/919ad9/32.png) [@anttin](https://www.thethingsnetwork.org/forum/u/anttin)\
**Post date:** [February 2, 2018, 12:49pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/367 "2018-02-02T12:49:00Z")

</div>

Three out of four gateways we ordered work just fine, but one is in endless reboot loop. Sometimes we can catch it via WLAN, but it stays up maybe one minute before it reboots. Also resetting does not help. Please advise what to do.

---

<div class="post-metadata">

**Author:** ![cyberjunky](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/cyberjunky/32/36219_2.png) [@cyberjunky](https://www.thethingsnetwork.org/forum/u/cyberjunky)\
**Post date:** [February 2, 2018, 1:09pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/368 "2018-02-02T13:09:42Z")

</div>

Can you check if there are differences between working an non working version when you look at lora board version, date/version/revision on main pcb other visual parts etc?  
Are you willing to swap lora board, power adapter etc to see if the problem move with it?

---

<div class="post-metadata">

**Author:** ![anttin](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/a/919ad9/32.png) [@anttin](https://www.thethingsnetwork.org/forum/u/anttin)\
**Post date:** [February 2, 2018, 1:23pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/369 "2018-02-02T13:23:43Z")

</div>

Well, the three working ones are allready installed in a demo system, so no swapping components possible, but I have relatively easy access to one of them so I can take a pic and compare component versions. What should I particulary look at?

---

<div class="post-metadata">

**Author:** ![CurlyWurly](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/curlywurly/32/38668_2.png) [@CurlyWurly](https://www.thethingsnetwork.org/forum/u/CurlyWurly)\
**Post date:** [February 2, 2018, 1:30pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/370 "2018-02-02T13:30:16Z")

</div>

For ref, This is for my **working** gateway  
 ![working gateway](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/a/a5baf5d62e505073b31ebf38bbd2519fa5aee642.jpg)

---

<div class="post-metadata">

**Author:** ![weradis](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/weradis/32/45845_2.png) [@weradis](https://www.thethingsnetwork.org/forum/u/weradis)\
**Post date:** [February 2, 2018, 1:55pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/371 "2018-02-02T13:55:21Z")

</div>

```
Wed Jan 31 2018 15:56:36 GMT+0100 (CET) analyzing dump for historical events
Thu Feb 01 2018 02:02:03 GMT+0100 (CET) reboot detected, up 6 seconds, previously up for 0 days 15:29:06
Thu Feb 01 2018 14:05:04 GMT+0100 (CET) reboot detected, up 6 seconds, previously up for 0 days 11:56:07
Fri Feb 02 2018 05:53:05 GMT+0100 (CET) reboot detected, up 6 seconds, previously up for 0 days 15:38:59
Fri Feb 02 2018 08:53:06 GMT+0100 (CET) reboot detected, up 6 seconds, previously up for 0 days 02:58:05
Fri Feb 02 2018 11:57:06 GMT+0100 (CET) reboot detected, up 6 seconds, previously up for 0 days 03:02:01

```

My uptime is variable, longest since logging 15:29:06

---

<div class="post-metadata">

**Author:** ![cyberjunky](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/cyberjunky/32/36219_2.png) [@cyberjunky](https://www.thethingsnetwork.org/forum/u/cyberjunky)\
**Post date:** [February 2, 2018, 1:58pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/372 "2018-02-02T13:58:56Z")

</div>

I’m currently not at home so I cannot look at my gateway to see parts of interest.

---

<div class="post-metadata">

**Author:** ![LoRaLake](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/loralake/32/46373_2.png) [@LoRaLake](https://www.thethingsnetwork.org/forum/u/LoRaLake)\
**Post date:** [February 2, 2018, 5:35pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/373 "2018-02-02T17:35:58Z")

</div>

Is the gateway with updated firmware still stable for you ?

---

<div class="post-metadata">

**Author:** ![cyberjunky](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/cyberjunky/32/36219_2.png) [@cyberjunky](https://www.thethingsnetwork.org/forum/u/cyberjunky)\
**Post date:** [February 2, 2018, 6:53pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/374 "2018-02-02T18:53:11Z")

</div>

The firmware that makes my gateway stable doesn’t exist yet I guess. The fw compiled from src and the latest beta don’t solve the rebooting.

[Previous page](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976.md?page=17)

[Next page](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976.md?page=19)
