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

cross mob
MAcomp_gd
Level 1
Level 1
10 sign-ins 5 sign-ins First reply posted

Dear Cypress Customer service,

Good morning. I'm developing an application for the aforementioned PSoC 6 board, and I need to include a OTA update. Right now, the project makes use of both CPUs of the board (CM0 as well as CM4). I know the CM0 is intended for security uses and encryption, but I need it to do some other things for my project. In this regard, a OTA update should update not only the CM4 's firmware, but also the CM0 CPU. 

My question is: is this permitted by the board and the APIs ? If so, my intention would be to set up a HTTPS server to distribute the firmware. How should I set it up to correctly upgrade both CPUs ? Does it mean that I need to distribute 2 different firmwares, one for the CM0 and one for the CM4 ? How should I send the two segments of code ?

 

Thanks in advance,

Best regards.

0 Likes
1 Solution
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

We don't have any code example/application that updates the firmware of CM0+ via OTA. Please have a look at this code example that updates the firmware of CM4 via OTA while the MCUbootloader applications run on CM0+.

https://github.com/Infineon/mtb-example-anycloud-ota-mqtt

You can try pushing the OTA update on CM0+ as done for CM4 and please have a look at the following AN that gives you steps to develop a dual-core application. These will include changes in makefiles and required components to disable.

https://www.infineon.com/dgdl/Infineon-AN215656_PSoC_6_MCU_Dual-CPU_System_Design-ApplicationNotes-v...

Thanks

Aditi

 

View solution in original post

0 Likes
3 Replies
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

https://github.com/Infineon/mtb-example-psoc6-dual-cpu-empty-app

This application makes use of both cores. So, you can develop your application as per your need.

Thanks

Aditi

0 Likes

Hi, 

I am already using that template. Not sure how that is related to my issue though.

 

Thanks

0 Likes
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

We don't have any code example/application that updates the firmware of CM0+ via OTA. Please have a look at this code example that updates the firmware of CM4 via OTA while the MCUbootloader applications run on CM0+.

https://github.com/Infineon/mtb-example-anycloud-ota-mqtt

You can try pushing the OTA update on CM0+ as done for CM4 and please have a look at the following AN that gives you steps to develop a dual-core application. These will include changes in makefiles and required components to disable.

https://www.infineon.com/dgdl/Infineon-AN215656_PSoC_6_MCU_Dual-CPU_System_Design-ApplicationNotes-v...

Thanks

Aditi

 

0 Likes