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

[NRF51822] HCI and BLE DFU coexistence

This question is somewhat related to: devzone.nordicsemi.com/.../how-to-switch-between-over-the-air-and-uart-bootloader-mode

I know it is possible to switch between HCI and BLE DFUs via a button or a timer - however, is it possible to have them active at the same time (both waiting to RX the new FW)? i.e. if the new FW is received via BLE, the BLE DFU runs, whereas instead, if the new FW is received via the UART, the HCI DFU runs.

Many thanks.

  • Hi Dmginc,

    I don't see any reason that this should not be done. You would need to modify the bootloader so that it supports both interface at the same time. When you receive a command (or a connect request) from one interface, you should disable the other interface and continue with the interface that has received the command.

    Please be noted that there is a blocking period when the radio is active that the CPU is halted so UART interface with hardware flow control is suggested.

Related