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

Single bank DFU failed over Meizu phone and 360phone

First,the meizu phone can dfu successfully in the dual bank mode, So do the 360 phone. But in single bank DFU,this two kinds of phone failed, So I make the programm enter the debug mode, It stopped at the file app_scheduler.c about the line 133 in the bootloader project of SDK9.0. It generated the error_code = NRF_ERROR_NO_MEM, I found the variable event_index is equal to 0xFFFF,it means that the function APP_SCHED_QUEUE_FULL() is equal to true.So I comment the function APP_SCHED_QUEUE_FULL(), then DFU retry again,at last,dfu successed.

I have a question,would commenting the APP_SCHED_QUEUE_FULL() make some other problems? The details over the OTA app on RedMi3 as follows: image description image description image description

Parents
  • The file single_bank_serial_s110 is not single bank example in SDK v9.0.0? I admit I modified the dual bank example to become so-called single bank OTA by myself. The check code as above shows,what is the reason for it's existing? Is there some ways to make the OTA successfully changing the app code(like the Master Control Panel code) instead of changing the bootloader code?

Reply
  • The file single_bank_serial_s110 is not single bank example in SDK v9.0.0? I admit I modified the dual bank example to become so-called single bank OTA by myself. The check code as above shows,what is the reason for it's existing? Is there some ways to make the OTA successfully changing the app code(like the Master Control Panel code) instead of changing the bootloader code?

Children
No Data
Related