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

Dual Bootloader -- DFU (BLE) + UART?

Wondering if there are any example/reference implementations of a bootloader for the nRF51822 that support Device Firmware Update over both UART and BLE? We've got the BLE stuff working well, but would like to make sure that we've got UART for those that might not have a compatible BLE SmartPhone.

Thanks!

Parents
  • Hi Tim,

    We provided both solutions, UART and BLE. However, they are separated project and are not made to work together initially.

    You may have to modify the source code to allow end customer to choose which type of transportation they want to use, switching a button for example.

    There would be some work needed to combine the 2 projects, but I don't think it would be very difficult.

  • Hi Hung,

    I am having trouble combining two different projects on Keil v5, with the software packs. I was thinking of modifying the source files for the libraries from the packs, dfu_transport_ble.c, dfu_transport_serial.c and bootloader.c, and then I will include both of the source files in the project. However as the way it is set up in the packs, I can only choose either to include serial or ble source file (it shows up as a variant). So just wondering what process you would follow to combine the two bootloaders?

    Thanks! Mike

Reply
  • Hi Hung,

    I am having trouble combining two different projects on Keil v5, with the software packs. I was thinking of modifying the source files for the libraries from the packs, dfu_transport_ble.c, dfu_transport_serial.c and bootloader.c, and then I will include both of the source files in the project. However as the way it is set up in the packs, I can only choose either to include serial or ble source file (it shows up as a variant). So just wondering what process you would follow to combine the two bootloaders?

    Thanks! Mike

Children
No Data
Related