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

Problem with USB DFU when RTT is disconnected

Hi,

I am using SDK v14.1 for nRF52840. The secure_dfu_usb debug example works well when the J-link RTT Viewer is connected. But when the RTT Viewer is disconnected the Windows does not recognize the USB device

Please help.

Update: It looks the issue is resolved in 0.9.3 version of PDK board.

Could you please let me know whether it is a board design issue or an issue with older version of nRF52840?

Parents
  • Update: It looks the code stucks at WFE in wait_for_event function (file nrf_dfu.c) static void wait_for_event() { while (true) { app_sched_execute(); if (!NRF_LOG_PROCESS()) { #ifdef BLE_STACK_SUPPORT_REQD
    (void)sd_app_evt_wait(); #else __WFE(); #endif } } }

Reply
  • Update: It looks the code stucks at WFE in wait_for_event function (file nrf_dfu.c) static void wait_for_event() { while (true) { app_sched_execute(); if (!NRF_LOG_PROCESS()) { #ifdef BLE_STACK_SUPPORT_REQD
    (void)sd_app_evt_wait(); #else __WFE(); #endif } } }

Children
No Data