PSOC™ Control C3 secure application
Follow steps in
Create/export application for IAR Embedded Workbench
. At the end of the process, you should see messages in the console. For a PSOC™ Control C3 device, one of the messages should read as follows:
The project is an ARM Trustzone secure project. The following need to be enabled in Embedded Workbench IDE.
Project->Options->General Options->32 bit->TrustZone
In most cases, PSOC™ Control C3 applications are set to Trust Zone Secure by default. For more details about TrustZone technology, refer to the Arm® website:
When you open the application in IAR Embedded Workbench, you need to check the TrustZone setting. Open the Options dialog, go to
General Options > 32-bit
and verify that the TrustZone
Mode
is set to "Secure."
Save the application and select
Project > Make
to build it. The Output should display the progress, ending with text similar to this:
Total number of errors: 0
Total number of warnings: 0
Resolving dependencies...
Build succeeded
In addition to the TrustZone technology from Arm, PSOC™ Control C3 devices have various security life cycle stages (LCS). For more details about security, refer to Application Note
AN240106 - Getting started with PSOC™ Control C3 security
.
The following sections provide details about working with a device with the default out of the box policy versus a device that has been provisioned.
Note:By default, applications created from code examples default to TrustZone "Secure" mode. For details about PSOC™ Control C3 security, refer to Application Note
AN240106 - Getting started with PSOC™ Control C3 security