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

how to Switch between over-the-air and uart bootloader mode?

Hi, How to integrate both over-the-air and uart bootloader application for an device? We have a custom board with nrf51822 chipset, and we need to implement the firmware update process, which can support both over-the-air and usb to uart type firmware update. Since we not yet tested the uart bootloader application, we dont have clear idea on it (like, how to make it enter into the bootloader mode). Can anyone suggest us how to handle this?

our requirement as follows, If the device is connected through the usb, and if the user want to update the firmware, the device should enter into dfu_dual_bank_hci (uart) bootloader mode, and do the firmware update.

And if the device is connected through ble, user should make it enter into the dfu_dual_bank_ble (over the air) bootloader mode by writing some value through the special characteristics created for it, and should do the firmware update.

Regards, Balaji

Parents
  • Thanks for the reply Hung BUi,

    How to modify the transport layer in the exiting bootloader example? Do i need to enable Include in Target Build option for both the transport layer source codes?

    When i try to compile both the transport layers in the same project it is giving error as below,

    ._build\bootloader.axf: Error: L6407E: Sections of aggregate size 0x540 bytes could not fit into .ANY selector(s).

    Sounds like memory issue.

    Am i doing it in a wrong way, which is not recommended by you?

    Simple example of your own will help me a lot.

    Regards, Balaji.

Reply
  • Thanks for the reply Hung BUi,

    How to modify the transport layer in the exiting bootloader example? Do i need to enable Include in Target Build option for both the transport layer source codes?

    When i try to compile both the transport layers in the same project it is giving error as below,

    ._build\bootloader.axf: Error: L6407E: Sections of aggregate size 0x540 bytes could not fit into .ANY selector(s).

    Sounds like memory issue.

    Am i doing it in a wrong way, which is not recommended by you?

    Simple example of your own will help me a lot.

    Regards, Balaji.

Children
No Data
Related