Hardware SPI DFU from one nRF52840 to another nRF52840.

Hello,

I was wondering if there is away to perform DFU using SPI without smp protocol or mcumgr from one nRF52840 to another? What I am trying to do is to send a firmware image (.bin file) from one chip to another via SPI, and then have MCUboot update the image on the receiving chip. Is there a way to do this? So far, I have been able to enable MCUboot on the kits, generate a private key to sign images and also flash them using visual studio code. All the samples I have found of serial dfu use a shell or some other tool, but I want to replace this with SPI protocol. Is it possible? Any guidance will be greatly appreciated.

*I am aware that this could be done via BLE and that there are samples for this, but eventually I would want to update the nRF52840 from another MCU via SPI, so I want to test with two nRF52840 first. 

BR,

Kevin 

Parents Reply
  • Hi Marte,

    Thank you for your reply. I went over the sample but it is challeging to me to understand how I could modify or change the sample to use SPI as the transport layer. Is there any sample that performs DFU from one DK to another using Hardware UART (No USB, shell, etc). I think that would be very helpful. I have been looking on the devzone and on the ncs github but haven't found any.

    Best,

    Kevin

Children
Related