Hi Nordic,
I am using the mcumgr cli tool to do the ota, I am able to do the DFU over UART to the MCUBoot using the single slot, When I am trying to do using the dual slot, I have enabled the following configurations,
In mcuboot.conf file:
CONFIG_MCUBOOT_SERIAL=y
CONFIG_MCUBOOT_INDICATION_LED=y
CONFIG_UART_CONSOLE=n
CONFIG_SINGLE_APPLICATION_SLOT=n
In prj.conf file:
# nothing here
CONFIG_BOOTLOADER_MCUBOOT=y
# Step 5.2 - Enable mcumgr DFU in application
# Enable MCUMGR
CONFIG_MCUMGR=y
# Enable MCUMGR management for both OS and Images
CONFIG_MCUMGR_GRP_OS=y
CONFIG_MCUMGR_GRP_IMG=y
# Configure MCUMGR transport to UART
CONFIG_MCUMGR_TRANSPORT_UART=y
# Dependencies
# Configure dependencies for CONFIG_MCUMGR
CONFIG_NET_BUF=y
CONFIG_ZCBOR=y
CONFIG_CRC=y
# Configure dependencies for CONFIG_MCUMGR_GRP_IMG
CONFIG_FLASH=y
CONFIG_IMG_MANAGER=y
# Configure dependencies for CONFIG_IMG_MANAGER
CONFIG_STREAM_FLASH=y
CONFIG_FLASH_MAP=y
# Configure dependencies for CONFIG_MCUMGR_TRANSPORT_UART
CONFIG_BASE64=y
I have made these changes and build my hello_world project, after that when I am listing the images using "mcumgr -c testDK image list" command I am getting the image list same as the single slot and not as dual slot?
I am following the link for the OTA process.
How do I enable the dual slot?
Thanks,
Pranathi