2 of 2 people found this helpful
Here are some example code about P4 UART bootloader/upgrade.
Thanks for the reply. Although this document is helpful in implementing a PSOC-5 based host controller, it does not mention anything about how to use a non-PSOC MCU as host controller to update a PSoC target device.
It is required to update firmware over UART. The new Hex file will be transferred to the target device over UART and will be stored in memory. Whenever required the target device will update itself. All the update process has to be done by the target. The UART port is to be used only to receive new data.
The target, host, and UART are three separate components. The communication occurs through the UART, and the host merely needs to use the same protocols/messages to interact with the target device to implement the bootloading over UART. It doesn't need to be a PSoC 5 chip for the host to work, but the example is a PSoC 5 for the sake of demonstration purposes.