This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Thread Secure OTA DFU Example: Server not responding to Trigger Packet (GET)

Hello everyone,

I set up Thread Secure OTA DFU Example by using a nrf52840 DK as DFU server and a nrf52840 Dongle as DFU client. I am using nRF5 SDK for Thread and Zigbee v4.0.0.

I modified the client project and the bootloader in the example (which are for the DK) in order to be flashed on the Dongle. In particular, I simply changed the preprocessor definition from BOARD_PCA10056 to BOARD_PCA10059. I did no changes to the macros defining flash and ram start addresses and sizes, since they should already take into account the presence of mbr and bootloader. 

Then, according to this tutorial  https://infocenter.nordicsemi.com/topic/sdk_tz_v4.0.0/thread_example_dfu.html , I performed the following steps:

On the DONGLE:

> Erase: nrfjprog -f nrf52 --eraseall 

> Flash mbr: nrfjprog -f nrf52 -r --program ../../../components/softdevice/mbr/hex/mbr_nrf52_2.4.1_mbr.hex --chiperase
> Flash bootloader: nrfjprog -f nrf52 -r --program bootloader/pca10059/blank/armgcc/_build/nrf52840_xxaa_mbr.hex

> compile client application: make -C client/pca10059/blank/armgcc

> generate settins file: nrfutil settings generate --family NRF52840 --application client/pca10059/blank/armgcc/_build/nrf52840_xxaa.hex --application-version 1 --bootloader-version 1 --bl-settings-version 1 settings.hex

> merge settings with client application: mergehex -m client/pca10059/blank/armgcc/_build/nrf52840_xxaa.hex settings.hex -o dfu_client.hex

> flash client application: nrfjprog -f nrf52 -r --program dfu_client.hex --sectorerase

If I read the dongle memory, the result is the folloqing one:

Subsequently, I modified the client project by adding this line: 

bsp_board_led_on(3);

then compiled client application again and generated the new fw zip package with:

> nrfutil pkg generate --hw-version 52 --sd-req 0x00 --application-version 2 --application client/pca10059/blank/armgcc/_build/nrf52840_xxaa.hex --key-file priv.pem app_dfu_package.zip

Finally, I run this command on the DK:
> nrfutil dfu thread -f -pkg app_dfu_package.zip -p COM13 --channel 11 --panid 43981.

The result is that the dfu server remains in this condition and no firmware update occurs on the dongle. I do not see the reset of the client and the led being lighted by the new application.

 

I also set up a thread sniffer in order to understand what is happening; this is what I get:

If I power the dongle off and then power it on again, the behaviour is the following:

I have just started working with thread, but I think that the problem is that dfu server is not responding to the Trigger Packet (GET) sent by the dongle.

Is it correct? What could be the reason for this wrong behaviour?

Thank you.

Michela

Parents
  • Hi Michela,

    Sorry for the late reply. Could you run a debug session and take a look at the RTT log on the DFU client so we can get more information?

    The example runs on the nRF52840 DK and I don't see why it shouldn't run on the nRF52840 dongle once you have change the board in the preprocessor definitions in both the bootloader and the dfu client application.

    Unfortunately I am working home office and I don't have a nRF52840 dongle with the SWD header soldered to it, so I haven't been able to test the Thread DFU client example on the dongle, but I have asked a colleague to test this for me and he will try again tomorrow.

    Just to be sure, you made sure to change the preprocessor definitions flags in the Makefile right?

    Best regards,

    Marjeris

Reply
  • Hi Michela,

    Sorry for the late reply. Could you run a debug session and take a look at the RTT log on the DFU client so we can get more information?

    The example runs on the nRF52840 DK and I don't see why it shouldn't run on the nRF52840 dongle once you have change the board in the preprocessor definitions in both the bootloader and the dfu client application.

    Unfortunately I am working home office and I don't have a nRF52840 dongle with the SWD header soldered to it, so I haven't been able to test the Thread DFU client example on the dongle, but I have asked a colleague to test this for me and he will try again tomorrow.

    Just to be sure, you made sure to change the preprocessor definitions flags in the Makefile right?

    Best regards,

    Marjeris

Children
  • Hi Marjeris,

    Thank you for your reply. I have just run two debug sessions with RTT. 

    In the first case I run the debugger on the DFU client (the dongle) and then started the DFU server with nrfutil command.

    RTT log is the following:

    In the second case I just restarted the fw execution on the client (no reprogramming of the dongle) and then started DFU server: 

    These two trials were done by using the multicast DFU modality. The DFU server, in this case, blocks in this condition:

    As for the changes made to adapt the example for the dongle, here is the list:

    > client makefile

    PROJECT_NAME     := thread_secure_dfu_client_pca10059

    CFLAGS += -DBOARD_PCA10059

    > The same for the bootloader makefile

    PROJECT_NAME     := thread_secure_dfu_bootloader_secure_dfu_blank_pca10059

    CFLAGS += -DBOARD_PCA10059

    ASMFLAGS += -DBOARD_PCA10059

    ASMFLAGS += -DBOARD_PCA10059

    Is there a possibility that something is wrong with nrfutil?

    Thank you very much for your help despite the difficulties of this period.

    Best regards,

    Michela

  • Hi again Marjeris,

    I would like to add to the previous hints also nrfutile verbose log, both from unicast and multicast modalities.

    2020-03-27 10:55:50,341 Image type application found
    2020-03-27 10:55:50,347 Attaching to the network
    2020-03-27 10:55:50,347 Setting property PROP_IPv6_ICMP_PING_OFFLOAD to 1
    2020-03-27 10:55:50,358 Done
    2020-03-27 10:55:50,358 Setting property PROP_THREAD_RLOC16_DEBUG_PASSTHRU to 1
    2020-03-27 10:55:50,362 Done
    2020-03-27 10:55:50,362 Setting property PROP_PHY_CHAN to 11
    2020-03-27 10:55:50,366 Done
    2020-03-27 10:55:50,366 Setting property PROP_MAC_15_4_PANID to 43981
    2020-03-27 10:55:50,371 Done
    2020-03-27 10:55:50,371 Setting property PROP_NET_MASTER_KEY to b'\x00\x11"3DUfw\x88\x99\xaa\xbb\xcc\xdd\xee\xff'
    2020-03-27 10:55:50,378 Done
    2020-03-27 10:55:50,378 Setting property PROP_NET_IF_UP to 1
    2020-03-27 10:55:50,381 Done
    2020-03-27 10:55:50,382 Setting property PROP_NET_STACK_UP to 1
    2020-03-27 10:55:50,385 Done
    2020-03-27 10:55:52,402 Done
    2020-03-27 10:55:52,402 NCP Thread IPv6 addresses:
    2020-03-27 10:55:52,413 fdde:ad00:beef::ff:fe00:9801
    2020-03-27 10:55:52,414 fdde:ad00:beef:0:4e1e:c57e:373b:7205
    2020-03-27 10:55:52,414 fe80::c045:bd41:7fc6:9bdf
    2020-03-27 10:56:18,415 Triggering DFU on Endpoint(addr=IPv6Address('ff03::1'), port=5683)
    2020-03-27 10:56:18,417 Sending message to ff03::1:5683
    2020-03-27 10:56:18,421 Sending datagram fdde:ad00:beef::ff:fe00:2800 5683 ff03::1 5683
    2020-03-27 10:56:18,422 Message b'R\x02\xb3\x83\x90\xa0\xb1t\xff\x1c\x00\x00\x00\x8c\xa4\xa8dn\x00\x06\x18\xe4z5\xb8-' sent successfully
    2020-03-27 10:56:18,422 Sending request - Token: 90a0, Host: ff03::1, Port: 5683
    2020-03-27 10:56:20,423 Request timed out
    2020-03-27 10:56:20,423 Exchange removed, Message ID: 45955.
    2020-03-27 10:56:20,424 Sending message to ff03::1:5683
    2020-03-27 10:56:20,427 Sending datagram fdde:ad00:beef::ff:fe00:2800 5683 ff03::1 5683
    2020-03-27 10:56:20,429 Message b'R\x02\xb3\x83\x90\xa0\xb1t\xff\x1c\x00\x00\x00\x8c\xa4\xa8dn\x00\x06\x18\xe4z5\xb8-' sent successfully
    2020-03-27 10:56:20,437 Sending request - Token: 90a0, Host: ff03::1, Port: 5683
    2020-03-27 10:56:22,437 Request timed out
    2020-03-27 10:56:22,438 Exchange removed, Message ID: 45955.
    2020-03-27 10:56:22,439 Sending message to ff03::1:5683
    2020-03-27 10:56:22,449 Sending datagram fdde:ad00:beef::ff:fe00:2800 5683 ff03::1 5683
    2020-03-27 10:56:22,450 Message b'R\x02\xb3\x83\x90\xa0\xb1t\xff\x1c\x00\x00\x00\x8c\xa4\xa8dn\x00\x06\x18\xe4z5\xb8-' sent successfully
    2020-03-27 10:56:22,458 Sending request - Token: 90a0, Host: ff03::1, Port: 5683
    2020-03-27 10:56:24,458 Request timed out
    2020-03-27 10:56:24,458 Exchange removed, Message ID: 45955.
    2020-03-27 10:56:24,470 Uploading resource (b'i',) block 0 to ff03::1
    2020-03-27 10:56:24,508 Sending block 0 to ff03::1
    2020-03-27 10:56:24,509 Sending message to ff03::1:5683
    2020-03-27 10:56:24,513 Sending datagram fdde:ad00:beef::ff:fe00:2800 5683 ff03::1 5683
    2020-03-27 10:56:24,515 Message b'P\x03\xb3\x84\xb1i\xd1\x03\n\xff\x12\x89\x01\nC\x08\x01\x12?\x08\x02\x104\x1a\x01\x00 \x00(\x000\x008\xe4\xb1\x18B$\x08\x03\x12 \x01\xb7K\xa2\xa3\xfbC\x9f5u\x90\xec\x17-\x8c\xc8WUL)\x15\x1cm\x9f\xf8\x0e\xf0l\x8a\x1e\x87\xb2' sent successfully
    2020-03-27 10:56:24,515 Sending request - Token: , Host: ff03::1, Port: 5683
    2020-03-27 10:56:25,026 Uploading resource (b'i',) block 1 to ff03::1
    2020-03-27 10:56:25,033 Sending block 1 to ff03::1
    2020-03-27 10:56:25,034 Sending message to ff03::1:5683
    2020-03-27 11:07:56,233 Write timeout
    Traceback (most recent call last):
      File "c:\program files (x86)\python\lib\site-packages\nordicsemi\__main__.py", line 1381, in thread
        pause()
      File "c:\program files (x86)\python\lib\site-packages\nordicsemi\__main__.py", line 147, in pause
        input()
      File "c:\program files (x86)\python\lib\site-packages\nordicsemi\__main__.py", line 1371, in <lambda>
        sighandler = lambda signum, frame : transport.close()
      File "c:\program files (x86)\python\lib\site-packages\nordicsemi\thread\tncp.py", line 240, in close
        self._wpan.cmd_reset()
      File "c:\program files (x86)\python\lib\site-packages\spinel\codec.py", line 1045, in cmd_reset
        self.transact(SPINEL.CMD_RESET)
      File "c:\program files (x86)\python\lib\site-packages\spinel\codec.py", line 893, in transact
        self.stream_tx(pkt)
      File "c:\program files (x86)\python\lib\site-packages\spinel\codec.py", line 934, in stream_tx
        self.stream.write(pkt)
      File "c:\program files (x86)\python\lib\site-packages\spinel\stream.py", line 61, in write
        self.serial.write(data)
      File "c:\program files (x86)\python\lib\site-packages\serial\serialwin32.py", line 323, in write
        raise writeTimeoutError
    serial.serialutil.SerialTimeoutException: Write timeout
    2020-03-27 11:11:16,853 Image type application found
    2020-03-27 11:11:16,859 Attaching to the network
    2020-03-27 11:11:16,859 Setting property PROP_IPv6_ICMP_PING_OFFLOAD to 1
    2020-03-27 11:11:16,869 Done
    2020-03-27 11:11:16,869 Setting property PROP_THREAD_RLOC16_DEBUG_PASSTHRU to 1
    2020-03-27 11:11:16,873 Done
    2020-03-27 11:11:16,873 Setting property PROP_PHY_CHAN to 11
    2020-03-27 11:11:16,876 Done
    2020-03-27 11:11:16,876 Setting property PROP_MAC_15_4_PANID to 43981
    2020-03-27 11:11:16,880 Done
    2020-03-27 11:11:16,880 Setting property PROP_NET_MASTER_KEY to b'\x00\x11"3DUfw\x88\x99\xaa\xbb\xcc\xdd\xee\xff'
    2020-03-27 11:11:16,886 Done
    2020-03-27 11:11:16,886 Setting property PROP_NET_IF_UP to 1
    2020-03-27 11:11:16,890 Done
    2020-03-27 11:11:16,890 Setting property PROP_NET_STACK_UP to 1
    2020-03-27 11:11:16,894 Done
    2020-03-27 11:11:18,912 Done
    2020-03-27 11:11:18,912 NCP Thread IPv6 addresses:
    2020-03-27 11:11:18,922 fdde:ad00:beef::ff:fe00:9801
    2020-03-27 11:11:18,922 fdde:ad00:beef:0:cc58:adcf:bdda:4c79
    2020-03-27 11:11:18,923 fe80::8ca9:79f9:26be:4d02
    2020-03-27 11:11:44,928 Triggering DFU on Endpoint(addr=IPv6Address('ff03::1'), port=5683)
    2020-03-27 11:11:44,930 Sending message to ff03::1:5683
    2020-03-27 11:11:44,934 Sending datagram fdde:ad00:beef::ff:fe00:4c00 5683 ff03::1 5683
    2020-03-27 11:11:44,935 Message b'R\x02\xdd\xd6e\xca\xb1t\xff\x1c\x00\x00\x00\x8c\xa4\xa8dn\x00\x06\x18\xe4z5\xb8-' sent successfully
    2020-03-27 11:11:44,936 Sending request - Token: 65ca, Host: ff03::1, Port: 5683
    2020-03-27 11:11:46,937 Request timed out
    2020-03-27 11:11:46,937 Exchange removed, Message ID: 56790.
    2020-03-27 11:11:46,938 Sending message to ff03::1:5683
    2020-03-27 11:11:46,942 Sending datagram fdde:ad00:beef::ff:fe00:4c00 5683 ff03::1 5683
    2020-03-27 11:11:46,942 Message b'R\x02\xdd\xd6e\xca\xb1t\xff\x1c\x00\x00\x00\x8c\xa4\xa8dn\x00\x06\x18\xe4z5\xb8-' sent successfully
    2020-03-27 11:11:46,943 Sending request - Token: 65ca, Host: ff03::1, Port: 5683
    2020-03-27 11:11:48,943 Request timed out
    2020-03-27 11:11:48,943 Exchange removed, Message ID: 56790.
    2020-03-27 11:11:48,945 Sending message to ff03::1:5683
    2020-03-27 11:11:48,949 Sending datagram fdde:ad00:beef::ff:fe00:4c00 5683 ff03::1 5683
    2020-03-27 11:11:48,949 Message b'R\x02\xdd\xd6e\xca\xb1t\xff\x1c\x00\x00\x00\x8c\xa4\xa8dn\x00\x06\x18\xe4z5\xb8-' sent successfully
    2020-03-27 11:11:48,951 Sending request - Token: 65ca, Host: ff03::1, Port: 5683
    2020-03-27 11:11:50,952 Request timed out
    2020-03-27 11:11:50,952 Exchange removed, Message ID: 56790.
    2020-03-27 11:11:50,957 Uploading resource (b'i',) block 0 to ff03::1
    2020-03-27 11:11:50,969 Sending block 0 to ff03::1
    2020-03-27 11:11:50,969 Sending message to ff03::1:5683
    2020-03-27 11:11:50,972 Sending datagram fdde:ad00:beef::ff:fe00:4c00 5683 ff03::1 5683
    2020-03-27 11:11:50,973 Message b'P\x03\xdd\xd7\xb1i\xd1\x03\n\xff\x12\x89\x01\nC\x08\x01\x12?\x08\x02\x104\x1a\x01\x00 \x00(\x000\x008\xe4\xb1\x18B$\x08\x03\x12 \x01\xb7K\xa2\xa3\xfbC\x9f5u\x90\xec\x17-\x8c\xc8WUL)\x15\x1cm\x9f\xf8\x0e\xf0l\x8a\x1e\x87\xb2' sent successfully
    2020-03-27 11:11:50,973 Sending request - Token: , Host: ff03::1, Port: 5683
    2020-03-27 11:11:51,485 Uploading resource (b'i',) block 1 to ff03::1
    2020-03-27 11:11:51,487 Sending block 1 to ff03::1
    2020-03-27 11:11:51,487 Sending message to ff03::1:5683
    
    2020-03-27 10:35:57,154 Image type application found
    2020-03-27 10:35:57,161 Attaching to the network
    2020-03-27 10:35:57,161 Setting property PROP_IPv6_ICMP_PING_OFFLOAD to 1
    2020-03-27 10:35:57,172 Done
    2020-03-27 10:35:57,173 Setting property PROP_THREAD_RLOC16_DEBUG_PASSTHRU to 1
    2020-03-27 10:35:57,181 Done
    2020-03-27 10:35:57,182 Setting property PROP_PHY_CHAN to 11
    2020-03-27 10:35:57,191 Done
    2020-03-27 10:35:57,192 Setting property PROP_MAC_15_4_PANID to 43981
    2020-03-27 10:35:57,195 Done
    2020-03-27 10:35:57,199 Setting property PROP_NET_MASTER_KEY to b'\x00\x11"3DUfw\x88\x99\xaa\xbb\xcc\xdd\xee\xff'
    2020-03-27 10:35:57,208 Done
    2020-03-27 10:35:57,210 Setting property PROP_NET_IF_UP to 1
    2020-03-27 10:35:57,214 Done
    2020-03-27 10:35:57,218 Setting property PROP_NET_STACK_UP to 1
    2020-03-27 10:35:57,221 Done
    2020-03-27 10:35:58,235 Done
    2020-03-27 10:35:58,235 NCP Thread IPv6 addresses:
    2020-03-27 10:35:58,255 fdde:ad00:beef::ff:fe00:9801
    2020-03-27 10:35:58,255 fdde:ad00:beef:0:de9a:fe48:4107:1561
    2020-03-27 10:35:58,270 fe80::b806:d100:e0b2:5bcd
    2020-03-27 10:36:04,283 Triggering DFU on Endpoint(addr=IPv6Address('fdde:ad00:beef:0:1838:d1dd:c16d:abc9'), port=5683)
    2020-03-27 10:36:04,285 Sending message to fdde:ad00:beef:0:1838:d1dd:c16d:abc9:5683
    2020-03-27 10:36:04,285 Sending datagram fdde:ad00:beef:0:de9a:fe48:4107:1561 5683 fdde:ad00:beef:0:1838:d1dd:c16d:abc9 5683
    2020-03-27 10:36:04,287 Message b'R\x02\x90\xa1\x8aP\xb1t\xff\x10\x00\x00\x00\x8c\xa4\xa8dn\x00\x06\x18\xe4z5\xb8-' sent successfully
    2020-03-27 10:36:04,294 Sending request - Token: 8a50, Host: fdde:ad00:beef:0:1838:d1dd:c16d:abc9, Port: 5683
    2020-03-27 10:36:06,295 Request timed out
    2020-03-27 10:36:06,295 Exchange removed, Message ID: 37025.
    2020-03-27 10:36:06,299 Sending message to fdde:ad00:beef:0:1838:d1dd:c16d:abc9:5683
    2020-03-27 10:36:06,306 Sending datagram fdde:ad00:beef:0:de9a:fe48:4107:1561 5683 fdde:ad00:beef:0:1838:d1dd:c16d:abc9 5683
    2020-03-27 10:36:06,309 Message b'R\x02\x90\xa1\x8aP\xb1t\xff\x10\x00\x00\x00\x8c\xa4\xa8dn\x00\x06\x18\xe4z5\xb8-' sent successfully
    2020-03-27 10:36:06,315 Sending request - Token: 8a50, Host: fdde:ad00:beef:0:1838:d1dd:c16d:abc9, Port: 5683
    2020-03-27 10:36:08,316 Request timed out
    2020-03-27 10:36:08,316 Exchange removed, Message ID: 37025.
    2020-03-27 10:36:08,318 Sending message to fdde:ad00:beef:0:1838:d1dd:c16d:abc9:5683
    2020-03-27 10:36:08,319 Sending datagram fdde:ad00:beef:0:de9a:fe48:4107:1561 5683 fdde:ad00:beef:0:1838:d1dd:c16d:abc9 5683
    2020-03-27 10:36:08,327 Message b'R\x02\x90\xa1\x8aP\xb1t\xff\x10\x00\x00\x00\x8c\xa4\xa8dn\x00\x06\x18\xe4z5\xb8-' sent successfully
    2020-03-27 10:36:08,329 Sending request - Token: 8a50, Host: fdde:ad00:beef:0:1838:d1dd:c16d:abc9, Port: 5683
    2020-03-27 10:36:10,329 Request timed out
    2020-03-27 10:36:10,329 Exchange removed, Message ID: 37025.
    2020-03-27 10:37:15,931 Received bytearray(b'R\x01>\xb2U\x92\xb1t') from fdde:ad00:beef:0:1838:d1dd:c16d:abc9:5683
    2020-03-27 10:37:15,932 Incoming Message ID: 16050
    2020-03-27 10:37:15,934 New unique CON or NON message received
    2020-03-27 10:37:15,941 Triggering DFU on Endpoint(addr=IPv6Address('fdde:ad00:beef:0:1838:d1dd:c16d:abc9'), port=5683)
    2020-03-27 10:37:15,944 Sending message to fdde:ad00:beef:0:1838:d1dd:c16d:abc9:5683
    2020-03-27 10:37:15,946 Sending datagram fdde:ad00:beef:0:de9a:fe48:4107:1561 5683 fdde:ad00:beef:0:1838:d1dd:c16d:abc9 5683
    2020-03-27 10:37:15,953 Message b'R\x02\x90\xa2\x17\xdc\xb1t\xff\x10\x00\x00\x00\x8c\xa4\xa8dn\x00\x06\x18\xe4z5\xb8-' sent successfully
    2020-03-27 10:37:15,961 Sending request - Token: 17dc, Host: fdde:ad00:beef:0:1838:d1dd:c16d:abc9, Port: 5683
    2020-03-27 10:37:17,962 Request timed out
    2020-03-27 10:37:17,962 Exchange removed, Message ID: 37026.
    2020-03-27 10:37:17,964 Sending message to fdde:ad00:beef:0:1838:d1dd:c16d:abc9:5683
    2020-03-27 10:37:17,964 Sending datagram fdde:ad00:beef:0:de9a:fe48:4107:1561 5683 fdde:ad00:beef:0:1838:d1dd:c16d:abc9 5683
    2020-03-27 10:37:17,973 Message b'R\x02\x90\xa2\x17\xdc\xb1t\xff\x10\x00\x00\x00\x8c\xa4\xa8dn\x00\x06\x18\xe4z5\xb8-' sent successfully
    2020-03-27 10:37:17,975 Sending request - Token: 17dc, Host: fdde:ad00:beef:0:1838:d1dd:c16d:abc9, Port: 5683
    2020-03-27 10:37:19,976 Request timed out
    2020-03-27 10:37:19,976 Exchange removed, Message ID: 37026.
    2020-03-27 10:37:19,985 Sending message to fdde:ad00:beef:0:1838:d1dd:c16d:abc9:5683
    2020-03-27 10:37:19,986 Sending datagram fdde:ad00:beef:0:de9a:fe48:4107:1561 5683 fdde:ad00:beef:0:1838:d1dd:c16d:abc9 5683
    2020-03-27 10:37:19,989 Message b'R\x02\x90\xa2\x17\xdc\xb1t\xff\x10\x00\x00\x00\x8c\xa4\xa8dn\x00\x06\x18\xe4z5\xb8-' sent successfully
    2020-03-27 10:37:19,995 Sending request - Token: 17dc, Host: fdde:ad00:beef:0:1838:d1dd:c16d:abc9, Port: 5683
    2020-03-27 10:37:21,995 Request timed out
    2020-03-27 10:37:21,996 Exchange removed, Message ID: 37026.
    2020-03-27 10:37:46,616 Received bytearray(b'R\x01>\xb3\x03V\xb1t') from fdde:ad00:beef:0:1838:d1dd:c16d:abc9:5683
    2020-03-27 10:37:46,616 Incoming Message ID: 16051
    2020-03-27 10:37:46,618 New unique CON or NON message received
    2020-03-27 10:37:46,628 Triggering DFU on Endpoint(addr=IPv6Address('fdde:ad00:beef:0:1838:d1dd:c16d:abc9'), port=5683)
    2020-03-27 10:37:46,631 Sending message to fdde:ad00:beef:0:1838:d1dd:c16d:abc9:5683
    2020-03-27 10:37:46,636 Sending datagram fdde:ad00:beef:0:de9a:fe48:4107:1561 5683 fdde:ad00:beef:0:1838:d1dd:c16d:abc9 5683
    2020-03-27 10:37:46,638 Message b'R\x02\x90\xa3Q\x11\xb1t\xff\x10\x00\x00\x00\x8c\xa4\xa8dn\x00\x06\x18\xe4z5\xb8-' sent successfully
    2020-03-27 10:37:46,640 Sending request - Token: 5111, Host: fdde:ad00:beef:0:1838:d1dd:c16d:abc9, Port: 5683
    2020-03-27 10:37:48,640 Request timed out
    2020-03-27 10:37:48,641 Exchange removed, Message ID: 37027.
    2020-03-27 10:37:48,643 Sending message to fdde:ad00:beef:0:1838:d1dd:c16d:abc9:5683
    2020-03-27 10:37:48,651 Sending datagram fdde:ad00:beef:0:de9a:fe48:4107:1561 5683 fdde:ad00:beef:0:1838:d1dd:c16d:abc9 5683
    2020-03-27 10:37:48,653 Message b'R\x02\x90\xa3Q\x11\xb1t\xff\x10\x00\x00\x00\x8c\xa4\xa8dn\x00\x06\x18\xe4z5\xb8-' sent successfully
    2020-03-27 10:37:48,660 Sending request - Token: 5111, Host: fdde:ad00:beef:0:1838:d1dd:c16d:abc9, Port: 5683
    2020-03-27 10:37:50,659 Request timed out
    2020-03-27 10:37:50,659 Exchange removed, Message ID: 37027.
    2020-03-27 10:37:50,661 Sending message to fdde:ad00:beef:0:1838:d1dd:c16d:abc9:5683
    2020-03-27 10:37:50,668 Sending datagram fdde:ad00:beef:0:de9a:fe48:4107:1561 5683 fdde:ad00:beef:0:1838:d1dd:c16d:abc9 5683
    2020-03-27 10:37:50,669 Message b'R\x02\x90\xa3Q\x11\xb1t\xff\x10\x00\x00\x00\x8c\xa4\xa8dn\x00\x06\x18\xe4z5\xb8-' sent successfully
    2020-03-27 10:37:50,671 Sending request - Token: 5111, Host: fdde:ad00:beef:0:1838:d1dd:c16d:abc9, Port: 5683
    2020-03-27 10:37:52,672 Request timed out
    2020-03-27 10:37:52,672 Exchange removed, Message ID: 37027.
    2020-03-27 10:38:17,595 Received bytearray(b'R\x01>\xb4\x1e\xa1\xb1t') from fdde:ad00:beef:0:1838:d1dd:c16d:abc9:5683
    2020-03-27 10:38:17,596 Incoming Message ID: 16052
    2020-03-27 10:38:17,598 New unique CON or NON message received
    2020-03-27 10:38:17,606 Triggering DFU on Endpoint(addr=IPv6Address('fdde:ad00:beef:0:1838:d1dd:c16d:abc9'), port=5683)
    2020-03-27 10:38:17,610 Sending message to fdde:ad00:beef:0:1838:d1dd:c16d:abc9:5683
    2020-03-27 10:38:17,610 Sending datagram fdde:ad00:beef:0:de9a:fe48:4107:1561 5683 fdde:ad00:beef:0:1838:d1dd:c16d:abc9 5683
    2020-03-27 10:38:17,616 Message b'R\x02\x90\xa4\x15\xe6\xb1t\xff\x10\x00\x00\x00\x8c\xa4\xa8dn\x00\x06\x18\xe4z5\xb8-' sent successfully
    2020-03-27 10:38:17,618 Sending request - Token: 15e6, Host: fdde:ad00:beef:0:1838:d1dd:c16d:abc9, Port: 5683
    2020-03-27 10:38:19,619 Request timed out
    2020-03-27 10:38:19,619 Exchange removed, Message ID: 37028.
    2020-03-27 10:38:19,622 Sending message to fdde:ad00:beef:0:1838:d1dd:c16d:abc9:5683
    2020-03-27 10:38:19,628 Sending datagram fdde:ad00:beef:0:de9a:fe48:4107:1561 5683 fdde:ad00:beef:0:1838:d1dd:c16d:abc9 5683
    2020-03-27 10:38:19,629 Message b'R\x02\x90\xa4\x15\xe6\xb1t\xff\x10\x00\x00\x00\x8c\xa4\xa8dn\x00\x06\x18\xe4z5\xb8-' sent successfully
    2020-03-27 10:38:19,632 Sending request - Token: 15e6, Host: fdde:ad00:beef:0:1838:d1dd:c16d:abc9, Port: 5683
    2020-03-27 10:38:21,632 Request timed out
    2020-03-27 10:38:21,632 Exchange removed, Message ID: 37028.
    2020-03-27 10:38:21,635 Sending message to fdde:ad00:beef:0:1838:d1dd:c16d:abc9:5683
    2020-03-27 10:38:21,644 Sending datagram fdde:ad00:beef:0:de9a:fe48:4107:1561 5683 fdde:ad00:beef:0:1838:d1dd:c16d:abc9 5683
    2020-03-27 10:38:21,647 Message b'R\x02\x90\xa4\x15\xe6\xb1t\xff\x10\x00\x00\x00\x8c\xa4\xa8dn\x00\x06\x18\xe4z5\xb8-' sent successfully
    2020-03-27 10:38:21,653 Sending request - Token: 15e6, Host: fdde:ad00:beef:0:1838:d1dd:c16d:abc9, Port: 5683
    2020-03-27 10:38:23,653 Request timed out
    2020-03-27 10:38:23,653 Exchange removed, Message ID: 37028.
    

    I kept exactly the previously explained test conditions. 

    The nrfutil seems to believe that trigger messages were properly sent. However, wireshark sniffer still does not detect any of them. 

    Michela

  • Hello Marjeris,

    I hope you are fine and safe.  Despite the critical moment and all the related difficulties, is there any update with the tests? 

    Thank you very much.

    Best regards,

    Michela

Related