Kindly refer to the WICED-HCI-Control-Protocol that is included with WICED. There is a section which describes the steps involved in downloading an application over UART. You will have to send certain HCI commands from the STM32 to the 20706. There is no example for this.
Thanks for your reply.
I see the document (WICED-HCI-Control-Protocol), the firmware can be download into 20706 RAM via UART.
Does the operation only do once?
Since RAM is volatile, the RAM contents will be lost if power is removed. So you will have to re-download the application after power is restored.