This content has been marked as final. Show 1 reply
We do not have a OTA host reference code which runs on Linux platform. However, we can guide you to understand the OTA host protocol from following source codes and documents.
- The android/iOS CySmart source is a good start to understand the OTA bootloader protocol. You can find the source code here: https://www.cypress.com/documentation/software-and-drivers/cysmart-mobile-app
- The windows based Bootloader Host tool source code is proprietary. It uses four API modules to create the host program. They are included with PSoC Creator installation directory : <install folder> \ PSoC Creator \ <PSoC Creator Version> \ PSoC Creator \ cybootloaderutils
- You can also refer 'Figure 41. Communication Flow During Bootloading' of AN86526 to understand generic bootloader command-response flow. https://www.cypress.com/documentation/application-notes/an86526-psoc-4-i2c-bootloader