Example For Using UART DFU on NRF52832 on both sides of communications

Hello,

I am trying to figure out which example is the closest fit for our design. We are using a 2 processor solution in our product, and the firmware for the NRF52832 has to be able to be upgraded via the UART connection to the main processor. I have found some examples here, but usually it's using a PC application or over the air which does not apply to our design. Also, I'm confused abut some of the examples on the side of the NRF52832 in terms of performing the update. There are references to a "full modem" update, but what is meant by modem? This will be a simple direct UART communication update, is this done via the application on the Nordic chip or can it be done via the bootloader directly?

This has to be a common approach, I'm just unsure where to start. Note I am using the latest SDK release 1.9.1.

Thanks for your help.

Regards,

Pam

Parents
  • Hi Simon and Kazi,

    It seems like the "smp/mcumgr" takes up a lot of code space for functionality that I don't really need. I am fine with using simple custom UART commands to communicate between the 2 processors and program the secondary code slot directly in my application.

    Currently I am focusing on the basic UART communication using the "lpuart" example. Can you direct me to an example that does the programming of the second flash slot and uses the bootloader to swap the images? I understand there is a lot of documentation for the "MCUboot" online, but having an example would be very helpful. Also ideally if there are references to the image header to extract the version information, or at least show how to use the driver for updating the flash and swapping the images.

    Thanks for your help and regards,

    Pam

Reply
  • Hi Simon and Kazi,

    It seems like the "smp/mcumgr" takes up a lot of code space for functionality that I don't really need. I am fine with using simple custom UART commands to communicate between the 2 processors and program the secondary code slot directly in my application.

    Currently I am focusing on the basic UART communication using the "lpuart" example. Can you direct me to an example that does the programming of the second flash slot and uses the bootloader to swap the images? I understand there is a lot of documentation for the "MCUboot" online, but having an example would be very helpful. Also ideally if there are references to the image header to extract the version information, or at least show how to use the driver for updating the flash and swapping the images.

    Thanks for your help and regards,

    Pam

Children
No Data
Related