This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to upgrade another MCU firmware by nordic n51822 DFU.

Hi, My project include two MCU with n51822 and STM32. I expect upgrading STM32 application firmware by n51822 DFU function. Do you give your advice to implement it by modifying nRF51_SDK_8.1.0_b6ed55f\examples\dfu\bootloader example? Thank you.

  • Hi Leif,

    If you want to maximize the limit size of the STM application image then implementing the mechanism to transfer the image from the nRF51 to the STM in the nRF51 bootloader is what I would suggest. You can use a simple flag to tell if the image is for the STM or for the nRF51.

    If the size of the application on the nRF51 is not too big, you can think of integrate it into the bootloader of the nRF51.

    Then you can have just the bootloader on the nRF51 doing both, normal tasks and the DFU task.

    You can do what you describe, on receiving the image by the bootloader, and then use the application to talk to the STM32 and send the image. But it will require 2 steps. And I don't think it would be much less work.

Related