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 Mike,
Yes, mcumgr BLE transport is not supported on Windows. On linux it works ok, but it does have some reliability issues and we are looking to replace it.
Hi Vidar,
For the Windows PC side, there is currently no command-line tool that you have tested and can recommend for use. Also, unlike the nRF52 series, Nordic does not provide a tool such as "nrfutil" for performing OTA updates, correct?
If we exclude command-line tools, does Nordic provide any tools that can be used to update the nRF5340?
Thanks!!
Mike
Hi Mike,
Correct, we currently do not offer a command line tool for BLE dfu on Windows.
If you know a bit of python, you can code a command line tool with the smpclient python lib in very little time. BTDT. Supports BTLE transpport in windows (via bleak).
Python code can be compiled into an exe file for distribution - target PC does not need a python install. The only snag here is a hidden import in bleak, which makes the command line for pyinstaller a bit more difficult.
Hi Vidar,
in that case, could you provide an example that can run on Linux.
Thanks!!
Mike