This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf_dfu_transports_init() error in background dfu

Hi,

I am using 

  • PCA10056
  • SDK 15.3.0
  • Keil IDE
  • The soft device is S140 
  • JLinkRTTViewer for debug

I am testing background serial-dfu.(refer to https://devzone.nordicsemi.com/f/nordic-q-a/46336/bootloader-no-transport-dual-bank-dfu-and-dependencies)

I erase 52840 whole and write SoftDevice & bootloader.

I used keil debug to download the app and run.

An error occurred with the attachment.

Please advise

Alex

Parents Reply
  • Hi Alex,

    1. You can define the BOOTLOADER_START_ADDR symbol in options for target --> C/C++ --> Preprocessor symbols. E.g., BOOTLOADER_START_ADDR=0xE4000 if 0xe4000 is the start address of your bootloader

    2. You need to use the "nrf_fstorage_sd" when the Softdevice is enabled because the nrf_fstorage_nvmc will access the NVMC registers directly. This is why you get the invalid memory access assertion.

Children
Related