FreeRTOS + dynamic loading task threads sent via BLE

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
NiHo_1308246
Level 3
Level 3
5 likes given First like received First like given

As I understand PSoC 6 will support FreeRTOS. Our product is a wearable and we are interested in sending code via ble to be run as a thread on the CortexM4. This will be in the same spirit to dynamically adding an 'app' to the device which will open new functionality without a complete firmware reflashing.

Is this possible given flash now support non blocking reads/writes and FreeRTOS has the xTaskCreate function which appears to implement dynamic thread creation?

Much Thanks,

Best,

-Nick

0 Likes
1 Solution
MeenakshiR_71
Employee
Employee
100 likes received 50 likes received 25 likes received

Hello Nick,

Technically this is possible - PSoC 6 supports FreeRTOS and simultaneous flash read/write (while flash is getting updated in one sector, code can execute from another sector) to enable this.

Our bootloader SDK supports BLE Over-the-air update for a complete Application (usually bigger in size). If you are talking about updating complete application (you can have multiple applications), then yes it is possible through the SDK itself. However, updating just one or two functions is not directly supported by our SDK. That said, it can be handled and implemented in application and probably a custom BLE service.

Regards,

Meenakshi Sundaram R

View solution in original post

1 Reply
MeenakshiR_71
Employee
Employee
100 likes received 50 likes received 25 likes received

Hello Nick,

Technically this is possible - PSoC 6 supports FreeRTOS and simultaneous flash read/write (while flash is getting updated in one sector, code can execute from another sector) to enable this.

Our bootloader SDK supports BLE Over-the-air update for a complete Application (usually bigger in size). If you are talking about updating complete application (you can have multiple applications), then yes it is possible through the SDK itself. However, updating just one or two functions is not directly supported by our SDK. That said, it can be handled and implemented in application and probably a custom BLE service.

Regards,

Meenakshi Sundaram R