BLE OTA from another PSOC 4 BLE

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

cross mob
Anonymous
Not applicable

Hi all,

   

Here's the problem I'm trying to solve. Our setup looks like this : on one side, there is a PSOC 4200 BLE that can communicate with a Raspberry Pi3 via UART and on the other side is a second PSOC 4200 BLE for which the only link is BLE. 

   

We want to be able to update the second PSOC OTA without having to physically be there with a BLE dongle or CySmart app. The optimal process would be to upload an update from the Pi3 to the first PSOC via UART, this one would then update the second PSOC OTA via the BLE connection. 

   

We only need to update the application part, so I was looking at the Fixed Stack bootload examples in PSOC Creator. I'm not exactly sure which part (bootloader/bootloadable) would go where and if it is even possible to use another PSOC as the bootloader host. 

   

Any help will be greatly appreciated!

   

 

   

Sebastien

0 Likes
1 Solution
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Hello Sebastien,

   

Do you have an external memory in the target PSoC4-BLE? Then you can send the ,cyacd data to the target PSoC4BLE via BLE and store this in the external memory. The new firmware is sent by the bootloader host PSoC4BLE. You can follow the similar implementation as that of the BLE External Memory bootloader.

   

Thanks,

   

Hima

View solution in original post

0 Likes
1 Reply
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Hello Sebastien,

   

Do you have an external memory in the target PSoC4-BLE? Then you can send the ,cyacd data to the target PSoC4BLE via BLE and store this in the external memory. The new firmware is sent by the bootloader host PSoC4BLE. You can follow the similar implementation as that of the BLE External Memory bootloader.

   

Thanks,

   

Hima

0 Likes