- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SDK being used - 6.0
So I'm trying to use OTA2 on the quicksilver arrow platform (cyw43907 based). I added the platform files to WICED, added the platform as valid for the ota2 bootloader and failsafe, and built the OTA2 example code and it works flawlessly. However when I try to download the ota2 image file (snip.scan, built with make target snip.scan-QuicksilverEval ota2_image) the ota2 code reports that the platform in the header isn't correct. heres the log output:
0273 00:10:45.458 wiced_ota2_image_validate() OTA Image Platform type fail. CYW943907AEVAL1F.B1 != QuicksilverE val
0274 00:10:45.467 wiced_ota2_write() wiced_ota2_update_staged_header() OTA image not supported!
0276 00:10:45.578 OTA header Information: OTA Image Header after Updating OTAImage header:
0277 00:10:45.585 ota_version: 1
0278 00:10:45.589 software_major: 0
0279 00:10:45.592 software_minor: 0
0280 00:10:45.596 platform: CYW943907AEVAL1F.B1
0281 00:10:45.601 status: 0 (invalid)
0282 00:10:45.606 bytes_received: 1215
0283 00:10:45.609 header_crc: 0x1acf1f42
0284 00:10:45.614 magic_string: OTAimage
0285 00:10:45.618 sign_type: 0
0286 00:10:45.622 secure_signature: TODO
0287 00:10:45.626 image_size: 937984
0288 00:10:45.630 component_count: 5
0289 00:10:45.633 data start offset: 4096
0290 00:10:45.637 ota2_get_OTA() FAILED 0 < 937984!
0291 00:10:45.642
ota2_get_OTA_file() Exiting 4
What do I need to change (not including updating the WICED version) to ensure that the ota2 header is written with the proper platform?
Solved! Go to Solution.
- Tags:
- ota2 header
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please confirm the platform name in generated ota2_image file? Open the OTA2_image_file.bin file with any hex editor:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use the same platfrom name for both the platforms. Are you using different platform file while creating the target?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The platform name is the same for both platforms:
snip.ota2_extract-QuicksilverEval
snip.ota2_example-QuicksilverEval ota2_image download_apps download run
snip.scan-QuicksilverEval ota2_image
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please confirm the platform name in generated ota2_image file? Open the OTA2_image_file.bin file with any hex editor:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please let me know if you were able to do an OTA update.