nRF52833: CDC ACM USB Bootloader example is not available.

Using windows 10 OS, and SES v5.40.

I am using nRF52833 device in my project along with nRF5_SDK_for_Thread_and Zigbee_v4.1.0_32ce5f8 SDK.

As we can see that there is an example of CDC ACM USB Bootloader available for nRF52840 only https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/sdk_app_serial_dfu_bootloader.html but we need for nRF52833.

so is there any example of CDC ACM USB Bootloader available for nRF52833 or supports nRF52833?

  • Hi,

    Insuffisient resources here means that there is not enough room in flash.

    I did not spot any obviously wrong with the addresses here (though I cannot guarantee I did not mis anything). The bootloader is the exact same with the working case where you use blinky and the failing case where you use your larger custom app, right? Have you by any chance configured the bootloader to only support dual bank updates? Specifically, what is NRF_DFU_FORCE_DUAL_BANK_APP_UPDATES set to in the bootloader's sdk_config.h?

  • The bootloader is the exact same with the working case where you use blinky and the failing case where you use your larger custom app, right? 
    Yes the bootloader is exact same.

    Have you by any chance configured the bootloader to only support dual bank updates?

    No.

    Specifically, what is NRF_DFU_FORCE_DUAL_BANK_APP_UPDATES set to in the bootloader's sdk_config.h?

  • Hi,

    I see, then there should be room for the application update.

    Now I spotted an issue with your application which I overlooked before. You have set FLASH_START to 0, but the MBR resides on address 0. The start address of your application must be 0x1000. This must clearly be fixed. There may be other issues as well though, as I do not immediately see that you would get an insufficient resources error because of this. But please fix this and test again first. If it still fails, can you upload the project files for your application and bootloader so that I can more easily see if I spot anything?

  • Hi,

    Thanks for the support we are able flash our application in custom PCB.

    first its was not jumping to application so we generated bootloader settings then its start our application and it is working but few of functionality are not working and the strange thing is that if we run our application without MBR then every thing is working fine.

    so is there any thing we are missed to do or how this issue will fixed?

    Without MBR flash and RAM address  With MBR flash and RAM address 
    FLASH_PH_START=0x0

    FLASH_PH_SIZE=0x80000

    RAM_PH_START=0x20000000

    RAM_PH_SIZE=0x20000

    FLASH_START=0x000

    FLASH_SIZE=0x7e000

    RAM_START=0x20000000

    RAM_SIZE=0x20000

    FLASH_PH_START=0x0

    FLASH_PH_SIZE=0x80000

    RAM_PH_START=0x20000000

    RAM_PH_SIZE=0x20000

    FLASH_START=0x1000

    FLASH_SIZE=0x70000

    RAM_START=0x20000008

    RAM_SIZE=0x1fff8

  • Hi,

    I do not spot any issue in the memory configuration. Can you elaborate on what is not working when you use the MBR? We probably need to start there to understand how the presence of a MBR can impact it.

Related