jaredwolff Thanks for the reply!
Have you tried FOTA with #2?
Yes, I tried FOTA with #2 approach and it works and updated the image on next boot.
You can also try this bootloader.
I tried with this first, is the same result as #1 I mentioned on last reply.
Additionally, I found this github source, when I compare mine under the same directly in the SDK, it is slightly different:
# Disable Zephyr console
CONFIG_CONSOLE=n
CONFIG_CONSOLE_HANDLER=n
CONFIG_UART_CONSOLE=n
# Multithreading
CONFIG_MULTITHREADING=y
# MCUBoot settings
CONFIG_BOOT_MAX_IMG_SECTORS=256
# MCUboot serial recovery
CONFIG_MCUBOOT_SERIAL=y
CONFIG_BOOT_SERIAL_DETECT_PORT="GPIO_0"
CONFIG_BOOT_SERIAL_DETECT_PIN=12
CONFIG_BOOT_SERIAL_DETECT_PIN_VAL=0
# Size of mcuboot partition
CONFIG_SIZE_OPTIMIZATIONS=y
Latest found:
I check the sdk-mcuboot version using git log:
commit 858dd034f6565bcab5ed780e48aa713994ca1b7d (HEAD, tag: v1.7.99-ncs1-rc1, tag: v1.7.99-ncs1, manifest-rev)
Author: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
Date: Mon Feb 8 12:46:06 2021 +0100
[nrf temphack] prj.conf: don't use CONFIG_LOG_MODE_MINIMAL yet
MCUboot was updated to newer version which uses refactored
LOG Kconfig keyword not available in sdk-zephyr yet.
Revert this commit on the next upmerge.
Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
On github, the newest one is 1.8.0-dev
. Will that be the case why my bootloader doesn’t work? Should I try with the newest version?
Zirun