PSoC 6 Bootloadable signature

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

cross mob
AnCi_2234676
Level 4
Level 4
10 replies posted 5 replies posted 10 questions asked

Hi,

I want to generate a bootloadable file for my application and I was wondering if the signature (-S option of cymcuelftool.exe) is mandatory or optional?

Also, if signed, where is the signature validation done / should be done?

Thanks

0 Likes
1 Solution
ShipingW_81
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 replies posted

The signature is mandatory.

elftool does add signature for application image only if add e.g. below line in main_cm4.c:

CY_SECTION(".cy_app_signature") __USED static const uint32_t

cy_bootload_appSignature[1];

The signature should be validated during bootloading process. For more details of generating a bootloadable project, please refer to chapter 4.3 of AN213924.

View solution in original post

0 Likes
1 Reply
ShipingW_81
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 replies posted

The signature is mandatory.

elftool does add signature for application image only if add e.g. below line in main_cm4.c:

CY_SECTION(".cy_app_signature") __USED static const uint32_t

cy_bootload_appSignature[1];

The signature should be validated during bootloading process. For more details of generating a bootloadable project, please refer to chapter 4.3 of AN213924.

0 Likes