How to upgrade 52833 firmware with UART interface ?

My project consists of STM32 + 4G + nrf52833. When the 52833 firmware needs to be updated, the cloud service will
send the 52833 firmware to STM32, and then STM32 will send the firmware to 52833 through the UART interface. Now
there are some questions:

1. How to enter DFU mode

If there is a new firmware, STM32 sends a command to nrf52833 through UART interface. How does nrf52833 enter DFU,what API or setting?

2. How to send firmware to 52833

After nrf52833 enters DFU mode, how does STM32 send firmware to 52833 and package new firmware?

3. Are there any demo codes?

sdk:nRF5_SDK_17.0.2_d674dde

The following is the structure diagram of the product:

Parents Reply Children
No Data
Related