IRQ testing
Michael Grunditz (467) 531 posts |
Hi and Lo I need to test my Interrupt HAL in a simple and controllable way. I have made a simple test for timer irq in the module that puts out a bitmap to hdmi. Thanks. |
Michael Grunditz (467) 531 posts |
The TIMER internal IRQ status is high , but it doesn’t seem to trigger any system interrupts. |
Jeffrey Lee (213) 6048 posts |
The handler address that’s passed to OS_ClaimDeviceVector must be a logical address (generally, assume things are logical addresses unless the docs say otherwise) I’m not sure why the timer won’t be generating an interrupt in the GIC. Maybe try enabling all the interrupt sources and see if you get any interrupts from anywhere? (i.e. if HAL_IRQSource gets called) There are a few different configuration options (priority, routing of interrupts to different CPUs & groups, etc.) so it’s hard to give any advice other than to read the docs and check that everything is configured correctly. |
Michael Grunditz (467) 531 posts |
I know. I Have Been reading the gic documentation over and over again. I tried to enable all interrupts but it doesn’t trigger anything. |