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

Disconnect while download .zip file from bootloader in nRF51822...

Hello,

I am working on nRF51822 using SDK 12.3.0 in IAR embedded workbench.

I added dfu service and one custom service in my application.

my problem is when I download .zip file through bootloader at that time code is not getting download successfully and below graph disconnect.

Path of bootloader code is given below,

..\..\SDK_12.3.0\examples\dfu\bootloader_secure

And I create zip file using below command in command prompt:

nrfutil pkg generate --hw-version 51 --application-version 1 --application ble_app_template_pca10028_s130.hex --sd-req 0x87 --key-file private.key app_dfu_package.zip

In my application FLASH and RAM address is shown below,

ROM start: 0x1b000  ROM end: 0x3ffff

RAM start: 0x200025e0 RAM end: 0x20004000

In bootloader FLASH and RAM address is shown below:

ROM start: 0x3ac00 ROM end: 0x3fbff

RAM start: 0x20002c00 RAM end: 0x20007f7f

So give me suggestion for solving my problem as soon as possible.

Thanks & regards,

Urvisha Andani 

Related