How to do DFU-Programming via SPI port


#1

hello folks,

I am currently using RedBear Nano (nrf51822) with Arduino to make some project. I am wondering is there any way/tutorial to programming/dfu-ing redbear firmware/application code via SPI port.

I noticed that the suggested DAPLink programmer uses SPI (SCLK and SDIO) to communicate with RedBear board. Hence I am wondering if it is possible to use Arduino as a file proxy to transmit .hex file to RedBear board??

Hence the overall architecture will be something like this:
PC <–> Arduino <–> RedBear

Thanks!