cancel
Showing results for 
Search instead for 
Did you mean: 

Having problems with Nucleo STM32WL55JC1 joining helium network SLAVE and ENDNODE examples

shorai
Associate III

I have a working copy of both the ENdNode and Slave applications in cube running on nucleo board

These both worked from +-20 December to 28 December

I then made a small change to the endnode app - I increased the data packet to 50 bytes in lora_app.c->SendTxData

Basically I added a counter, last 4 bytes of DevEUI and battery level 

The device oes not join the network with the changed software.

In Helium Console, there is no record that join requests are being transmitted (there are about 50 gateways visible from my office). I have 3 other devices (B_072 Sigfox boards) that are working well throughout.

I have checked all the DEVEui, AppEUI and APPKEY 

I then reflashed the SLAVE app to the device. It also appears not to send join requests.  

All the device parameters appear to be correect.

If I run some combinations of 

AT+CERTIF=1  

AT+ADR=0

AT+DR=5

AT+TXP=4

I need to let it run AT+CERTIF=1 for a while, after which I may see a transmission in Helium Console

   and the board may join the network after several minutes.

Thereafter I can rejoin in _SLAVE, but not from _ENdNode

I have tried other things.

AT+ADR=0

AT_TXP=7 (cant set any higher ?)

AT+DR=5

seem to have an effect

I pressed the buttons, and maybe button 1 (store NVM) has caused some issues. AT+Z and AT+

  A) any ideas as to why the device does not appear to transmit an AT+JOIN=1

  B) What are the functions of the 3 buttons on the nucleo in EndNode 

  C) How do I reset the NVM in case that this is corrupted

  D) What is the correct AT command to turn on the radio Tx? 

  E) what is the best way to stop AT+CERTIF+1 

  Thanks

  Chris Rowse

  

Here is the log from EndNode

<code>

APPLICATION_VERSION: V1.3.0�??�?�

[11:00:12:976] MW_LORAWAN_VERSION: V2.5.0�??�?�

[11:00:12:976] MW_RADIO_VERSION:  V1.3.0�??�?�

[11:00:12:976] L2_SPEC_VERSION:   V1.0.4�??�?�

[11:00:12:993] RP_SPEC_VERSION:   V2-1.0.1�??�?�

[11:00:13:012] ###### AppKey:   2B:7E:15:16:28:AE:D2:XX:XX:XX:XX:XX:XX:XX:XX:XX�??�?�

[11:00:13:012] ###### NwkKey:   2B:7E:15:16:28:AE:D2:XX:XX:XX:XX:XX:XX:XX:XX:XX�??�?�

[11:00:13:012] ###### AppSKey:   2B:7E:15:16:28:AE:D2:XX:XX:XX:XX:XX:XX:XX:XX:XX�??�?�

[11:00:13:030] ###### NwkSKey:   2B:7E:15:16:28:AE:D2:XX:XX:XX:XX:XX:XX:XX:XX:XX�??�?�

[11:00:13:030] ###### DevEUI:   00:80:E1:15:00:XX:XX:XX�??�?�

[11:00:13:030] ###### AppEUI:   01:01:01:01:01:XX:XX:XX�??�?�

[11:00:13:030] ###### DevAddr:   00:0A:8F:B1�??�?�

[11:00:13:030] 0s039:TX on freq 868500000 Hz at DR 0�??�?�

[11:00:14:492] 1s524:MAC txDone�??�?�

[11:00:19:524] 6s556:RX_1 on freq 868500000 Hz at DR 0�??�?�

[11:00:19:722] 6s753:IRQ_RX_TX_TIMEOUT�??�?�

[11:00:19:725] 6s754:MAC rxTimeOut�??�?�

[11:00:20:524] 7s556:RX_2 on freq 869525000 Hz at DR 0�??�?�

[11:00:20:722] 7s753:IRQ_RX_TX_TIMEOUT�??�?�

[11:00:20:725] 7s754:MAC rxTimeOut�??�?�

[11:00:20:733] �??�?�

[11:00:20:733] ###### = JOIN FAILED�??�?�

[11:00:23:013] 10s044:TX on freq 868300000 Hz at DR 0�??�?�

[11:00:24:498] 11s530:MAC txDone�??�?�

[11:00:29:531] 16s562:RX_1 on freq 868300000 Hz at DR 0�??�?�

[11:00:29:729] 16s759:IRQ_RX_TX_TIMEOUT�??�?�

[11:00:29:740] 16s760:MAC rxTimeOut�??�?�

[11:00:30:531] 17s562:RX_2 on freq 869525000 Hz at DR 0�??�?�

[11:00:30:729] 17s759:IRQ_RX_TX_TIMEOUT�??�?�

[11:00:30:731] 17s760:MAC rxTimeOut�??�?�

[11:00:30:746] �??�?�

[11:00:30:746] ###### = JOIN FAILED�??�?�

[11:00:33:020] 20s050:TX on freq 868100000 Hz at DR 0�??�?�

[11:00:34:504] 21s536:MAC txDone�??�?�

[11:00:39:537] 26s568:RX_1 on freq 868100000 Hz at DR 0�??�?�

[11:00:39:735] 26s765:IRQ_RX_TX_TIMEOUT�??�?�

[11:00:39:759] 26s766:MAC rxTimeOut�??�?�

[11:00:40:537] 27s568:RX_2 on freq 869525000 Hz at DR 0�??�?�

[11:00:40:735] 27s765:IRQ_RX_TX_TIMEOUT�??�?�

[11:00:40:741] 27s766:MAC rxTimeOut�??�?�

[11:00:40:741] �??�?�

[11:00:40:741] ###### = JOIN FAILED�??�?�

</CODE>

Here is the log from the slave on AT+JOIN=1

<code>

[11:43:09:570] �??�?�

[11:43:09:588] OK�??�?�

[11:43:14:415] 101s823:TX on freq 868300000 Hz at DR 5�??�?�

[11:43:14:458] �??�?�

[11:43:14:473] OK�??�?�

[11:43:14:491] 101s886:MAC txDone�??�?�

[11:43:19:460] 106s868:RX_1 on freq 868300000 Hz at DR 5�??�?�

[11:43:19:515] 106s914:IRQ_RX_TX_TIMEOUT�??�?�

[11:43:19:536] 106s914:MAC rxTimeOut�??�?�

[11:43:20:511] 107s918:RX_2 on freq 869525000 Hz at DR 0�??�?�

[11:43:20:709] 108s116:IRQ_RX_TX_TIMEOUT�??�?�

[11:43:20:738] 108s117:MAC rxTimeOut�??�?�

[11:43:20:763] +EVT:JOIN FAILED�??�?�

[11:43:38:101] 125s507:TX on freq 868500000 Hz at DR 5�??�?�

[11:43:38:149] �??�?�

[11:43:38:149] OK�??�?�

[11:43:38:164] 125s571:MAC txDone�??�?�

[11:43:43:146] 130s552:RX_1 on freq 868500000 Hz at DR 5�??�?�

[11:43:43:206] 130s598:IRQ_RX_TX_TIMEOUT�??�?�

[11:43:43:221] 130s598:MAC rxTimeOut�??�?�

[11:43:44:196] 131s603:RX_2 on freq 869525000 Hz at DR 0�??�?�

[11:43:44:394] 131s800:IRQ_RX_TX_TIMEOUT�??�?�

[11:43:44:423] 131s801:MAC rxTimeOut�??�?�

[11:43:44:451] +EVT:JOIN FAILED�??�?�

[11:44:00:018] 3�??�?�

[11:44:00:022] �??�?�

[11:44:00:042] OK�??�?�

</code>

And from AT+CERTTIF=1

[11:51:10:160] +EVT:JOIN FAILED�??�?�
[11:51:11:814] 579s197:TX on freq 868100000 Hz at DR 5�??�?�
[11:51:11:878] 579s260:MAC txDone�??�?�
[11:51:16:859] 584s242:RX_1 on freq 868100000 Hz at DR 5�??�?�
[11:51:16:906] 584s288:IRQ_RX_TX_TIMEOUT�??�?�
[11:51:16:957] 584s288:MAC rxTimeOut�??�?�
[11:51:17:910] 585s292:RX_2 on freq 869525000 Hz at DR 0�??�?�
[11:51:18:108] 585s490:IRQ_RX_TX_TIMEOUT�??�?�
[11:51:18:137] 585s491:MAC rxTimeOut�??�?�
[11:51:18:161] +EVT:JOIN FAILED�??�?�
[11:51:19:814] 587s197:TX on freq 868500000 Hz at DR 5�??�?�
[11:51:19:880] 587s260:MAC txDone�??�?�
[11:51:24:859] 592s242:RX_1 on freq 868500000 Hz at DR 5�??�?�
[11:51:24:909] 592s288:IRQ_RX_TX_TIMEOUT�??�?�
[11:51:24:935] 592s288:MAC rxTimeOut�??�?�
[11:51:25:910] 593s292:RX_2 on freq 869525000 Hz at DR 0�??�?�
[11:51:26:108] 593s490:IRQ_RX_TX_TIMEOUT�??�?�
[11:51:26:139] 593s491:MAC rxTimeOut�??�?�
[11:51:26:162] +EVT:JOIN FAILED�??�?�
[11:51:27:815] 595s197:TX on freq 868500000 Hz at DR 5�??�?�
[11:51:27:879] 595s260:MAC txDone�??�?�
[11:51:32:860] 600s242:RX_1 on freq 868500000 Hz at DR 5�??�?�
[11:51:32:929] 600s310:MAC rxDone�??�?�
[11:51:32:951] +EVT:JOINED�??�?�
[11:51:32:969] ###### MCRootKey:   7D:F7:6B:0C:1A:B8:99:B3:3E:XX:XX:XX:XX:XX:XX:XX�??�?�
[11:51:33:037] ###### MCKEKey:     8C:B8:66:5E:0C:0E:0B:64:5B:XX:XX:XX:XX:XX:XX:XX�??�?�
[11:51:33:109] ###### AppSKey:     E5:73:AF:29:A7:DA:1E:0C:3F:XX:XX:XX:XX:XX:XX:XX�??�?�
[11:51:33:186] ###### NwkSKey:     0D:37:29:7D:FA:A2:41:49:1A:XX:XX:XX:XX:XX:XX:XX�??�?�
[11:51:33:252] ###### DBIntKey:    7A:C4:7C:65:FE:25:9B:B6:54:XX:XX:XX:XX:XX:XX:XX�??�?�
[11:51:33:330] ###### DevEUI:      00:80:E1:15:00:XX:XX:XX�??�?�
[11:51:33:371] ###### AppEUI:      01:01:01:01:01:01:01:01�??�?�
[11:51:33:419] ###### DevAddr:     48:00:00:20�??�?�
[11:51:35:815] 603s197:TX on freq 868100000 Hz at DR 5�??�?�
[11:51:35:868] 603s246:MAC txDone�??�?�
[11:51:36:845] 604s227:RX_1 on freq 868100000 Hz at DR 5�??�?�
[11:51:36:901] 604s273:IRQ_RX_TX_TIMEOUT�??�?�
[11:51:36:928] 604s273:MAC rxTimeOut�??�?�
[11:51:37:896] 605s278:RX_2 on freq 869525000 Hz at DR 0�??�?�
[11:51:38:094] 605s475:IRQ_RX_TX_TIMEOUT�??�?�
[11:51:38:129] 605s476:MAC rxTimeOut�??�?�

AS you can see, this eventually joins, after which SLAVE is abel to communicate.

Reflaxhinf _EndNode unfortunately is still unable to connect

0 REPLIES 0