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

DFU OTA giving error upload failed: REMOTE DFU DATA SIZE EXCEEDS LIMIT. while flashing application

Hi, i am trying to update OTA application zip file size 112kb but it become failed and showing upload failed: REMOTE DFU DATA SIZE EXCEEDS LIMIT , But if i am flash small size application zip (58kb) it can able to flash. I am using nrf51822(256kb flash) , gnu arm eclipse s/w pls anybody helpme??

Parents
  • The dfu_dual_bank.c is a part of the bootloader, which is a separate project that you must compile and flash to your device, see this Infocenter page. You need to replace dfu_dual_bank.c with dfu_single_bank.c in the bootloader project, not in the application. The files you add in your application only provides the ability to jump to the bootloader which actually receive the firmware image and replaces the old firmware with the new firmware.

Reply
  • The dfu_dual_bank.c is a part of the bootloader, which is a separate project that you must compile and flash to your device, see this Infocenter page. You need to replace dfu_dual_bank.c with dfu_single_bank.c in the bootloader project, not in the application. The files you add in your application only provides the ability to jump to the bootloader which actually receive the firmware image and replaces the old firmware with the new firmware.

Children
Related