Check SECURE_BOOT option on WICED SDK

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

cross mob
lefeno
Level 2
Level 2
First like received 10 sign-ins 5 replies posted

According to my understanding, the SECURE BOOT option is written to the OTP address field, and maybe is used in the ROM bootloader only to decrypt and authenticate the 2nd stage bootloader.

Is there any WICED SDK API to help me read this field to check if my cypress hardware has the SECURE BOOT option enabled or not? Or any way to check if my hardware is using secure boot in my code?

I'm using cypress dev CYW54907.

0 Likes
1 Solution
lefeno
Level 2
Level 2
First like received 10 sign-ins 5 replies posted

Hi,

I already read this doc and use this api below, will it work if I don't integrate mfg_app to my firmware image?

platform_otp_read_bit_unprotected(4672, &read_bit)

Btw, does BOOT_OPTION_REDUNDANT OTP field serve as a backup for BOOT_OPTION? I see that the content of both field are the same.

Thanks

View solution in original post

0 Likes
2 Replies
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

You can check this app note and let me know if there are still any queries-

https://www.cypress.com/file/298286/download

Thanks

Aditi

lefeno
Level 2
Level 2
First like received 10 sign-ins 5 replies posted

Hi,

I already read this doc and use this api below, will it work if I don't integrate mfg_app to my firmware image?

platform_otp_read_bit_unprotected(4672, &read_bit)

Btw, does BOOT_OPTION_REDUNDANT OTP field serve as a backup for BOOT_OPTION? I see that the content of both field are the same.

Thanks

0 Likes