This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LC4357: Running the Application in the User Mode

Part Number: TMS570LC4357


Hi Team,

For our application on the TMS570LC4357 controller, we wanted to run the Application in the User Mode, Where the operating system will be running. Currently, it is being observed that the RTI, VIM, and other peripheral registers are only write in privileged mode. So, we would like to understand, is there any white paper or any documentation available for us, on how to run the application in user mode when we have an operating system.

Regards,

Shivam

  • Hi Shivam,

    The MCU can execute code in either Privileged mode or User mode. Tasks that execute in user mode are prevented from writing value to WP (write in privileged mode only) bit field of a registers and from executing certain Cortex-R instructions (for example MCR or MRC, etc).

    To configure RTI, VIM, or other registers which has WP bit field, the MCU needs to be switched to privileged mode. I don't have any documentation.