ReadMe.txt for the NXP LPC55S69 TrustZone start project.

This project was built for SEGGER Embedded Studio V8.10d.

Supported hardware:
===================
The sample project for the NXP LPC55S69 is prepared to run on an NXP LPCXpresso55S69 eval board.
Using different target hardware may require modifications.

Description:
============
Start_LPC55S69.emProject contains a solution with two projects, one for the secure and one for the non-secure application side.
In order to start the debug session, both projects need to be built and the secure project needs to be the active one.

The secure project code runs after reset. It initializes the SAU and starts the non-secure project application.
The secure project also includes some functions in Arm_TZ_SecureFunctions.c to read and write secure register from the non-secure state.
embOS runs completely in the non-secure state but tasks can call functions from the secure state like IncrementCounter_s() in App_secure.c.
This sample application creates two tasks, each one calling OS_TASK_Delay().
The HPTask() calls the secure function IncrementCounter_s() which simply increments the secure counter Counter_s.
HPTask() also increments the non secure counter Counter_ns.

This demo shows that embOS is running in non secure state while embOS is able to call secure functions from tasks.

Configurations:
===============
- Debug:
  This configuration is prepared for download into internal Flash using J-Link.
  An embOS debug and profiling library is used.
  To use SEGGER SystemView with this configuration, configure SystemView for
  LPC55S69 as target device and SWD at 2000 kHz as target interface.

- Release:
  This configuration is prepared for download into internal Flash using J-Link.
  An embOS release library is used.
