Hi,
Currently, I know that OTA updates for the nRF5340 can be performed using Device Manager and the nRF Connect mobile application. However, if using a PC, is it possible to achieve the same functionality via the command line?
Thanks!!
Mike
Hi,
Currently, I know that OTA updates for the nRF5340 can be performed using Device Manager and the nRF Connect mobile application. However, if using a PC, is it possible to achieve the same functionality via the command line?
Thanks!!
Mike
Hi Turbo,
would you mind sharing some sample code examples? Thank you very much.
Mike
smpmgr which was suggested initially in this thread is using the smpclient library, but it failed to parse the image trailer when it included protected TLVs so it seems like this library may have some limitations still?
Hi Vidar,
may I ask which type of image file (application.signed.bin or dfu_application.zip) I should use when using the mcumgr tool?
Thanks!!
Mike
Hi Mike,
The zip package format is only recognised by Nordic tools. For mcumgr you have to pass the binary file. application.signed.bin in this case.
Best regards,
Vidar
Hi Vidar,
I am currently using Ubuntu 24.04.3 to perform nRF5340 DFU testing with mcumgr, but I have encountered an issue at the very beginning.
$ mcumgr --conntype ble --name 'Test 3116' echo hello Error: Failed to connect to peer after 10s
It seems that I am unable to establish a connection with my device using mcumgr.
However, I can successfully discover the device using bluetoothctl, and DFU works normally when using nRF Device Manager.
Could you please provide some suggestions or guidance on what might be causing this issue?
Thanks!!
Mike