Hello,
Which SDK version are you using here? I believe you can refer to the DFU over UART sample, which uses the serial recovery method. This allows for single-slot DFU and utilizes the CONFIG_MCUBOOT_SERIAL
configuration.
Kind regards,
Abhijith
Hello,
Thank you. Please let me know if the shared sample serves your purpose.
Kind regards,
Abhijith
Hello,
The example doesn't meet my expectations. I can only realize my idea by writing the BOOT on my own and recreating the flash partition.
Kind regards
Hello,
You're right, it is not exactly as you described, but it does use a single-slot DFU method. If you're interested in MCUboot's XIP (Execute In Place) mode, it also supports single-slot firmware updates without a backup slot. In this mode, the bootloader directly executes the image from the specified slot.
You can refer to the documentation on configuring MCUboot in Direct XIP mode. There's also a sample available that you may find helpful.
Kind regards,
Abhijith