Hi,
is there any way to seperate the flash and Ram memory into two different sections so we can protect our safety critical funktions from side effects from the non-safety code.
What we need is a way that the safety critical code has permission to read/write everything thats readable/writable but the non-safety functions may only have read/write permissions to code/ram-sections wich explicitly determined.
I've looked through the ARM Technical Reference Manual (ARM DDI 0363G) and the ARM Architecture Reference Manual (ARM DDI 0406) but the only way i found to make this possible (if i understand everything right) is by handeling all of the safety critical code in privileged mode (FIQ, IRQ) and all non-safety-code strictly in user mode, so we are not able to use any Interrups in the non-safety-code. Please correcct me if i'm wrong.
The safety code does in fact run only in FIQ,IRQ but we also have some non-safety-code running in IRQ (no FIQ) which would not be locked out from the safety sections.
Regards,
Frank