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 Vidar,

    Sorry for asking too basic questions often.

    1. Where and how do I set BOOTLOADER_START_ADDR in Keil?

     <info> app: bootloader_addr_actual = E4000 bootloader_addr_expected = 26000
     00>
     00> START_ADDR to 0xE4000

     In secure_bootloader(uart), IROM1 is set to 0xE4000.

    2. I get the following error message.

    00> <debug> app: cache_address: 0x50000.
    00>
    00> <debug> app: cache_too_small: false.
    00>
    00> <debug> app: keep_firmware: true.
    00>
    00> <debug> nrf_dfu_settings: Writing settings...
    00>
    00> <debug> nrf_dfu_settings: Erasing old settings at: 0x000FF000
    00>
    00> <debug> nrf_dfu_flash: nrf_fstorage_erase(addr=0x0x000FF000, len=1 pages), queue usage: 0
    00>
    00> <error> app: SOFTDEVICE: INVALID MEMORY ACCESS

    Best regards,

    Alex

Children
Related