cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 6 MCU

AnCi_2234676
New Contributor II

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

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

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
Top labels