# ST P-Nucleo-LRWAN2 stopped working

**URL:** <https://www.thethingsnetwork.org/forum/t/st-p-nucleo-lrwan2-stopped-working/43127>\
**Category:** Uncategorized\
**Created:** [January 22, 2021, 11:40am UTC](https://www.thethingsnetwork.org/forum/t/st-p-nucleo-lrwan2-stopped-working/43127 "2021-01-22T11:40:25Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![DashCanTtn](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/dashcanttn/32/35697_2.png) [@DashCanTtn](https://www.thethingsnetwork.org/forum/u/DashCanTtn)\
**Post date:** [January 22, 2021, 11:40am UTC](https://www.thethingsnetwork.org/forum/t/st-p-nucleo-lrwan2-stopped-working/43127/1 "2021-01-22T11:40:25Z")

</div>

I have an ST P-Nucleo-LRWAN2 kit: [P-NUCLEO-LRWAN2 - STM32 Nucleo pack LoRa™ HF band sensor and gateway - STMicroelectronics](https://www.st.com/en/evaluation-tools/p-nucleo-lrwan2.html)

I followed their instructions (User Manual UM2587), and it was all working on Tuesday (19th).

The Gateway uses the ‘legacy Semtech packet forwarder’.

I could see traffic in the Gateway console view, and in the Device console view:

![image](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/3/a/3ad04cf775c5a97a84bf0f9558d2e752f5289b40.png)

On the I-Nucleo-LRWAN1 device, the green LED blinks each time it transmits - I could see that a new payload appeared in the Device console view corresponding to each blink.

Some time in the latter part of Wednesday (20th), I noted that the LED had stopped blinking.

On Thursday (21st), looking at the Console, I saw that the Gateway status was ‘Not Connected’, and there was no data in the Device view.  
I tried restarting the Gateway (AT+RESET), but that made no difference.

I found forum posts saying that ‘Not Connected’ could simply mean that there’s no data going through the Gateway.

So I power-cycled the Device.  
This did start the LED blinking again, but the Console views showed only Join requests - no actual data messages.

(screenshot uploads seem to be broken now)

The Gateway did seem to be sending Join accepts, but the device never seemed to see them - it just carried on sending requests.

Another forum post mentioned that the device message counters might be out-of-sync - so I did a ‘Reset Frame Counters’ on the Device Overview console page.  
This made no difference.

A different device (WizziLab SH2050 shield, in LoRaWAN mode) was able to join & send data OK.

So I left the ST kit for a while - and it just started working again later in the day (Thursday).

This morning (Friday, 22nd), I see that the ST device has stopped blinking again!  
(the WizziLab is still working).

The ST device is as-received - no configuration changes or firmware updates.  
As supplied, it transmits every ~ 40s.

Is this too much? Is TTN “blacklisting” it, or something?

I’ll be posting on the ST forum, too.

I guess the main question here is, what is the best way to diagnose this stuff on TTN?

The trouble with the Console traffic views is that they seem to keep only a little history while the page is open, and that is all lost when you navigate away from the page.

Is there a way to get long-term logs?

---

<div class="post-metadata">

**Author:** ![DashCanTtn](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/dashcanttn/32/35697_2.png) [@DashCanTtn](https://www.thethingsnetwork.org/forum/u/DashCanTtn)\
**Post date:** [January 22, 2021, 11:46am UTC](https://www.thethingsnetwork.org/forum/t/st-p-nucleo-lrwan2-stopped-working/43127/2 "2021-01-22T11:46:56Z")

</div>

> [@DashCanTtn](#):
>
> (screenshot uploads seem to be broken now)

In fact, the whole forum seems a bit flaky at the moment - it’s taken several attempts to get this posted!

In the absence of my own screenshots, the screenshots in this post appear the same:

> [@TTIG Join Request, Join Accept, but No Uplink or Downlink](https://www.thethingsnetwork.org/forum/t/ttig-join-request-join-accept-but-no-uplink-or-downlink/34134):
>
> I’m experiencing an issue that is very similar to what I read here: [Only activation, No uplinks downlink,ack received on TTN Console](https://www.thethingsnetwork.org/forum/t/only-activation-no-uplinks-downlink-ack-received-on-ttn-console/20867/17). I see TTIG Traffic Logs on TTN Console like this: [image] And it appears to be online and connected according to this indicator on TTN Console: [image] I see Device Traffic Logs on TTN Console that look like this: [image] and likewise, it seems to be “connected” according to TTN Console: [image] I am pretty confident that it’s nothing to do with my device…

---

<div class="post-metadata">

**Author:** ![Jeff-UK](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jeff-uk/32/35697_2.png) [@Jeff-UK](https://www.thethingsnetwork.org/forum/u/Jeff-UK)\
**Post date:** [January 22, 2021, 11:57am UTC](https://www.thethingsnetwork.org/forum/t/st-p-nucleo-lrwan2-stopped-working/43127/3 "2021-01-22T11:57:29Z")

</div>

> [@DashCanTtn](#):
>
> he whole forum seems a bit flaky at the moment

See update from this morning - I too saw some short term trouble posting info/pictures, but appears (largely?!) resolved now - but there may be further interupts as update completes and beds in

[https://www.thethingsnetwork.org/forum/t/discourse-update/43125](https://www.thethingsnetwork.org/forum/t/discourse-update/43125)

---

<div class="post-metadata">

**Author:** ![DashCanTtn](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/dashcanttn/32/35697_2.png) [@DashCanTtn](https://www.thethingsnetwork.org/forum/u/DashCanTtn)\
**Post date:** [January 22, 2021, 12:17pm UTC](https://www.thethingsnetwork.org/forum/t/st-p-nucleo-lrwan2-stopped-working/43127/4 "2021-01-22T12:17:35Z")

</div>

Thanks.

> [@Jeff-UK](#):
>
> [https://www.thethingsnetwork.org/forum/t/discourse-update/43125](https://www.thethingsnetwork.org/forum/t/discourse-update/43125)

![image](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/d/d/dd5c949937678e18a83dfaa20c17c7a1e85703e2.png)

At one point I was getting an “under maintenance”, but it just referred me to [https://status.thethings.network/](https://status.thethings.network/) - which doesn’t mention the forum.

Also got:

![2021-01-22 (5)](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/3/c/3c5a96a782446293520efec9ff26fab990b569b0.png)

---

<div class="post-metadata">

**Author:** ![DashCanTtn](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/dashcanttn/32/35697_2.png) [@DashCanTtn](https://www.thethingsnetwork.org/forum/u/DashCanTtn)\
**Post date:** [January 22, 2021, 12:22pm UTC](https://www.thethingsnetwork.org/forum/t/st-p-nucleo-lrwan2-stopped-working/43127/5 "2021-01-22T12:22:49Z")

</div>

The above-mentioned post links to:

> [@Only activation, No uplinks downlink,ack received on TTN Console](https://www.thethingsnetwork.org/forum/t/only-activation-no-uplinks-downlink-ack-received-on-ttn-console/20867/17):
>
> This is likely a case of getting lucky in randomness, or at most a complete transmit failure. Gateway timing would be unlikely to be at fault, as the downlink RX1 for a join is quite long after the uplink - there is plenty of time. Please be careful not to mix up the terms uplink and downlink however - what you are calling uplinks are actually downlinks. Uplinks are node to network, downlinks are network to node. Additionally a RAK831 is just a concentrator card. If something is going wron…

One thing noted there is to keep the Device \>8 feet from the gateway.  
Mine was under 1 foot, but moving it \>12 feet away has made no difference:

(screenshot upload failed again)

---

<div class="post-metadata">

**Author:** ![DashCanTtn](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/dashcanttn/32/35697_2.png) [@DashCanTtn](https://www.thethingsnetwork.org/forum/u/DashCanTtn)\
**Post date:** [January 22, 2021, 12:35pm UTC](https://www.thethingsnetwork.org/forum/t/st-p-nucleo-lrwan2-stopped-working/43127/6 "2021-01-22T12:35:18Z")

</div>

There is a blue LED on the Gateway which blinks shortly after each blink of the ST Device LED (also after sending from the WizziLab device).  
I haven’t seen a description of exactly what this indicates, but it seems to show that the Gateway at least _thinks_ it has sent a reply?

---

<div class="post-metadata">

**Author:** ![Jeff-UK](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jeff-uk/32/35697_2.png) [@Jeff-UK](https://www.thethingsnetwork.org/forum/u/Jeff-UK)\
**Post date:** [January 22, 2021, 1:12pm UTC](https://www.thethingsnetwork.org/forum/t/st-p-nucleo-lrwan2-stopped-working/43127/7 "2021-01-22T13:12:11Z")

</div>

My bad I linked a Staff & Mods update thread which is locked from general users, sorry! But you get the message that Forum SW is upder upgrade process any how 😉 Back to normal soon if not already! 🙂

---

<div class="post-metadata">

**Author:** ![DashCanTtn](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/dashcanttn/32/35697_2.png) [@DashCanTtn](https://www.thethingsnetwork.org/forum/u/DashCanTtn)\
**Post date:** [January 22, 2021, 1:56pm UTC](https://www.thethingsnetwork.org/forum/t/st-p-nucleo-lrwan2-stopped-working/43127/8 "2021-01-22T13:56:37Z")

</div>

> [@DashCanTtn](#):
>
> I’ll be posting on the ST forum, too.

Here:

> **[P-Nucleo-LRWAN2 stops working on TTN](https://community.st.com/t5/stm32-mcus-wireless/p-nucleo-lrwan2-stops-working-on-ttn/m-p/229601)**
>
> Cross-post on The Things Network (TTN) forum: https://www.thethingsnetwork.org/forum/t/st-p-nucleo-lrwan2-stopped-working I followed the 'Getting Started' instructions: UM2587 Getting started with the P-NUCLEO-LRWAN2 and P-NUCLEO-LRWAN3 starter...

with some more screenshots!

---

<div class="post-metadata">

**Author:** ![DashCanTtn](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/dashcanttn/32/35697_2.png) [@DashCanTtn](https://www.thethingsnetwork.org/forum/u/DashCanTtn)\
**Post date:** [January 22, 2021, 7:11pm UTC](https://www.thethingsnetwork.org/forum/t/st-p-nucleo-lrwan2-stopped-working/43127/9 "2021-01-22T19:11:42Z")

</div>

A long thread by @hraftery on what seems to be a similar issue (though different equipment):

> [@Diagnosing unreliable join-accept reception](https://www.thethingsnetwork.org/forum/t/diagnosing-unreliable-join-accept-reception/24498):
>
> Since moving from primarily Microchip (RN2903) nodes on AU915, to a variety of nodes (eg. Seeeduino’s RisingHF and mDot’s SX1272) on AS923, I’ve never had reliable joins on TTN. After nearly a year of accepting it, I’ve gone digging for a reason. Here’s what I’ve found: The join-request looks fine, and reaches the Application Server in the console: [40%20am] [48%20am] The only strange thing I see is that the gateway’s ID usually doesn’t appear. But regardless, the join-accept also looks fin…

and, as he says, there do seem to be a lot of threads with the same issue - but no solutions.

He notes that the Join Accept is being transmitted on a different frequency to the Join Request - which is also the case for me:

 ![2021-01-22 (24)](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/0/a/0aba71d531dad761965bcf683594ef015b009cc8.png)  
It seems that the Accept is _ **always** _ sent on 869.525 - but the Request is sent on various frequencies

I also note his comments on how hard it is to collect this data - screenshots of 5 Request/Accepts per page, and a history of only about a dozen pages.  
Is there really no way to download these logs in bulk?

---

<div class="post-metadata">

**Author:** ![cslorabox](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/cslorabox/32/35697_2.png) [@cslorabox](https://www.thethingsnetwork.org/forum/u/cslorabox)\
**Post date:** [January 22, 2021, 7:34pm UTC](https://www.thethingsnetwork.org/forum/t/st-p-nucleo-lrwan2-stopped-working/43127/10 "2021-01-22T19:34:49Z")

</div>

> [@DashCanTtn](#):
>
> It seems that the Accept is _ **always** _ sent on 869.525 - but the Request is sent on various frequencies

Yes, it’s being sent in the EU868 join RX2 window, which uses fixed settings.

That _might_ hint at your problem though: TTN _normally_ uses non-standard RX2 settings of SF9BW125, but for join RX2 still needs standard SF12BW125.

It’s possible that if your node has been configured for TTN, it’s mistakenly listening during _join_ RX2 at SF9 rather than SF12, by confusing what it would be told in the join accept to do for _ordinary_ (not join) RX2.

---

<div class="post-metadata">

**Author:** ![DashCanTtn](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/dashcanttn/32/35697_2.png) [@DashCanTtn](https://www.thethingsnetwork.org/forum/u/DashCanTtn)\
**Post date:** [January 22, 2021, 8:00pm UTC](https://www.thethingsnetwork.org/forum/t/st-p-nucleo-lrwan2-stopped-working/43127/11 "2021-01-22T20:00:09Z")

</div>

OK - thanks.

But, then, how has it managed to join a couple of times - did it just happen to “get lucky”?

This is all ST stuff - I’ll have to check their docs again to see if there’s something buried that I’ve missed…

EDIT

I guess the fact that the WizziLab devices work fine suggests that the problem lies in the ST I-Nucleo device - not the gateway.
