Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Fota NRF Connect SDK 1.7.0

Hello,

I'm following this documentation Doc to include Fota upgrade on peripheral LBS sample but I have the following problems:


1) all file .bin like (app_update.bin, app_to_sign.bin ecc) are not generated when i build the application. Here below my project.conf

CONFIG_NCS_SAMPLES_DEFAULTS=y

CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DEVICE_NAME="Nordic_LBS"

# Enable the LBS service
CONFIG_BT_LBS=y

# Enable Battery service and HeartRate
CONFIG_BT_BAS=y
CONFIG_BT_HRS=y

# For FOTA
CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_MCUMGR=y     
CONFIG_MCUMGR_CMD_OS_MGMT=y
CONFIG_MCUMGR_CMD_IMG_MGMT=y
CONFIG_MCUMGR_SMP_BT=y        
CONFIG_IMG_ERASE_PROGRESSIVELY=y

CONFIG_MCUMGR_SMP_BT_AUTHEN=n # n=disables the pairing requirement with mobile device

CONFIG_BT_LBS_POLL_BUTTON=y
CONFIG_DK_LIBRARY=y

CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048

 

2) I have founded .bin file in the following link Bin file , but when i try to upload that file to my NRF52840 DK a have this error: "DFU characteristic not founded", but SMP service and characteristic are visibile with nrf Connect Android app.
From that link you can see the error: Video

I have to add a bootloader on a board? If yes where i can find it?

Can you help me to found the error?

Thanks again for your time.
Best regards

Related