esp32c3: why MIE is not cleared in MSTATUS

jsmith56x
Posts: 13
Joined: Sun Oct 13, 2024 2:51 pm

esp32c3: why MIE is not cleared in MSTATUS

Postby jsmith56x » Thu Nov 07, 2024 2:46 pm

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 327 times

MicroController
Posts: 1725
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: esp32c3: why MIE is not cleared in MSTATUS

Postby MicroController » Thu Nov 07, 2024 3:14 pm

Pretty sure disabling/enabling interrupts works as intended. Probably just a 'debugging artifact'.

Who is online

Users browsing this forum: Bing [Bot] and 128 guests