I'm downloading a firmware image from AWS via cell onto the nRF9160. I want to perform a serial DFU over UART. The DFU target is the nRF52840. Are there any existing samples outlining this process?
I'm downloading a firmware image from AWS via cell onto the nRF9160. I want to perform a serial DFU over UART. The DFU target is the nRF52840. Are there any existing samples outlining this process?
Hi Ethan,
Could you let me know more about what firmware running on the nRF52840 ?
If it's running NCS , please have a look at this case: https://devzone.nordicsemi.com/support-private/support/269959
ould you try to test using the repo that Simon pointed to in the case.
Simon is on vacation but here is the instruction I got from him:
*** Booting Zephyr OS build v2.1.99-ncs1 **
[00:00:00.120,208] [1B][0m<inf> mcuboot: Starting bootloader[1B][0m
[00:00:00.126,312] [1B][0m<inf> mcuboot: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3[1B][0m
[00:00:00.136,108] [1B][0m<inf> mcuboot: Boot source: none[1B][0m[00:00:00.141,479] [1B][0m<inf> mcuboot: Swap type: test[1B][0m
[00:00:02.377,655] [1B][0m<inf> mcuboot: Bootloader chainload address offset: 0xc000[1B][0m
[00:00:02.385,162] [1B][0m<inf> mcuboot: Jumping to the first image slot[1B][0m
** Booting Zephyr OS build v2.1.99-ncs1 ***Hello world! nrf52840_pca10090

Hey Hung,
A few clarifications:
A follow-up questions now that my misunderstanding has been cleared up:
Is there an example for a secure bootloader performing a DFU over UART that I should start with to apply to the 820. There are no examples that I've seen so far.
HI Ethan,
Thanks for clarification.
I am afraid that we don't have an example for nRF91 that do the task.
You would need to implement DFU master code on the nRF91. We do have an example running on nRF52 to update another nRF52. I think you can refer to the code and implement something similar on the nRF91. Please look here.
Thanks for the sample. I'm looking into transitioning the 820 application to using NCS instead of nRF5 SDK, but I hope this thread proves helpful to others with similar issues
Hey Hung, I switched our toolchain over to NCS and I was wondering if you could re-answer my original question based on that. I can't view the link you sent in your original response because it's a private ticket.