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.

sample interrupt vector table

Hi

I am working onDM6446 Processor.I have requirement to write non DSPBIOS application with some hardware interrupts. plz give necessary guidelines for writing sample interrupt vector table.

 

 

Regards

satheesh kumar

  • Satheesh,

    This post should be in the DaVinci DM64x forum for the best answers.

    The product goals for the DM6446 include ease-of-use for linux-based programming on the ARM processor, and for users to acquire codecs to run on the C64x+ DSP which can be instantiated and run without having to program the DSP at the lowest levels.

    DSP/BIOS is still the best way to go. If you have to ask how to program an interrupt vector table, you need to be using DSP/BIOS. DSP/BIOS will handle all of your interrupts easily from the GUI interface. There are application notes written to help you reduce the memory footprint by removing features that are not needed in your application, but you will not be hurting that much for memory space anyway on most any DM6446 application with external memory. Use DSP/BIOS and you will get your project completed sooner and with less work effort.

    The C environment RunTime Support library includes an interrupt vector table that is automatically provided for you. Look in the rts.src file to see the source for the RTS library.

    The C64x+ CPU & Instruction Set Reference Guide has low level details on the function of interrupts in the C64x+ DSP.

    Again, use DSP/BIOS. This is exactly why DSP/BIOS exists: to get your program running quickly and easily.

    If the RTS source, C Compiler User's Guide, and CPU Reference Guide do not clearly explain to you how to create an interrupt vector table, use DSP/BIOS. You do not have to learn C6000 assembly programming, which has many chances for errors. DSP/BIOS takes care of it all for you and it does not have to cause disadvantages in terms of size and performance.

    Regards,
    RandyP

     

    If you need more help, please reply back. If this answers the question, please click  Verify Answer  , below.

  • Hi randy

    Thanks for your replay

    But I have a requirement to write a low level program to handle interrupt. I don't  know  how to write a sample vector table.

    Regards

    satheesh

     

     

  • Why do you have this requirement?

    If my previous post did not really answer your question, you should remove the Answered indication so other support people will know your question has not been answered.

    There are many difficulties with learning to write C6000 assembly language code. The resources I mentioned above are the best paths I know of to help you with this difficult task.

    You can also search TI for "interrupt vector table" (with quotes) and find references to many additional documents. Some are quite old and some are more recent.

    Please explain the background behind this request and why you cannot use the DSP/BIOS support that TI provides.

    Regards,
    RandyP

  • Hi

    Randy p

    This decision is from top.I don't know the reason behind this design....

     

    regards

    satheesh

  • You can always reverse engineer the interrupt vector table from a DSP-BIOS based program.  Just use the datasheet/app notes to figure out where the interrupt vector table address is located, then put a breakpoint there, run your program and examine the assembly code when you hit the breakpoint.  Don't know about your chip, but the dm6437 has an ISTP register that is the base of the interrupt vector table address.