Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

DFU internal and external flash used

Hi everyone, 

I work with an nrf52840 and SDK15.3.0 and SD 140-6.1.1

I have a board with two micro controler, one nrf52840 and one STM32. 

I want to know if it is possible to use the internal flash to update the nrf application during DFU and an external flash for the STM32. 

The stm32 applicationis larger than the available space in the nrf52 bank 1.

Thanks in advance for your response. 

Best Regards, 

Etienne 

Parents
  • Hi Etienne

    Unfortunately we're not experts on the STM32 series devices, so I can't guarantee that you can do DFU from an external flash onto it, but I don't see a reason it should not work. We don't have an example doing something similar to this either unfortunately, but you can use the DFU protocol in the nRF5 SDK and UART DFU master example for reference.

    Best regards,

    Simon

  • Hi Simonr,

    Thank for your response. 

    I havent explain myself weel I presume. 

    The scheme we wanted to use to update the STM is the following: We put the nrf52840 in DFU mode, we transfert the STM firmware over BLE to the external flash and after that the bootloader return to the application and make the transfert to the STM. 

    But we have others devices which dodn't have external flash and we want to keep the nrf52840 application download into the internal flash of the NRF during DFU process over BLE. 

    Is it possible to do that ? 

    Best Regards, 

    Etienne  

Reply
  • Hi Simonr,

    Thank for your response. 

    I havent explain myself weel I presume. 

    The scheme we wanted to use to update the STM is the following: We put the nrf52840 in DFU mode, we transfert the STM firmware over BLE to the external flash and after that the bootloader return to the application and make the transfert to the STM. 

    But we have others devices which dodn't have external flash and we want to keep the nrf52840 application download into the internal flash of the NRF during DFU process over BLE. 

    Is it possible to do that ? 

    Best Regards, 

    Etienne  

Children
No Data
Related