It is possible to update the device firmware using BLE OTA bootloaders. Please refer to the application note PSoC® 4 BLE and PRoC™ BLE - Over-The-Air (OTA) Device Firmware Upgrade (DFU) Guide. The document explains how to update the device's firmware using BLE component without the use of SWD or another other wired protocols.
Cypress provides three kinds of BLE bootloaders that you can add to any BLE project to enable OTA upgrades. Please refer to the app note to choose the best BLE bootloader architecture for your application.
If you wish to tune/ view the CapSense debug parameters using BLE, you can use the reference project shared in the thread capsense tuner through bluetooth with psoc 4 vb
When you give To Device, it only loads the new set of tuning parameters in RAM. Upon reset, the tuning parameters are lost. In case you wish to load the Tuning parameters to the Flash, you need to give To Project and reprogram the device.
Do you want to reprogram the new parameters using BLE?
This can be done using a BLE OTA. After you give To Project in Tuner, open your CapSense component, merge all changes and rebuild the project to create a new cyacd file. You can now use this cyacd file to reprogram the device using BLE OTA from CySmart App. Please refer to the code examples attached with the app note to perform this.
The app note explains how to make a normal project to support OTA updates. Please go through the app note and let us know if you face any difficulties.
Please let us know if this answers your question.
Thank you for the quick reply, I'm currently trying to do that
1 of 1 people found this helpful
To check if the idea works, I tried to add OTA support to the CapSense tuning over BLE server project and it works as expected.
OTA architecture used : External memory bootloader.
You can use the attached project for reference.