- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Has anyone had any success encrypting the .cyacd file prior to sending it OTA as part of an OTA update?
Just trying to get an idea how complicated this is to implement.
Cheers,
Mike
Solved! Go to Solution.
- Labels:
-
PSoC 4 MCU
- Tags:
- bootloader
- ota
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mike,
We do not have any specified method of encrypting the cyacd file.
You can refer to the below communication structure and can do the encryption and decryption in your source code.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mike,
Cyacd file need not be encrypted for security during OTA process.
Normal BLE security settings would be sufficient.
You can use the authenticated pairing with encryption settings.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That may be true, but the .CYACD file will be sitting on a server for users to download and upgrade, so we want to encrypt the file before we make it publically available, then have it un-encrypt within the device after its been downloaded via OTA.
Cheers,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mike,
We do not have any specified method of encrypting the cyacd file.
You can refer to the below communication structure and can do the encryption and decryption in your source code.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the info. I think between the above info, and the details in the External Memory Bootloader/Bootloadable code examples, where they encrypt the new application code prior to storing it in memory and then unencrypt it before loading it into flash, I should be able to get something working
Cheers,
Mike