PSOC6 MCU Encrypted Bootloader - Cannot compile CE222802

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

cross mob
ShAb_4059181
Level 2
Level 2

I downloaded the zip file at

https://www.cypress.com/documentation/code-examples/ce222802-psoc-6-mcu-encrypted-bootloader

and have followed the instructions in the corresponding PDF document.

I am using psoc creator 4.2 with PDL 3.1.0

Every time I compile project-CE222802_encypted_bootloader_app0, I get the error

Build error: bootloader/cy_bootload.h: No such file or directory

Any help is appreciated.

0 Likes
1 Solution

I was able to compile the CE222802 when I reverted my PDL from version 3.1.0 to 3.0.3.

The CE222802 PDF document clearly states the required version of PDL to be 3.0.3, but I wrongly assumed that having PDL3.1.0 would be backward compatible.


What I noticed is that the bootload_user.h/c files became dfu_user.h/c files and compilation errors occurred.

Sorry for the noise.

View solution in original post

0 Likes
2 Replies
ShAb_4059181
Level 2
Level 2

Just an update:

I did a build/clean all projects, then built the project of APP0.

Now I am getting

Build error: cy_crypto_config.h: No such file or directory

in the file main_cm0p.c, I see this code.

#if CY_BOOTLOAD_OPT_CRYPTO_HW != 0

#include "cy_crypto_config.h"

cy_stc_crypto_server_context_t cryptoServerContext;


0 Likes

I was able to compile the CE222802 when I reverted my PDL from version 3.1.0 to 3.0.3.

The CE222802 PDF document clearly states the required version of PDL to be 3.0.3, but I wrongly assumed that having PDL3.1.0 would be backward compatible.


What I noticed is that the bootload_user.h/c files became dfu_user.h/c files and compilation errors occurred.

Sorry for the noise.

0 Likes