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

[nRF Connect SDK]Questions for porting.

Hello.

Target nRF52832(nrf52dk_nrf52832)

SDK NCS v1.9.1

Build : SES for win 10 (5.68)

1. Support BT5.3

My project used nRF5_SDK_17.1.0_ddde560. Recently I found That SDK cannot support 5.3. (5.1 limited)

So I heard that have to use NCS(nRF Connect SDK), is it correct? 

2. Build mcuboot

Following is my base project.

C:\Users\user\ncs\v1.9.1\nrf\samples\bluetooth\peripheral_hids_keyboard

1) In order to build mcuboot, I add that in prj.conf, but I don't think mcuboot has no changes. no hex(bin)

CONFIG_BOOTLOADER_MCUBOOT=y

How I can build mcuboot?

2) I will use DFU via UART. How to add UART implementation in mcuboot? Can you give me good sample for me? 

3. Make my own pem for sign

: done. (C:\Users\user\ncs\v1.9.1\bootloader\mcuboot>scripts\imgtool.py getpub -k mykey.pem)

Now I have to put rsa_pub_key into keys.c. What keys.c should I use?

4. Make dfu image

Using MCUboot in nRF Connect SDK — MCUboot 1.8.99 documentation (nordicsemi.com)

I cannot find any bin in my project. Maybe I failed to build mcuboot, right?

Parents
  • Hi, 

    So I heard that have to use NCS(nRF Connect SDK), is it correct? 

    Yes, see the Bluetooth QDIDs for nRF52832. 

    How I can build mcuboot?

    Enable CONFIG_BOOTLOADER_MCUBOOT in the prj.conf to include as the child image in the build script, see Updating the build scripts.

    2) I will use DFU via UART. How to add UART implementation in mcuboot? Can you give me good sample for me? 

    Here is the example for v1.6.1 in this post. The flow is the same as that guide, but it transmits via UART. 

    Now I have to put rsa_pub_key into keys.c. What keys.c should I use?

    set to rsa_pub_key in bootloader/mcuboot/boot/zephyr/keys.c

    I cannot find any bin in my project. Maybe I failed to build mcuboot, right?

    The mcuboot child image is under \build\mcuboot\zephyr, and it will be merged with the app image to program.

    Regards,
    Amanda 

Reply
  • Hi, 

    So I heard that have to use NCS(nRF Connect SDK), is it correct? 

    Yes, see the Bluetooth QDIDs for nRF52832. 

    How I can build mcuboot?

    Enable CONFIG_BOOTLOADER_MCUBOOT in the prj.conf to include as the child image in the build script, see Updating the build scripts.

    2) I will use DFU via UART. How to add UART implementation in mcuboot? Can you give me good sample for me? 

    Here is the example for v1.6.1 in this post. The flow is the same as that guide, but it transmits via UART. 

    Now I have to put rsa_pub_key into keys.c. What keys.c should I use?

    set to rsa_pub_key in bootloader/mcuboot/boot/zephyr/keys.c

    I cannot find any bin in my project. Maybe I failed to build mcuboot, right?

    The mcuboot child image is under \build\mcuboot\zephyr, and it will be merged with the app image to program.

    Regards,
    Amanda 

Children
Related