cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

TaTa_2447651
New Contributor II

I have a question about OTA upgrade.

I implemented an OTA upgrade with reference to the document of AN 97060 listed in the following URL.

I used the source code of the sample as described in the document as well.

http://www.cypress.com/documentation/application-notes/an97060-psoc-4-ble-and-proc-ble-over-air-ota-...

I am using the device of "CY8C4248LQI-BL483".

I implemented "5.4 Adding an Upgradable Stack OTA Bootloader" described in the document.

In this configuration, the firmware consists of three parts.

1.Application

2.BLE Stack Application

3.Launcher

I will modify the source code of the "Application" and create the built firmware.

And I can upgrade that firmware by OTA upgrade without problems.

However, when I upgrade the firmware created by modifying the source code of "BLE Stack Application", I have problems.

Although the OTA upgrade itself will succeed, it stops within the SRAM initialization process that is done the first time Application is launched.

Please tell me how to solve this problem.

0 Likes
Reply
1 Solution
DaZh_1276586
New Contributor II

I find combined files mode is not working well.

So the answer is yes, you have to use separate files mode.

Just a reminder, when you upgrade IDE version, ie 4.1 to 4.2, you need to upgrade both stack and application using separate files mode.

Regards.

View solution in original post

0 Likes
Reply
6 Replies
GeonaP_26
Moderator
Moderator

Hi,

Please share your workspace to understand the modifications in stack project and recreate the issue.

Regards,

Geon

0 Likes
Reply
TaTa_2447651
New Contributor II

Hi, Geon

I attached the development environment I am using.

Change the GPIO port of LED, SW, UART tx according to the environment being used.

Regards,

Taka

0 Likes
Reply
DaZh_1276586
New Contributor II

Hi,

Did you try to upgrade both stack and application by using the separate files mode?

Regards.

0 Likes
Reply
TaTa_2447651
New Contributor II

Hi,

I tried to upgrade both stack and application by using the combined files mode.

And as you advised, upgrading using the separate files mode succeeded.

If I modified the OTA stack, do I have to use the separate files mode?

Regards.

0 Likes
Reply
DaZh_1276586
New Contributor II

I find combined files mode is not working well.

So the answer is yes, you have to use separate files mode.

Just a reminder, when you upgrade IDE version, ie 4.1 to 4.2, you need to upgrade both stack and application using separate files mode.

Regards.

View solution in original post

0 Likes
Reply
TaTa_2447651
New Contributor II

Thanks to your advice I understood about the upgrade. Thank you very much.

Regards.

0 Likes
Reply