Secure OTA Firmware Upgrade - Application Versioning

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

cross mob
Nelson_J3010
Level 1
Level 1
First reply posted First question asked Welcome!

Hi!

Thank you in advance.

I am trying to implement the application versioning info to my device ( AIROC CYW20719B2 chip).

Following the cypress doc for SOTA FW UPGRADE.
Secure Over-the-Air Firmware Upgrade (cypress.com)
as mentioned in section 6.1 for application versioning.

Couldn't store or update the app info,
1. Receiving compilation error when adding the piece of code as per doc sec6.1

error: unknown type name 'PLACE_IN_APP_ID_AREA'
   51 | PLACE_IN_APP_ID_AREA wiced_bt_application_id_t mighty_vibe_app_id =
      | ^~~~~~~~~~~~~~~~~~~~

Kindly provide me solution to fix this.

2. what and where exactly it means  PLACE_IN_APP_ID_AREA as per doc sec 6.1 ?
3. I used sdk api (wiced_firmware_upgrade_store_to_nv) to manually store 
the app info in nv address location.
4. Also I didn't find any handle/API that provides my application the Active DS address location to store the App info.

Need a fix asap to complete SOTA FW UPGRADE with app versioning information.

Thank you.

0 Likes
1 Solution
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hi @Nelson_J3010 ,

 Looks like you are referring an older version of the document. The latest version of the document (BTSDK 3.2) can be found here :

https://github.com/Infineon/btsdk-docs/blob/master/docs/BT-SDK/AIROC-Secure-Over-the-Air-Firmware-Up...

In the latest BTSDK, the version ID related information is part of the makefile as expalined in the above app note. The ID related information will be placed in the DS header section of the firmware image.  

Let us know if this solves your issue.

Regards,
Bragadeesh

View solution in original post

0 Likes
2 Replies
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hi @Nelson_J3010 ,

 Looks like you are referring an older version of the document. The latest version of the document (BTSDK 3.2) can be found here :

https://github.com/Infineon/btsdk-docs/blob/master/docs/BT-SDK/AIROC-Secure-Over-the-Air-Firmware-Up...

In the latest BTSDK, the version ID related information is part of the makefile as expalined in the above app note. The ID related information will be placed in the DS header section of the firmware image.  

Let us know if this solves your issue.

Regards,
Bragadeesh
0 Likes

Followed the latest SOTA firmware upgrade document ,
Application versioning Issue was solved. 
Thank you.

0 Likes