Questions of DFU over BLE example

Dear all

I following the example here , over the air one, and get it basically working, thanks for the tutorial.

Now I have a few questions:

1. It looks like it always keep 2 images at Slot 0 and slot 1, one active at a time, after I Uploaded successfully, It running with new updated image, however when I go to BASIC menu on the the Device Manger Mobile app, and hit SEND RESET COMMAND , it back to previous image, I wonder why and is there a reliable way  to choose which slot it runs?

2.  I am thinking of use it for production, and I got a warning message like below:

CMake Warning at D:\WORK\ncs\v1.9.1\nrf\modules\mcuboot\CMakeLists.txt:262 (message):

---------------------------------------------------------
--- WARNING: Using default MCUBoot key, it should not ---
--- be used for production. ---
---------------------------------------------------------

I wonder what more procedures are needed to make it suitable for production use. 

3. Also the option for CONFIG_MCUMGR_SMP_BT_AUTHEN, if I choose y for it, what is the rest of procedure ? do I still choose app_update.bin for upgrade?

Regard

Thank you!

Ping

Parents
  • Hello, Vidar

    Thanks for reply.

    1. I tried and it works with confirm only. Also read a bit more on image uploading procedure and know a bit more now.

    2. I am stuck in generating new key pair, it seems like I need to install the image tool first according to the link , I opened cmd window and tried following and got a error message below. Sorry, I am not familiar with python, and need more help here to install the tool. I am a windows user.

    Could you help further please?

    Ping

Reply
  • Hello, Vidar

    Thanks for reply.

    1. I tried and it works with confirm only. Also read a bit more on image uploading procedure and know a bit more now.

    2. I am stuck in generating new key pair, it seems like I need to install the image tool first according to the link , I opened cmd window and tried following and got a error message below. Sorry, I am not familiar with python, and need more help here to install the tool. I am a windows user.

    Could you help further please?

    Ping

Children
Related