Page 1 of 1

esp32c3: why MIE is not cleared in MSTATUS

Posted: Thu Nov 07, 2024 2:46 pm
by jsmith56x
Hi,

I'm debugging the FreeRTOS code and I have found that at the early phase MIE can not clear. Could somebody explain why? See the screenshot. The project is a working 'sample_project' in ESP-IDE using ESP-IDF-5.3.1

It does not matter, I place a BP after this point 2-3 step beyond, the MSTATUS is still 9.
mie problem 1.png
mie problem 1.png (108.04 KiB) Viewed 396 times

Re: esp32c3: why MIE is not cleared in MSTATUS

Posted: Thu Nov 07, 2024 3:14 pm
by MicroController
Pretty sure disabling/enabling interrupts works as intended. Probably just a 'debugging artifact'.