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

dfu problem

Hello,

I'm realizing dfu.

  1. 1st case - for test NRF_LOG_PRINTF("main start\r\n"); // ******* main loop start ******* // while (1) { enterBootloader();

     }
    

Dfu works well.

  1. 2nd case - question I call enterBootloader(); in some function. I can see jumping to the enterBootloader(). But, I can't see my device in nrfToolBox.

  2. question : Application doesn't restart automatically after dfu done successfully.

  • I use sd130/sdk12.1.0. and experimental_ble_app_buttonless_dfu.

image description

thanks.

Parents
  • Hello,

    1. As in the above question, if enterBootloader() is executed directly in main, it enters into bootloader. But, If enterBootloader() is executed while doing other work, it doesn’t enter into bootloader. I wonder if there are things to do before enterBootloader() call.

    2. As you mentioned, I tried the example dfu_secure(only blocked the FW version check). The result is same.

    3. I am wondering why the application doesn’t run after dfu via nrfToolBox / dfu_secure. However, the application runs normally after power off / on.

    Thanks.

Reply
  • Hello,

    1. As in the above question, if enterBootloader() is executed directly in main, it enters into bootloader. But, If enterBootloader() is executed while doing other work, it doesn’t enter into bootloader. I wonder if there are things to do before enterBootloader() call.

    2. As you mentioned, I tried the example dfu_secure(only blocked the FW version check). The result is same.

    3. I am wondering why the application doesn’t run after dfu via nrfToolBox / dfu_secure. However, the application runs normally after power off / on.

    Thanks.

Children
No Data
Related