NMP Time out while using mcumgr

Hi Nordic,

1. I am planning to do DFU update with UART

2. I Build smp_svr and flashed successfully when am using mcumgr its getting NMP Timeout

3.  I added CONFIG_MCUMGR_SMP_UART=y into the prj.conf

4. mcumgr --conntype serial --connstring "com8" echo hello 

5. 

Parents Reply
  • Could you do some debugging on the bl653_dvk and check if anything is received?

    Put a break point or add printk RTT log (see Modify the Hello World sample how to enable RTT logging) at these places to see if it's executes:

    • \zephyr\drivers\console\uart_mcumgr.c-->uart_mcumgr_async()
    • \zephyr\drivers\console\uart_mcumgr.c-->uart_mcumgr_isr()
    • \zephyr\subsys\mgmt\mcumgr\smp_uart.c-->smp_uart_rx_frag()
    • \zephyr\subsys\mgmt\mcumgr\smp.c-->zephyr_smp_rx_req()
    • \zephyr\subsys\mgmt\mcumgr\lib\smp\src\smp.c-->smp_handle_single_payload()

    Best regards,

    Simon

Children
No Data
Related