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

DFU GATT error on nrf51822

I use bootloader example of SDK8.1.0, when I begin OTA, I got GATT error.

I use nRF Toolbox Version1.16.2

here is application upload: dfu_test_app_hrm.bin

here is the init file: manifest.json

how to fix it ? Thank you !

here is the bootloader

Parents
  • Both .json and .bin seems correct. Please try the following steps and see if you get the same GATT error:

    • Load s110 v.8.0.0 and bootloader from SDK 8.1.0
    • Download the dfu_test_app_hrm_s110.zip found in \nRF51_SDK_8.1.0\examples\dfu\ble_dfu_send_hex\test_images_update to your phone.
    • In nrftoolbox select the .zip file, connect to "dfutarg" and start uploading.

    Note that if you're using nRF51 variant with 16K of RAM you need to adjust the linker settings accordingly. Also for custom boards you may not have the external crystal for LF clock(?)

    Linker settings for 16K RAM variants (Cross module optimization must be selected as well):

    image description

  • I have adjust the linker settings,Target Option -->Device tab, I choose nRF51822_XXAA; Target Option -->C/C++ tab --> Preprocessor Symbols I change to "BOARD_PCA10001" however, DFU still got gatt error.

Reply Children
No Data
Related