PSOC Dual Bootlaoder CySmart combinaison project

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

cross mob
Law1443
Level 1
Level 1
5 sign-ins First reply posted First question asked

Hi, 

I'm having a problem trying to update by CySmart my bootloader app with a combinaison project, this project contains a bootloadable linked to de bootloader of the bootloader app, and a bootloader linked to a BLE component.

That bootlaoder is setted as default, since there is also a bootloadable component it cannot be setted as dual bootloader.

In the bootloader app there is a bootloader linked to a BLE component, this bootloader is setted as dual-bootloader.

The main goal is that you can continuously update the PSOC without returning to the bootloader app, thats why the bootlaodable app must have a bootloader (combinaison project).

The update process always fails indicating the same error: "The row checksum does not match the computed value".

I've tried also to set the bootloader of the bootlaoder app as single but the same error occurs. Launcher mode neither works since then it doesn't even show up in the list for be updated.

I wonder if there is any way that it can work, or a way that the bootlaodable apps don't need to reset to the bootlaoder app for update the PSOC again.

Thank you in advance.

0 Likes
1 Solution
VenkataD_41
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi,

PSoC 4 BLE supports only 3 types of Bootloading over OTA configurations.

1. External memory OTA Bootloader

2. Fixed Stack OTA Bootloader

3. Upgradable Stack OTA bootloader

Please note that all the above 3 configurations are for a single application. The reason why the dual application is not supported for BLE OTA is because of the size of the BLE stack. So if you want to bootload over the air through BLE, you should be using one of the above 3 mentioned configurations.

Among those 3 configurations, we recommend you to use Upgradable stack OTA bootloader since you can upgrade the BLE stack as well as the application.

Thanks and regards

Ganesh

View solution in original post

3 Replies
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello,

Could you please refer to the BLE_OTA Code examples from the PSoC Creator? If you are still facing the issue, then please share your complete projects.

Thanks,

P Yugandhar. 

0 Likes
lock attach
Attachments are accessible only for community members.

Hi Yugandhar,

I haven't found any code example for a CySmart update with a dual bootloader or a combinaison project, so I'm a bit lost about how to make it works.

I attach here the bootloader project and the two combinaison projects.

Thank you.

0 Likes
VenkataD_41
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi,

PSoC 4 BLE supports only 3 types of Bootloading over OTA configurations.

1. External memory OTA Bootloader

2. Fixed Stack OTA Bootloader

3. Upgradable Stack OTA bootloader

Please note that all the above 3 configurations are for a single application. The reason why the dual application is not supported for BLE OTA is because of the size of the BLE stack. So if you want to bootload over the air through BLE, you should be using one of the above 3 mentioned configurations.

Among those 3 configurations, we recommend you to use Upgradable stack OTA bootloader since you can upgrade the BLE stack as well as the application.

Thanks and regards

Ganesh