Author Topic: Accessing registers value  (Read 703 times)

0 Members and 1 Guest are viewing this topic.

Offline saeedmaTopic starter

  • Newbie
  • Posts: 1
  • Country: al
Accessing registers value
« on: August 15, 2023, 02:05:40 pm »
Hi everyone,

I want to do the following on ESP32s3 which I found on the technical documentation.

The steps to configure the World Controller to switch the CPU from the Secure World to the Non-secure World
are described below:
1. Write 0x2 to Register WCL_CORE_m_WORLD_PERPARE_REG, indicating the CPU needs to switch to the
Non-secure World.
2. Configure Register WCL_CORE_m_World_TRIGGER_ADDR_REG as the entry address to the Non-secure
World, i.e., the address of the application in the Non-secure World that needs to be executed.
3. Write any value to Register WCL_CORE_m_World_UPDATE_REG, indicating the configuration is done.

I am a little lost regarding the header files and functions that I should use to write the registers. can any one help me with a simple exam?
btw I am using esp-idf-v5.0.1

Thanks in advance

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf