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 error message while performing USB DFU

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 works fine for Blink program (small file) and not for my application (large file).

How can I solve this issue? Thanks in advance

Parents Reply Children
  • Hi Amanda,

    I have tried using 0x78000 as a flash start address. I am getting error while building the bootloader.

    Building ‘secure_bootloader_usb_mbr_pca10100e’ from solution ‘secure_bootloader_usb_mbr_pca10100e’ in configuration ‘Release’
    Generating linker script ‘secure_bootloader_usb_mbr_pca10100e.ld’
    Linking secure_bootloader_usb_mbr_pca10100e.elf
    .rodata is too large to fit in FLASH1 memory segment
    .data is too large to fit in FLASH1 memory segment
    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

Related