I have enabled AHB matrix non-secure privilege check in misc register and try to understand how-to code should be rearranged in this case.
Does it true if Nonprivileged code ( AHB controller settings) can't be executed in privileged mode at all ?
As usually enviroment contain some common code what can be executed in both modes, for example some library function and other code like asserts and etc.
In this case is quite difficalt to separate code and keep rule if privileged mode can't execute nonprivileged code areas.
Do you have any suggestion how to overcome this issue ?
May be some RTOSes can be suggested for usage what are designed for fully utilize LPC security capabilities ?