This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

update bootloader from dual bank mode to single bank mode failed in sdk8.0

HI all: Because the application code is relatively small, bootloader is used dual_bank_mode, but now the application code becomes large, OTA can not upgrade, I would like to upgrade to dual_bank_mode until sigle_bank_mode by OTA , but I found it is same dual_bank_mode after upgrading(I had try to used softdevice+bootloader but can't update bootloader,only upgrade bootloader also can't), can I how realized it , I use the SDK 8.1

Parents
  • Dear Bjorn,

    Thank you very much for your soon feedback!

    I had try to used SoftDevice + Bootloader(single bank) to update,but not helpful.

    nrf.exe dfu genpkg --softdevice s110_sd.hex --bootloader s110_sbl.hex --application-version 0xFFFFFFFF --dev-type 0xFFFF --dev-revision 0xFFFF --sd-req 0xFFFE s110_sd_sbl.zip

    I had used this command, so, could you tell me this command is right?Thanks!wait your message.

  • thank you ,Bjørn Spockeli ,,

    my ladygaga,, It's all my fault ,,I found the problem,,I update application only before,,so ,I shielded the code carelessly #if 1 if (bootloader_dfu_sd_in_progress()) { nrf_gpio_pin_clear(UPDATE_IN_PROGRESS_LED);

        err_code = bootloader_dfu_sd_update_continue();
        APP_ERROR_CHECK(err_code);
    
        ble_stack_init(!app_reset);
        scheduler_init();
    
        err_code = bootloader_dfu_sd_update_finalize();
        APP_ERROR_CHECK(err_code);
    
        nrf_gpio_pin_set(UPDATE_IN_PROGRESS_LED);
    }
    

    #endif

    In a word, Thank you very much!!!!

Reply
  • thank you ,Bjørn Spockeli ,,

    my ladygaga,, It's all my fault ,,I found the problem,,I update application only before,,so ,I shielded the code carelessly #if 1 if (bootloader_dfu_sd_in_progress()) { nrf_gpio_pin_clear(UPDATE_IN_PROGRESS_LED);

        err_code = bootloader_dfu_sd_update_continue();
        APP_ERROR_CHECK(err_code);
    
        ble_stack_init(!app_reset);
        scheduler_init();
    
        err_code = bootloader_dfu_sd_update_finalize();
        APP_ERROR_CHECK(err_code);
    
        nrf_gpio_pin_set(UPDATE_IN_PROGRESS_LED);
    }
    

    #endif

    In a word, Thank you very much!!!!

Children
No Data
Related