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

Update NRF52 Firmware (DFU) via External MCU STM32

Hi all,

I am new to NRF world & I have gone through Nordic's Tutorials about

  • Getting Started
  • custom Services / Characteristics
  • Bootloader, Softdevices
  • DFU via OTA / UART (PC)
  • creating/signing DFU packet etc..

So now in my case, main (Host) CPU is the STM32 and main Programme runs on this. nRF52832 is on the same PCB as BT connectivity provider. 
I want to update the firmware of the nRF not via Standard ways like OTA but via STM32. (reason: due to complete system update in one go).

So my Que.:

  1. nRF side: How this can be done on the  (while prev. firmare + softdevice is already running) via UART / SPI Bootloader?
    (Info: I know that to go again to Bootloader mode we need to impl. Buttonless DFU via PINRESET or GPREGRET register set)
  2. Which is the best interface to connect both ? SPI or UART?

  3. STM32 side: What type of implementation / Bootloader is required (with STM32 Host App Binary) so that DFU packet can be catched abd then can be send to nRF?

complete step by step explaination to acheive this will be a really helpfull for me.
(Info: I have already seen the posts of updating the STM32 via nRF but in my case its reverse.)

Dev-Setup:

  • nRF52832 Evalboard (PCA10040)
  • Nordic Tools (pc-nrfconnect, nrfutils, nrfconnect-App, etc...)
  • STM32F10xxx
Parents Reply Children
  • Hello,

    This ticket was originally for the nRF5 SDK, while you seems to be using the nRF Connect SDK. So for follow up questions, please create a new DevZone ticket. 

    However, we don't have any mcumgr implementation for embedded devices. So in the case if you want to update the nRF with another MCU, you need to implement mcumgr on that device, so that it can push the FW update to the nRF over the protocol that you are using.

    Best regards,

    Edvin

Related