I want to add an interruption on error code 0x7 : Store/AMO access fault of RISCV.
I created a SoC with LiteX tools. But, i don't happen to add my interruption in the vector interruption in mtvec
register. The communication UART works under interruption. So, when i add my interruption, i lose the ability to write printf
in the communication UART. I think I'm overriding the UART interruption.
How can i solve my problem ?
Thank you,
In fact, I want to add an interruption on mcause
register at the value 0x7 : Store/AMO access fault of RISCV. I tried to change the mode of mtvec
register. without any success.