I am trying to understand the difference between the TEE (Trusted Execution Environment) and REE (Rich Execution Environment) in an electronic component. I understand that for security reasons, there is a TEE environment. I want to understand how one can manage to install an application (a Trusted Application) in TEE and a normal application in REE. That is, how do we instruct the application to install in a specific environment.
I am newbie to security in electronic components. I will be really happy if I can get an answer.