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

DFU OTA mesh network necessary for update?

Hi,

I try to do the DFU example in the nRF5 Mesh SDK V4.0 for the nRF52833 Development-Kit:

https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v3.1.0%2Fmd_doc_libraries_dfu_dfu_quick_start.html

Somehow I get this error thrown:

nrfutil dfu serial -pkg app_dfu_package.zip -p COM62 -b 115200 -fc --mesh
Upgrading target on COM62 with DFU package C:\Users\set\Desktop\DFU OTA\app_dfu_package.zip. Flow control is enabled.


Failed to upgrade target. Error is: ord() expected string of length 1, but int found

Possible causes:
- bootloader, SoftDevice or application on target does not match the requirements in the DFU package.
- baud rate or flow control is not the same as in the target bootloader.
- target is not in DFU mode. If using the SDK examples, press Button 4 and RESET and release both to enter DFU mode.

The bootloader and the SoftDevice is correctly installed, as tested with nRF Connect.

Flow Control and baud rate should fit, since I flashed the DFU example dfu_nrf52833_xxAA_s113_7_0_1

I tried to set the device in the DFU mode, but also this seems not to be the problem here.

So I have a few questions about the DFU:

  • Is my assumption correct, that the nodes do not need to be in a mesh network directly (no network key necessary), but when they see a DFU package with the correct public key, they will accept it and relay it?
  • Where do I need to put the private key, from my understanding I need to flash it on each device, but where?

Kind Regards,

Sebastian

Related