Im doing a project in RISC-V and im trying to enable timer interrupts and make a simple code running on it. I have this code that is called from a .c file and it returns to it and stays in while(1)
I try to make a program that every 500000 writes hello with a function that works correctly but it only says hello the first time and doesnt return correctly to the execution.
I have tried to write with 0x00 the register mip in the handler or in the main but it seems it doesnt work
Can some one help me please?
Thanks!