Other Parts Discussed in Thread: HALCOGEN
Hi,
We are using MPU; and I would like to define one region allowing first MB of internal FLASH to be executed; but not read or written.
Other code running from a "user" program in another region (also running priviledged); can then not read this protected region.
But can I stop the "user" program from reprogramming the MPU and gaining access to this region?
Because this "user" code is running privledged he can run the priviledged move to/from co-processor registers; hence reprogam the MPU.
Is the only way to stop the user program from reading that region to ensure it is running in user mode?
I need to achieve copy protection somehow. Is only solution to implement a "system" interface and ensure user code is really running in user mode; going over system interface to enter system mode to access protected resources?
Regards,
Owain

