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

Single and dual bank DFU all failed over RedMi Note3 Phone

Firstly,the RedMi Note3 DFU failed used by dual bank,however Xiaomi3 Phone can DFU successfully.As the questionlink text mentioned,the process of the RedMi Notes3 Phone DFU stopped at the line APP_SCHED_QUEUE_FULL(). The details over the OTA app on RedMi3 as follows: image description image description image description

The red frame in the picture 3,the normal status is 1,why the status is 6?What's the meaning of the status?

Parents
  • I have checked the code step by step,found the program stop at the event as follows: static void on_dfu_evt(ble_dfu_t *p_dfu,ble_dfu_evt_t *p_evt)

    { // // }

    It means that there is no dfu_event to generate. The dfu_event is defined as follows: static void services_init(void)

    { uint32_t err_code; ble_dfu_init_t dfu_init_obj; memset(&dfu_init_obj,0,sizeof(dfu_init_obj));

    dfu_init_obj.revision = DFU_REVISION; dfu_init_obj.evt_handler = on_dfu_evt; dfu_init_obj_error_handler = service_error_handler; ble_dfu_init(&m_dfu,&dfu_init_obj); }

    What happened to the program?

Reply
  • I have checked the code step by step,found the program stop at the event as follows: static void on_dfu_evt(ble_dfu_t *p_dfu,ble_dfu_evt_t *p_evt)

    { // // }

    It means that there is no dfu_event to generate. The dfu_event is defined as follows: static void services_init(void)

    { uint32_t err_code; ble_dfu_init_t dfu_init_obj; memset(&dfu_init_obj,0,sizeof(dfu_init_obj));

    dfu_init_obj.revision = DFU_REVISION; dfu_init_obj.evt_handler = on_dfu_evt; dfu_init_obj_error_handler = service_error_handler; ble_dfu_init(&m_dfu,&dfu_init_obj); }

    What happened to the program?

Children
No Data
Related