External Flash data placement in OTA

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

cross mob
hiko_4316286
Level 4
Level 4
50 replies posted 25 replies posted 10 replies posted

When using OTA, the allocation of data (LUT, FR_APP...) to external Flash is done automatically, is it possible to make it a user-specified placement?

0 Likes
1 Solution

https://community.cypress.com/t5/user/viewprofilepage/user-id/58529

This needs changes in how the app gets built and would need changes in the SDK.

If you want to change the location as to where the application and DCT data goes, this can be changed at /43xxx_Wi-Fi/WICED/platform/MCU/STM32F4xx/GCC/STM32F412/dct.ld

Now, even if you change this, the firmware needs to know as to when and where the required data is there and this is done during  the build and hence would need changes in SDK and may even need some changes in the firmware.

So, for further help, please contact your local sales partner.

View solution in original post

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

Hi,

Can you please be specific about your requirement? like what is the goal of your OTA bootload?

Thanks

Ganesh

0 Likes

I am going to update (OTA) a module that is set to "RESOURCES_LOCATION ? = RESOURCES_IN_WICEDFS" with a FW that is set to "RESOURCES_LOCATION ?= RESOURCES_IN_DIRECT_RESOURCES".

At this time, the placement of the external Flash data is not aligned correctly, so we would like to unify the placement before and after the update.

0 Likes

Hi,

Can you please let us know the part number that you are using?

Thanks

Ganesh

0 Likes

Thank you for your confirmation.The part numbers are below.

CYW43438

STM32F412

0 Likes

https://community.cypress.com/t5/user/viewprofilepage/user-id/58529

This needs changes in how the app gets built and would need changes in the SDK.

If you want to change the location as to where the application and DCT data goes, this can be changed at /43xxx_Wi-Fi/WICED/platform/MCU/STM32F4xx/GCC/STM32F412/dct.ld

Now, even if you change this, the firmware needs to know as to when and where the required data is there and this is done during  the build and hence would need changes in SDK and may even need some changes in the firmware.

So, for further help, please contact your local sales partner.

0 Likes