OTA Upgrade Problem

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

cross mob
TaTa_2447651
Level 3
Level 3
First solution authored 25 replies posted 10 replies posted

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
1 Solution

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
6 Replies
GeonaP_26
Moderator
Moderator
Moderator
250 solutions authored 100 solutions authored 50 solutions authored

Hi,

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

Regards,

Geon

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

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
DaZh_1276586
Level 2
Level 2
5 sign-ins First solution authored 10 replies posted

Hi,

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

Regards.

0 Likes

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

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.

0 Likes

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

Regards.

0 Likes