Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

InsufficientResources response code while performing USB DFU

I've mistakenly closed the case https://devzone.nordicsemi.com/f/nordic-q-a/85450/insufficientresources-error-message-while-performing-usb-dfu?ReplyFilter=Answers&ReplySortBy=Answers&ReplySortOrder=Descending and didn't find any solution. 

Board: NRF52833 (PCA10100)

SDK version: 17.0.2

Softdevice: S122

I am trying to perform USB DFU for my application. As I am using nrf52833 board, there is no available bootloader for USB in the SDK. So I've changed The Build configurations and linker settings of PCA10100e USB bootloader to PCA10100 board. While performing usb dfu using nrfutil I am getting InsufficientResources error message. I understood that this error message has something to do with insufficient Memory, So I've tried to flash a blink program using USB dfu which works fine. 

FLASH_PH_START=0x0

FLASH_PH_SIZE=0x80000

RAM_PH_START=0x20000000

RAM_PH_SIZE=0x20000

FLASH_START=0x33000

FLASH_SIZE=0x20000

RAM_START=0x20000008

RAM_SIZE=0x1fff8

This is the section placement macro of the usb bootloader.

These addresses work fine for Blink program (small file) and not for my application (large file).

How can I solve this issue? Thanks in advance

Parents Reply
  • Hi Amanda, your instructions are not clear to me. I updated the pca10100_s113 address configurations to project. 

    FLASH_PH_START=0x0
    FLASH_PH_SIZE=0x80000
    RAM_PH_START=0x20000000
    RAM_PH_SIZE=0x20000
    FLASH_START=0x78000
    FLASH_SIZE=0x6000
    RAM_START=0x20002ae8
    RAM_SIZE=0x1d518

    above are my address configurations. They are same as the example project you suggested.

    I still face the below issue. 

    section .tdata overlaps absolute placed section .mbr_params_page
    section .mbr_params_page VMA [000000000003e000,000000000003efff] overlaps section .reserved_flash VMA [0000000000000000,0000000000077fff]
    Build failed

    How do I fix it?  I appreciate your help. TIA.

Children
Related