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

DFU with OTA

Hi,

anyone help me.

I am facing the issue during DFU with OTA. the steps are listed which had I done,

here trying to update softdevice.

1. Erase all.

2.flashed softdevice.

3.complied and programmed the bootloader which has included with SDK example(dfu_ble_dual_bank_s110).

4. the target device start to advertise as  "DfuTarg" with LED status.

5. Open nRF connect on my phone and scanner then found the target device and connected successfully.

6. click the DFU button on the nRF connect mobile app. it displays 4 options. 

7. I chose distributed back. and try to upload the zip file. app showing "starting DFU" and then disconnected

zip files preparation:

1. got the softdevice from the example folder.

2. using nrfutil.exe, the file has made as "xxx.zip". the zip file consists of xxx.bin file, xxx.dat, manifest file.

3. hut here I did n't use any private key like yyy.pem.

note:-

bootloader example: dfu_ble_dual_bank_s110, version 7.2.0.

SDK version 7.2.0

softdevice: s110, version 7.1.0

target device: custom board, nrf51822 QFAA, 16kb ram, 256kb flash memory.

Keil v5.

please correct where I have made a mistake and guide me on what I have to do exactly. 

 

Parents Reply
  • hey man, thank you so much. it is working. 

    #ifndef MEM_POOL_INTERNAL_H__
    #define MEM_POOL_INTERNAL_H__

    #define TX_BUF_SIZE 4u //600u /**< TX buffer size in bytes. */
    #define RX_BUF_SIZE 32u //TX_BUF_SIZE /**< RX buffer size in bytes. */

    #define RX_BUF_QUEUE_SIZE 8u//4u /**< RX buffer element size. */

    #endif

    I changed as you mentioned in the latest post. so It had been a buffer size issue. now I can able update the application and softdevice.

Children
No Data
Related