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.

TMS570LS3137: TMS570LS Privileged Mode Entry

Part Number: TMS570LS3137
Other Parts Discussed in Thread: HALCOGEN

Hello everyone,

We have a TMS570LS3137 microcontroller. We want to use DMM port as digital output pin. But it is inside in the MPU region. Because of that we can't change DMM pin logic level.

Since the processor starts in supervisor mode when it first starts, I can see that the led connected to my DMM port is lit, that is, it gives output. However, I cannot access this pin from within any FreeRTOS task. For this I need to switch to privileged mode. I have analysed the solution here( e2e.ti.com/.../tms570lc4357-ti-fee-functions-hang-inside-the-freertos-task) before, but there are too many errors in the _svc.asm file. I think some assembly code used is not supported by IAR.
How can I solve this problem. I need to enter Privileged mode.

Thank you

Best regards