Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

secure bootloader compilation error

Hi All,

I am using nRF5_SDK_17.1.0

while building SDK example project uder the below path with SES

..\nRF5_SDK_17.1.0_ddde560\examples\dfu\secure_bootloader\pca10100_s140_ble\ses the following errors I am getting

Building ‘secure_bootloader_ble_s140_pca10100’ from solution ‘secure_bootloader_ble_s140_pca10100’ in configuration ‘Release’
Compiling ‘nrf_fstorage_nvmc.c’
Compiling ‘micro_ecc_backend_ecc.c’
nrf_crypto_ecc_backend.h
nrf_crypto_ecc.h
micro_ecc_backend_ecc.c
uECC.h: No such file or directory
Compiling ‘micro_ecc_backend_ecdh.c’
nrf_crypto_ecc_backend.h
nrf_crypto_ecc.h
nrf_crypto_ecdh.h
micro_ecc_backend_ecdh.c
uECC.h: No such file or directory
Compiling ‘micro_ecc_backend_ecdsa.c’
nrf_crypto_ecc_backend.h
nrf_crypto_ecc.h
micro_ecc_backend_ecdsa.c
uECC.h: No such file or directory
Compiling ‘pb_common.c’
Compiling ‘pb_decode.c’
Compiling ‘boards.c’
Compiling ‘nrf_nvmc.c’
Build failed

Actually searched for uECC.h file in SDK but it is not included in the SDK,

Is there any way to overcome this.

Regards,

Sudheer

Parents Reply
  • Hi,

    Now able to build successfully,

    when I Run the following command to generate a DFU Settings Page based on our application hex file 

    C:\Users\sudheerkumar.a\Desktop\Dfu_image>nrfutil settings generate --family NRF52833 --application ble_app_uart_pca10100_s140.hex --application-version 1 --bootloader-version 1 --bl-settings-version 2 bl_settings.hex

    The below error is occurring

     
    Usage: nrfutil settings generate [OPTIONS] HEX_FILE
    Try 'nrfutil settings generate --help' for help.

    Error: Invalid value for '--family': 'NRF52833' is not one of 'NRF51', 'NRF52', 'NRF52QFAB', 'NRF52810', 'NRF52840'.

    Please let me know if anything I need to add for successfully  DFU settings

    Regards,

    Sudheer

Children
Related