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

Remote DFU: Operation Failed Error in Secure OTA

Hi,

I am trying to secure OTA in nrf51822 board.

For that trying to build bootloader file available in SDK 12.2.0 version at location nRF5_SDK_12.2.0_f012efa\examples\dfu\bootloader_secure\pca10028_debug\arm5_no_packs. But it is building perfectly and give me error of micro_ecc_lib_nrf51.lib file not found error.

i have already installed 4.9-2015-q3-update of the GCC compiler toolchain for ARM and put uECC.h file in external/micro-ecc/micro-ecc file.

Parents
  • Hello Sir,

    Thank you for your valuable support to me.

    I have resolved micro_ecc_lib_nrf51.lib error. Now i am trying to update ble_app_uart file available in SDk12.2.0 through OTA in my nordic board. For that, i am following below steps:

    1). Generate private key using nrfutil.exe keys generate private.key command
    2). generate public_key.c file using private.key by nrfutil keys display --key pk --format code private.key --out_file public_key.c command.
    3). Open nRF5_SDK_12.2.0_f012efa\examples\dfu\bootloader_secure\pca10028_debug\arm5_no_packs file in keil and remove older dfu_public_key.c file and replace new public_key.c file.
    4). Then build program successfully and load into my board. Now my board emits itself nrftarg.
    5). Open nRF5_SDK_12.2.0_f012efa\examples\ble_peripheral\ble_app_uart\pca10028\s130\arm5_no_packs program and build succssfully then copy .hex file from _build folder and paste in same folder where nrfutil.exe and private.key file is available.
    6). Now generate DFu page using nrfutil pkg generate --hw-version 51 --application-version 1 --application nrf51422_xxac.hex --sd-req 0x87 --key-file private.key app_dfu_package.zip
    7). then copy this zip in my app and follow update step in nrfconnect app.
    

    But it's not done successfully. it is just start like starting DFU then Disconnecting.

    Please help me.

Reply
  • Hello Sir,

    Thank you for your valuable support to me.

    I have resolved micro_ecc_lib_nrf51.lib error. Now i am trying to update ble_app_uart file available in SDk12.2.0 through OTA in my nordic board. For that, i am following below steps:

    1). Generate private key using nrfutil.exe keys generate private.key command
    2). generate public_key.c file using private.key by nrfutil keys display --key pk --format code private.key --out_file public_key.c command.
    3). Open nRF5_SDK_12.2.0_f012efa\examples\dfu\bootloader_secure\pca10028_debug\arm5_no_packs file in keil and remove older dfu_public_key.c file and replace new public_key.c file.
    4). Then build program successfully and load into my board. Now my board emits itself nrftarg.
    5). Open nRF5_SDK_12.2.0_f012efa\examples\ble_peripheral\ble_app_uart\pca10028\s130\arm5_no_packs program and build succssfully then copy .hex file from _build folder and paste in same folder where nrfutil.exe and private.key file is available.
    6). Now generate DFu page using nrfutil pkg generate --hw-version 51 --application-version 1 --application nrf51422_xxac.hex --sd-req 0x87 --key-file private.key app_dfu_package.zip
    7). then copy this zip in my app and follow update step in nrfconnect app.
    

    But it's not done successfully. it is just start like starting DFU then Disconnecting.

    Please help me.

Children
No Data
Related