Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misconfigured Dual Core example with TrustZone #8

Open
VladimirUmek opened this issue Dec 10, 2024 · 0 comments
Open

Misconfigured Dual Core example with TrustZone #8

VladimirUmek opened this issue Dec 10, 2024 · 0 comments

Comments

@VladimirUmek
Copy link
Owner

VladimirUmek commented Dec 10, 2024

The Dual Core example with TrustZone secure and nonsecure application has secure checking disabled in the MCUXpresso Config Tools project file.

Application boots primary core (core0) in the secure state and configures pins, clocks and security parameters via TrustZone, MBC (Memory Block Checker), AHBSC (Secure AHB Controller) etc. from main function by calling BOARD_InitBootTEE.
Secondary core is enabled afterwards and primary core switches to non-secure application that toggles red LED (LED0). The application executing on the secondary core toggles green LED (LED1).

When "Enable Secure Checking" (ENABLE_SECURE_CHECKING bits 3-2) is enabled in MISC_CTRL_REG the application executing on secondary core (core1) is unable to toggle LED (on/off).
The security violation is detected but the root cause is unknown.

Investigate the security violation root cause and update security configuration accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant