We have the HCI DFU working. The PC sends the new hex image (python script) via UART to nRF51822. Therefore, the bootloader code on the nRF51822 works. However, in the final design we need to send a new hex image to from a PC to a Cortex-M4 processor (via USB) and then from processor to nRF51822. Has anyone done anything like this before? Is there a C equivalent of the python script to send the hex image?
Thanks.