PSoC 4 Bootloader, encrypt image and image size check

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

cross mob
TamirM
Level 2
Level 2
25 sign-ins First like given 10 questions asked

1. i would like to know if a Size check is preformed before a new image can be uploaded via Bootloader. that is, bootloader validate if there is enough space in app slot while receiving image data.

2. is there a build-in method to encrypt image and then upload it to PSoC?

0 Likes
1 Solution
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

1. i would like to know if a Size check is preformed before a new image can be uploaded via Bootloader. that is, bootloader validate if there is enough space in app slot while receiving image data.

>>Yes because while building bootloadable project in PSoC creator itself it will check for total size occupied. Else the project will not build.

2. is there a build-in method to encrypt image and then upload it to PSoC?

>>No. We have to upload the .cyacd file generated by PSoC creator. But we can provide security key while bootloading to ensure security. 

Regards

Alakananda

View solution in original post

0 Likes
1 Reply
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

1. i would like to know if a Size check is preformed before a new image can be uploaded via Bootloader. that is, bootloader validate if there is enough space in app slot while receiving image data.

>>Yes because while building bootloadable project in PSoC creator itself it will check for total size occupied. Else the project will not build.

2. is there a build-in method to encrypt image and then upload it to PSoC?

>>No. We have to upload the .cyacd file generated by PSoC creator. But we can provide security key while bootloading to ensure security. 

Regards

Alakananda
0 Likes