Is it possible to Flash firmware in nrf51/nRF52 from another MCU (like STM32) over UART interface?

200 Views Asked by At

I need to flash nrf51 firmware from STM32. STM32 connected to nrf51, which will receive binary for nrf51 also and then it should be able to flash that in nrf51.

Is there any existing sample code for above?. I need more details.

1

There are 1 best solutions below

0
Youssif Saeed On

Yes technically this is possible however it wont be straightforward at all (especially given that you are using the nRF51 which is an old chip with limited flash). As far as I'm aware, nordic don't have a full example for this (especially from MCU to MCU part). If there's another way for you to do the upgrade, then I suggest you do that. However if you MUST perform an upgrade from STM32 to nRF51, then you need to get very familiar with Nordic's bootloader structure and their secure DFU. Have a look at the links below for more information:-