USI_I-NUCLEO-LRWAN1 Does not answer to join accept twice

Hello,
I run the at_master example from I-NUCLEO-LRWAN2 eval pack.

I did update the firmaware to set my app id and app key using LoRa_SetAppID() and LoRa_SetKey().
It worked correctly. I’m collecting data through TTN.

Then I did reboot the device and from that point, the app is no more functionnal.
Using gateway logs from TTN. I can see that after a join request, the gateway sent a “Join Accept” frame. (see screenshot)

image

If I sniff the serial port for AT commands, I can see that the modem answers “OK” to the “at+join=1” but does not send the “+JoinAccepted” as I think it should. See logs below:

Time [s] Direction
4.219882000000000 <— ‘0’
4.676934000000000 <— \r
4.677020500000000 <— #
4.677108000000000 <— ’ ’
5.377679000000000 —> A
5.377766000000000 —> T
5.377853000000000 —> E
5.377940000000000 —> =
5.378027000000000 —> 0
5.378114000000000 —> \r
5.378921500000000 <— O
5.379008500000000 <— K
5.379095500000000 <— \r
5.379183000000000 <— \n
5.379343000000000 <— \r
5.379430000000000 <— #
5.379517000000000 <— ’ ’
7.383442500000000 —> A
7.383529500000000 —> T
7.383616500000000 —> +
7.383703500000000 —> A
7.383790500000000 —> P
7.383877500000000 —> P
7.383964500000000 —> E
7.384052000000000 —> U
7.384139000000000 —> I
7.384226000000000 —> =
7.384313000000000 —> 7
7.384400000000000 —> 0
7.384487000000000 —> b
7.384574000000000 —> 3
7.384661000000000 —> d
7.384748000000000 —> 5
7.384835000000000 —> 7
7.384922000000000 —> e
7.385009000000000 —> d
7.385096000000000 —> 0
7.385183000000000 —> 0
7.385270000000000 —> 2
7.385357000000000 —> a
7.385444000000000 —> 5
7.385531000000000 —> 2
7.385618000000000 —> f
7.385705000000000 —> \r
7.387433500000000 <— O
7.387520500000000 <— K
7.387607500000000 <— \r
7.387695000000000 <— \n
7.387855000000000 <— \r
7.387942000000000 <— #
7.388029000000000 <— ’ ’
8.389777000000000 —> A
8.389863500000001 —> T
8.389950499999999 —> +
8.390037500000000 —> A
8.390124500000001 —> K
8.390211499999999 —> =
8.390298500000000 —> 0
8.390385500000001 —> a
8.390472500000000 —> 2
8.390559500000000 —> 8
8.390646500000001 —> c
8.390733500000000 —> a
8.390820500000000 —> d
8.390907500000001 —> 3
8.390994500000000 —> 9
8.391081500000000 —> d
8.391168499999999 —> 7
8.391255500000000 —> d
8.391342500000000 —> 6
8.391429499999999 —> 3
8.391516500000000 —> 9
8.391603500000000 —> 0
8.391690499999999 —> 5
8.391777500000000 —> 0
8.391864500000001 —> e
8.391951499999999 —> 6
8.392038500000000 —> 0
8.392125500000001 —> 8
8.392212499999999 —> b
8.392299500000000 —> 3
8.392386500000001 —> 1
8.392473499999999 —> b
8.392560500000000 —> f
8.392647500000001 —> 1
8.392734500000000 —> d
8.392821500000000 —> 0
8.392908500000001 —> 2
8.392995500000000 —> 7
8.393082500000000 —> \r
8.395291500000001 <— O
8.395378500000000 <— K
8.395465500000000 <— \r
8.395552500000001 <— \n
8.395713000000001 <— \r
8.395799999999999 <— #
8.395887000000000 <— ’ ’
9.398038500000000 —> A
9.398125500000001 —> T
9.398212500000000 —> \r
9.398878500000000 <— O
9.398965499999999 <— K
9.399052500000000 <— \r
9.399139999999999 <— \n
9.399296500000000 —> A
9.399300000000000 <— \r
9.399383500000001 —> T
9.399387000000001 <— #
9.399470500000000 —> +
9.399474000000000 <— ’ ’
9.399557500000000 —> E
9.399644500000001 —> U
9.399731500000000 —> I
9.399819000000001 —> \r
9.412978000000001 <— e
9.413065000000000 <— 2
9.413152000000000 <— COMMA
9.413239500000000 <— 4
9.413326500000000 <— f
9.413413500000001 <— COMMA
9.413500500000000 <— 4
9.413587500000000 <— 3
9.413675000000000 <— COMMA
9.413762000000000 <— f
9.413849000000001 <— f
9.413936000000000 <— COMMA
9.414023500000001 <— f
9.414110500000000 <— e
9.414197500000000 <— COMMA
9.414284500000001 <— 4
9.414372000000000 <— 4
9.414459000000001 <— COMMA
9.414546000000000 <— c
9.414633000000000 <— e
9.414720000000001 <— COMMA
9.414807000000000 <— f
9.414894500000001 <— f
9.414981500000000 <— \r
9.415068500000000 <— \n
9.415253500000000 <— O
9.415340000000000 <— K
9.415427500000000 <— \r
9.415514500000000 <— \n
9.415675000000000 <— \r
9.415762000000001 <— #
9.415804500000000 —> A
9.415849000000000 <— ’ ’
9.415891500000001 —> T
9.415978500000000 —> +
9.416065500000000 —> A
9.416152500000001 —> P
9.416239500000000 —> P
9.416326500000000 —> E
9.416413500000001 —> U
9.416501000000000 —> I
9.416588000000001 —> \r
9.429144500000000 <— 7
9.429231500000000 <— 0
9.429318500000001 <— COMMA
9.429406000000000 <— b
9.429493000000001 <— 3
9.429580000000000 <— COMMA
9.429667000000000 <— d
9.429754000000001 <— 5
9.429841500000000 <— COMMA
9.429928500000001 <— 7
9.430015500000000 <— e
9.430102500000000 <— COMMA
9.430190000000000 <— d
9.430277000000000 <— 0
9.430364000000001 <— COMMA
9.430451000000000 <— 0
9.430538000000000 <— 2
9.430625500000000 <— COMMA
9.430712500000000 <— a
9.430799499999999 <— 5
9.430886500000000 <— COMMA
9.430973500000000 <— 2
9.431061000000000 <— f
9.431148000000000 <— \r
9.431235500000000 <— \n
9.431422500000000 <— O
9.431509000000000 <— K
9.431596499999999 <— \r
9.431683500000000 <— \n
9.431844000000000 <— \r
9.431931000000001 <— #
9.431998000000000 —> A
9.432017999999999 <— ’ ’
9.432085000000001 —> T
9.432172000000000 —> +
9.432259000000000 —> A
9.432346000000001 —> D
9.432433000000000 —> R
9.432520000000000 —> =
9.432607000000001 —> 0
9.432694000000000 —> \r
9.433870000000001 <— O
9.433956999999999 <— K
9.434044000000000 <— \r
9.434131499999999 <— \n
9.434291999999999 <— \r
9.434296000000000 —> A
9.434378499999999 <— #
9.434383000000000 —> T
9.434465500000000 <— ’ ’
9.434469999999999 —> +
9.434557000000000 —> D
9.434644000000000 —> R
9.434730999999999 —> =
9.434818000000000 —> 3
9.434905000000001 —> \r
9.436068499999999 <— O
9.436155500000000 <— K
9.436242500000001 <— \r
9.436330000000000 <— \n
9.436489999999999 <— \r
9.436577000000000 <— #
9.436589000000000 —> A
9.436664000000000 <— ’ ’
9.436676000000000 —> T
9.436762999999999 —> +
9.436850000000000 —> J
9.436937000000000 —> O
9.437023999999999 —> I
9.437111000000000 —> N
9.437198000000000 —> =
9.437284999999999 —> 1
9.437372000000000 —> \r
9.495920000000000 <— O
9.496007000000001 <— K
9.496093999999999 <— \r
9.496181000000000 <— \n
9.496341500000000 <— \r
9.496428500000000 <— # <<-------- No answer to join.
9.496515499999999 <— ’ ’
29.503772000000001 <— ‘0’ <<-------- Start New attempt
29.640532499999999 <— \r
29.640619000000001 <— #
29.640706500000000 <— ’ ’
30.509341500000001 —> A
30.509428499999999 —> T
30.509515499999999 —> E
30.509602999999998 —> =
30.509689999999999 —> 0
30.509777000000000 —> \r
30.510584000000001 <— O
30.510670999999999 <— K
30.510757999999999 <— \r
30.510845499999999 <— \n
30.511005999999998 <— \r
30.511092500000000 <— #
30.511180000000000 <— ’ ’
32.515253999999999 —> A
32.515340999999999 —> T
32.515428000000000 —> +
32.515515000000001 —> A
32.515602000000001 —> P
32.515689000000002 —> P
32.515776000000002 —> E
32.515863000000003 —> U
32.515949999999997 —> I
32.516036999999997 —> =
32.516123999999998 —> 7
32.516210999999998 —> 0

That was yesterday. This morning, I reflashed the gateway firmware, plugged the node and… it works. I reboot the node et have the same issue than yesterday. I re-reflashed the gateway without anymore success.

Do you have any idea of what may happen?

Thanks
Julien
(And yes, I let everything in clear, in the above data in order that you can check everything if you need. This is a test app that will be destroyed in the future) .

Have you found a solution? (I thought it would be plug and play). I buy P-NUCLEO-LRWAN2.

Sorry, but no.
See hee:

Couldn’t we use a version that didn’t have the problem? (looks like it’s from 4.0.x