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

Working version of smp_svr example available for nrf9160?

Hi,

I would like to check whether we could get the SMP server sample to work on the nrf9160 with nRFConnectSDK. The sample exists in zephyr\samples\subsys\mgmt\mcumgr\smp_svr. After configuring with cmake:

>"c:\Program Files\CMake\bin\cmake.exe" -GNinja -DBOARD=nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=C:\GNU_Tools_ARM_Embedded\7_2018-q2-update ..

I can use ninja to start building and get among other output:

...
zephyr/include/generated/generated_dts_board.h:435:28: error: 'DT_NRF_NRF52_FLASH_CONTROLLER_4001E000_LABEL' undeclared (first use in this function); did you mean 'DT_NRF_NRF91_FLASH_CONTROLLER_50039000_LABEL'?

So appearently it takes some effort to get it to work. To get an answer on whether we can get DFU to work with the nr9160 to change the firmware on the Cortex-M33 I would like to get hold of a working example application. The questions are does one exist, is the SMP server the right solution, how do I configure the smp_srv example to get it to work on the nrf9160 if I have to do it myself?

I hope you can help,

Regards,

KT

Parents
  • Hi,

    We do not yet have mcuboot support for nRF9160, so we currently don’t have a working example for nRF91 DFU. We will have this ready in the next release in March. See this blog post on the general development status.

    he questions are does one exist, is the SMP server the right solution, how do I configure the smp_srv example to get it to work on the nrf9160 if I have to do it myself?

    You are on the right track, but as mentioned, the problem is that currently mcuboot is not able to be run on nRF91, (even in a legacy mode), this resolution need some work to be done. (Looks like it will be required to setup SPU and create image partition description, etc). I would suggest that you wait with your DFU work until we release support for it.

Reply
  • Hi,

    We do not yet have mcuboot support for nRF9160, so we currently don’t have a working example for nRF91 DFU. We will have this ready in the next release in March. See this blog post on the general development status.

    he questions are does one exist, is the SMP server the right solution, how do I configure the smp_srv example to get it to work on the nrf9160 if I have to do it myself?

    You are on the right track, but as mentioned, the problem is that currently mcuboot is not able to be run on nRF91, (even in a legacy mode), this resolution need some work to be done. (Looks like it will be required to setup SPU and create image partition description, etc). I would suggest that you wait with your DFU work until we release support for it.

Children
No Data
Related