How to interact with bootloader

Im developing an app with nrf52840 chip and I have to add a bootloader. 

The following types are available (MCUBoot and nrf Secure Inmutable Bootloader) but I can`t find how to interact with it.

In my board there are 2 micros (nrf52840 and stm32l486). I want to init the bootloader on the nrf52 from the stm32 but I can't find any diagram or info about how to send messages via UART for interacting with the nrf52 bootloader.

Related