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.

About oMAP-L137 (Dev board) uart example program

Hi,

In uart example code, they have declared 

extern void intcVectorTable (void);

but there is no access to this function.

and when i keep pointer on this function it says "write occurrence of 'vector table'  "

do i need to write that function, if so please give me a suggestion how to write or else if u have sample code for that plz post it

Thanks and Regards

Shankar H

  • Hi Shankar H,

    You can find the definitions in the following source file.
    ~ti\quickStartOMAPL1x_rCSL\OMAPL1x\rCSL_examples\evmOMAPL137\DSP_examples\uart\UART_interrupt_loopback_dspL137\src\intvecs.asm
  • Thank you Shankari G
  • Hi shankari G,
    one more thing
    where ISTP has been defined, please can u tell me.

    Thanks
    shankar h
  • that ISTP is assigned with intcVectorTable in main.c file.
  • Hi shankar hiregadad,

    In "intvecs.asm" the "intcVectorTable" is defined. It is located at "rcsl_examples\evmomapl137\dsp_examples\uart\uart_interrupt_loopback_dspl137\src"

    ;*-----------------------------------------------------------------------------

    ;*

    ;* intvecs.asm

    ;* -----------

    ;*

    ;* Description:

    ;* This file includes a generic setup to map the DSP interrupt service

    ;* table (IST) to the corresponding interrupt service routines (ISR).

    ;*

    ;*-----------------------------------------------------------------------------

    ; Global symbols defined here

    .global _intcVectorTable

    .global _c_int00

    .global _UART2_isr

    ;***************************************************************************************

    ;* Map interrupt service table (IST) to corresponding interrupt service routines (ISR)

    ;***************************************************************************************

    .sect ".vecs"

    .align 1024

    _intcVectorTable:

    _vector0: VEC_ENTRY _c_int00 ;RESET

    _vector1: VEC_ENTRY _vec_dummy ;NMI

    _vector2: VEC_ENTRY _vec_dummy ;RSVD

    _vector3: VEC_ENTRY _vec_dummy ;RSVD

    _vector4: VEC_ENTRY _UART2_isr ;DSP Maskable INT4 : Mapped to func 'UART2_isr'

    _vector5: VEC_ENTRY _vec_dummy ;DSP Maskable INT5 : Empty

    _vector6: VEC_ENTRY _vec_dummy ;DSP Maskable INT6 : Empty

    _vector7: VEC_ENTRY _vec_dummy ;DSP Maskable INT7 : Empty

    _vector8: VEC_ENTRY _vec_dummy ;DSP Maskable INT8 : Empty

    _vector9: VEC_ENTRY _vec_dummy ;DSP Maskable INT9 : Empty

    _vector10: VEC_ENTRY _vec_dummy ;DSP Maskable INT10: Empty

    _vector11: VEC_ENTRY _vec_dummy ;DSP Maskable INT11: Empty

    _vector12: VEC_ENTRY _vec_dummy ;DSP Maskable INT12: Empty

    _vector13: VEC_ENTRY _vec_dummy ;DSP Maskable INT13: Empty

    _vector14: VEC_ENTRY _vec_dummy ;DSP Maskable INT14: Empty

    _vector15: VEC_ENTRY _vec_dummy ;DSP Maskable INT15: Empty