- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Now, I'm using CY8CPROTO-064B0S3 to emulate our product.
I want to add some features into the bootloader and build it for CY8CPROTO-064B0S3.
However, when I refer to "supported kits" section in "PSoC™ 6 MCU: MCUboot-based basic bootloader" page, CY8CPROTO-064B0S3 seems not to be supported.
Then, is it possible to build for CY8CPROTO-064B0S3 based on mcu-tools/mcuboot.git?
Thanks,
Solved! Go to Solution.
- Labels:
-
ispn:40051:1:0
-
l1:314:1:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @pagansjb,
My apologies, I did not consider that you are using the CY8CPROTO-064B0S3 device. This device I believe has only 512KB of flash which is the reason why SWAP mode is not supported in this device.
The current upgrade policy supports 2 modes of image upgrade - OVERWRITE and SWAP. The SWAP mode upgrade first completes a test swap of the images where the previous image is stored in the secondary slot until the new image changes the IMAGE_OK flag. However, the overwrite mode performs a permanent swap. Unfortunately, SWAP mode is not supported in 1M and 512K parts.
I will create an enhancement request to enable the MCUBoot for PSoC 64 devices. Could you please let me know the size of your image to check whether this would be a feasible solution?
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @pagansjb,
PSoC 64 devices are not yet supported in the MCUBoot example. Can you please let me know the features that you are looking for? PSoC 64 already has CySecureBootloader which could help in this case.
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Rakshith
I want to add the recovery sector for user image and manage the sector in the bootloader.
And, also I want to check how anti-rollback mechanism (by using RollBack Counter?) is implemented in the bootloader.
Then, when can I see the source codes and build my own bootloader for PSoC64?
Thanks,
pagansjb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @pagansjb,
I believe these features are already supported and can be managed from within the policy file. Please refer to the Secure Boot SDK User Guide. For the recovery image, if the image in the primary slot fails the validation test, the secondary slot image will be used.
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Rakshith
Thanks for your answer.
Then, when can I access PSoC 64's codes in MCUBoot? Do you have a plan for it?
Thanks,
pagansjb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @pagansjb,
You could enable these features by reconfiguring the policy file. Currently, there is no plan to support PSoC 64 devices in the MCUBoot example. I will create a request so that the internal team can evaluate the same.
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, @Rakshith
Is it possible to add an additional slot for recovery along with primary slot and secondary slot by reconfiguring the policy file?
And, Is the backup mechanism already enabled in the prebuilt bootloader binary to deal with the abrupt failure while updating the new user image to the primary slot?
Thanks,
pagansjb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @pagansjb,
My apologies, I did not consider that you are using the CY8CPROTO-064B0S3 device. This device I believe has only 512KB of flash which is the reason why SWAP mode is not supported in this device.
The current upgrade policy supports 2 modes of image upgrade - OVERWRITE and SWAP. The SWAP mode upgrade first completes a test swap of the images where the previous image is stored in the secondary slot until the new image changes the IMAGE_OK flag. However, the overwrite mode performs a permanent swap. Unfortunately, SWAP mode is not supported in 1M and 512K parts.
I will create an enhancement request to enable the MCUBoot for PSoC 64 devices. Could you please let me know the size of your image to check whether this would be a feasible solution?
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, @Rakshith
Currently, I'm not sure what size of my image is. Could you let me know the maximum?
And, is it possible to add an additional slot for recovery along with primary slot and secondary slot by reconfiguring the policy file?
Thanks,
pagansjb