This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP 4460 interrupt support

I have a bare-metal program that I have successfully run on the Cortex-A9 master processor in the OMAP4460.  This program has a simple main() that writes to a couple of peripherals.  I would like to extend this program so that has an interrupt service routine that hooks into the Cortex-A9 IRQ.  How should this work, and is there an example?

Perhaps I need to locate the ISR at a specific RAM address...?  If this is true, then how can I specify this with the TI CCS tools, and is there code already in place to do the stack/context switching, or will I have to write my own assembly to do this?

For context, here is my setup.  PandaBoard ES with an XDS100v2 debugger, TI CCS v5.2.1, custom X-Loader in SDRAM does everything normally except that it does not attempt to load U-boot or branch to DDR.  After the OMAP4460 executes its ROM code, along with the modified X-Loader code, I can begin the debug session (with GEL files) to get the chip in a clocked and powered state. 

Thanks,

Errett

  • Hi Errett,

    Currently there are no bare metal software available or maintain inside TI for OMAp4460. The best shot you have is to refer the linux kernel on any of the standard Android or Ubuntu releases from TI and see how the ISRs configured during the kernel boot up. This would give you an idea of how to setup Cortex IRQs. And yes, you might need to program some of this code in assembly.

    Regards,Satheesh