Search found 1 match
- Sat Jul 06, 2024 11:10 pm
- Forum: Report Bugs
- Topic: [esp32c6] mstatus doesn't change while single-stepping
- Replies: 0
- Views: 4263
[esp32c6] mstatus doesn't change while single-stepping
I'm debugging some bare-metal code on an esp32c6 WROOM board using the latest released versions of riscv32-esp-elf-gdb (14.2_20240403) and openocd-esp32 (v0.12.0-esp32-20240318). In, for example, an OS context switch, the assembly code must write to the mstatus register with something like: csrw mst...