-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Labels
area: MCUBootbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: nRFNordic nRFxNordic nRFxpriority: lowLow impact/importance bugLow impact/importance bug
Description
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)- Load executable with nrfutil:
nrfutil pkg generate --application $BUILDDIR/zephyr/zephyr.hex --hw-version 52 --sd-req 0 --application-version=0 t.zip
nrfutil dfu usb-serial --package=t.zip --serial-number=EC4938BFC6DB --connect-delay=0
- The LED is not blinking on the target board.
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=0xf000west build -d build/nRF52/blinky -s zephyrproject/zephyr/samples/basic/blinky -b nrf52840_pca10059 -- -DCONFIG_FLASH_LOAD_OFFSET=0x10000 -DCONFIG_FLASH_LOAD_SIZE=0x5E000west sign -d build/nRF52/blinky -t imgtool -- --key mcuboot/root-rsa-2048.pem- load
build/nRF52/mcuboot/zephyr/zephyr.hexandzephyr.signed.hexsimultaneously with nRF Connect app.
Environment
- OS: Ubuntu 18.04
- Toolchain: zephyr-sdk-0.10.0
- Commit: c3cf543
Metadata
Metadata
Labels
area: MCUBootbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: nRFNordic nRFxNordic nRFxpriority: lowLow impact/importance bugLow impact/importance bug