Hi everyone,
I'm running Zephyr (compiled as Non-Secure) on an LPC55S69, flashed at address 0x0. To boot it, I:
Flashed the NS image at 0x0
Manually set the PC via GDB
The system only works if I comment out this clock initialization line:
CLOCK_AttachClk(kFRO_HF_to_MAIN_CLK);
Otherwise, it triggers a processor LOCKUP without any visible exception details. I have checked that SAU and MPU are disabled and I have reviewed the Secure AHB Controller (no obvious blocking configurations).
Thanks!
Hi @raz3l
On the LPC55S69, the platform-level security mechanisms that control peripheral access between Secure and Non-Secure worlds (enabled by ARM TrustZone-M)
Secure AHB Controller (SECURE_AHB / AHB_SECURE_CTRL)
Security access rules for AHB peripherals
Security access rules for AHB peripherals on AHB Slave Port P8. Each peripheral can
have independent security attribute.
Registers: SEC_CTRL_AHB_PORTx_SLAVEy_RULE
These determine whether each peripheral (e.g., SYSCON, CLOCK, IOCON, GPIO) is accessible by:
You can try to test it.
BR
Harry