mcuboot missing trait mcuBoot in nrfutil

The board is nrf52840 based using mcuboot via usb, mcuboot can be activated using a switch, and is indicated via a led, all setup via device-tree, so no legacy here. Software is quite up to date using zephyr-2.4.99/ncs-2.5.0. Updating works fine using mcumgr, but as I understand it, this tool is deprecated and nrfutil is the new swiss-army-knive (devzone.nordicsemi.com/.../nrf-util-unified-command-line-utility).

But: Updating using nrfutil does not work, presumably because there is no mcuBoot trait listed for MCUBOOT. My question: How do I achieve that mcuboot shows this trait in nrfutil?

# nrfutil --version
nrfutil 7.6.0 (92ce3a0 2023-08-15)
commit-hash: 92ce3a0c1cc7e203326d85919d826009510dc631
commit-date: 2023-08-15
host: x86_64-apple-darwin
build-timestamp: 2023-08-23T08:22:30.0306Z
classification: nrf-external

# nrfutil device list
6XXXXXXXXXXXXXXB
product MCUBOOT
ports /dev/tty.usbmodem14301, vcom: 0
/dev/tty.usbmodem14303, vcom: 1
traits serialPorts, usb

  • Hi Thibaud,

    Thibaud said:
    And about the experimental option of nrfutil device command "x-boot-mode-get/set" can you do any comment ?

    My apologies but I am a little confused.
    What is wrong with this command? Are you expecting to use it to tell the application to reboot in bootloader mode or not?
    Could you please share the reference from which you learned of this experimental command? It would be helpful as a starting point for me to look further into it.

    Regards,

    Hieu

Related