Hello,
I am trying to figure out bootload an nRF52840 Module from an external MCU that has only access to nRF52840DK's (one) GPIO and UART.
Eventually, would like to add this to both the following samples:
Here are the resources I looked at, if any of them were actually the key to this ticket's solution please let me know.
https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader#h108sjziaxo3m81rkgr1has5r1d72qtu (appenix 6, seemed like old SDK and not NCS)
Device Firmware Update (DFU) with MCUBoot bootloader (This seemed much closer to what I'm trying to accomplish in the build environment, but I was not sure how to translate the running a DFU process to another MCU. If this is the right path, I will continue to dig, let me know)
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bootloader/README.html (I did not look to heavily into this sample, so let me know if this is the path forward and I need to integrate this sample into the above linked "desired" samples)
I'm aware that I can add a callback to that gpio pin easy enough, but not sure the next steps on being able to transmit a .hex or .bin through the uart after that. (and subsequently have the device reboot with the new application)
I see in the .dts that mcuboot is present (0x0000 - 0xC000)
At the moment, there is no concern with security features. Just an openly available ability to update the application with an image via UART, and a pin to signal it.
Are there any samples or resources for guidance to perform this with NCS 2.1.2 (or 2.3.0)?