nrf52840_pca10059 executables do not work without mcuboot #14945
Labels
area: MCUBoot
bug
The issue is a bug, or the PR is fixing a bug
platform: nRF
Nordic nRFx
priority: low
Low impact/importance bug
Uh oh!
There was an error while loading. Please reload this page.
Description
The LED blink example build for nrf52840_pca10059 does not work when loaded with nRF Connect.
To Reproduce
Steps to reproduce the behavior:
west build -d build/nRF52/blinky -s zephyrproject/zephyr/samples/basic/blinky -b nrf52840_pca10059 -- -DCONFIG_FLASH_BASE_ADDRESS=0x1000
(the define is necessitated by config BOARD_HAS_NRF5_BOOTLOADER not honored for nrf52840_pca10059 #14943)Expected behavior
The LED blinks.
Actual behavior
The LED doesn't blink.
Impact
Prevents simple use of nRF-Connect app, or distribution of images.
Workaround
The LED can blinks if I use this workaround, suggested by @mike-scott on IRC.
west build -d build/nRF52/mcuboot -s mcuboot/boot/zephyr -b nrf52840_pca10059 -- -DCONFIG_FLASH_LOAD_OFFSET=0x1000 -DCONFIG_FLASH_LOAD_SIZE=0xf000
west build -d build/nRF52/blinky -s zephyrproject/zephyr/samples/basic/blinky -b nrf52840_pca10059 -- -DCONFIG_FLASH_LOAD_OFFSET=0x10000 -DCONFIG_FLASH_LOAD_SIZE=0x5E000
west sign -d build/nRF52/blinky -t imgtool -- --key mcuboot/root-rsa-2048.pem
build/nRF52/mcuboot/zephyr/zephyr.hex
andzephyr.signed.hex
simultaneously with nRF Connect app.Environment
The text was updated successfully, but these errors were encountered: