# TTN Gateway - FAQ

**URL:** <https://www.thethingsnetwork.org/forum/t/ttn-gateway-faq/11173>\
**Category:** TTKG - The Things Kickstarter Gateway\
**Created:** [December 15, 2017, 10:01am UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-faq/11173 "2017-12-15T10:01:01Z")\
**Posts on this page:** 1\
**Showing post:** 16

<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, 5:37pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-faq/11173/16 "2018-02-01T17:37:07Z")

</div>

## What does the number in “Reboot reason: 0x13” refer to?

The source code of the firmware [shows](https://github.com/TheThingsProducts/gateway/blob/master/firmware/vendor/harmony/framework/peripheral/reset/processor/reset_p32mz2048efm144.h#L29-L42):

```cpp
RESET_REASON_NONE = 0x00000000,
RESET_REASON_POWERON = 0x00000003,
RESET_REASON_BROWNOUT = 0x00000002,
RESET_REASON_WDT_TIMEOUT = 0x00000010,
RESET_REASON_DMT_TIMEOUT = 0x00000020,
RESET_REASON_SOFTWARE = 0x00000040,
RESET_REASON_MCLR = 0x00000080,
RESET_REASON_CONFIG_MISMATCH = 0x00000200,
RESET_REASON_ALL = 0x000002F3

```

As the method to clear the reason [is documented as](https://github.com/TheThingsProducts/gateway/blob/59010b338e018eea06f6fa99f128acb6808ebaba/firmware/vendor/harmony/framework/system/reset/src/sys_reset.c#L106-L108) as:

> This function clears the specified status flag(s) that were previously set by the processor to identify the reason for the most recent reset.

… and `RESET_REASON_ALL = 0x2F3` is just the bitwise OR of all the above, a first guess is that `0x13` refers to both `0x03` and `0x10`. But that needs to be confirmed.

WDT would be a watchdog timer; DMT a deadman timer.

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/ttn-gateway-faq/11173)._
