SMP DFU function by uart in NRF52820

Hello guys,

I want to test SMP DFU function by uart. I use "E:\Spec\bluetooth\Nordic\nRF52820\ncs2.5.0\v2.5.0\zephyr\samples\subsys\mgmt\mcumgr\smp_svr" example and add below Macro in prj.conf.

CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION=y

# Enable the serial MCUmgr transport.
CONFIG_BASE64=y
CONFIG_MCUMGR_TRANSPORT_UART=y
CONFIG_SERIAL=y
CONFIG_CONSOLE=y
And do below addings
I release and download the .hex to device, but device didn't print "Starting mcuboot\n" in the UART. I'm sure the UART config and hardware part is no problem because when I run direction_finding_connectionless_tx example, it print well. But smp_svr didn't. Now I cannot figure out if the device running well or not because no debug information. Any suggestions for the uart print? Any wrong setting in my above things.
BR,
Treacy
Parents
  • Hi,

    I use "E:\Spec\bluetooth\Nordic\nRF52820\ncs2.5.0\v2.5.0\zephyr\samples\subsys\mgmt\mcumgr\smp_svr" example and add below Macro in prj.conf.

    CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
    CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n
    CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION=y

    Have you tried to add these 3 lines also to your child_image\hci_rpmsg.conf file?

    Best regards,
    Dejan

Reply
  • Hi,

    I use "E:\Spec\bluetooth\Nordic\nRF52820\ncs2.5.0\v2.5.0\zephyr\samples\subsys\mgmt\mcumgr\smp_svr" example and add below Macro in prj.conf.

    CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
    CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n
    CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION=y

    Have you tried to add these 3 lines also to your child_image\hci_rpmsg.conf file?

    Best regards,
    Dejan

Children
Related