Re: High level interrupt (5) and NMI issues
Posted: Wed Aug 21, 2024 4:37 pm
OK, so who handles the Arduino ESP stuff?
I looked at xtensa_vectors.S code and see how the interrupt handler works... and I can see why it takes 220ns before the high level interrupt routine is called. Can you tell me how I can determine WHERE (memory address) the interrupt table is located? It seems from looking at that code that the _xtos_interrupt_table is where interrupts are registered. Perhaps if I can just change the table entry I can set the address of the NMI ISR? I also need this ability because I have several different interrupt handlers that need to be used based on conditions. I don't want just a single routine pointed to that gets set at compile time. I need to be able to change that.
Thanks!
I looked at xtensa_vectors.S code and see how the interrupt handler works... and I can see why it takes 220ns before the high level interrupt routine is called. Can you tell me how I can determine WHERE (memory address) the interrupt table is located? It seems from looking at that code that the _xtos_interrupt_table is where interrupts are registered. Perhaps if I can just change the table entry I can set the address of the NMI ISR? I also need this ability because I have several different interrupt handlers that need to be used based on conditions. I don't want just a single routine pointed to that gets set at compile time. I need to be able to change that.
Thanks!