Part Number:PROCESSOR-SDK-OMAPL138
Hi everybody,
Currently, I am working on OMAP L138, and OMAPL138_StarterWare_1_10_04_01's library.
I need to use interrupts in boot program run on C674x DSP. When I build it on ccs v6.2.0 and run debug, the interrupt is still working and running normally. But when creating .ais files from the .out file and loading the code into nand, the program does not run. I logged by using uart and found the program stopped at the command line:
ISTP = (unsigned int) _intcVectorTable;
This command is in the "void IntDSPINTCInit (void)" function of the interrupt.c file.
Declare the _intcVectorTable function found in the "intvecs.asm" file.
.align 1024
_intcVectorTable:
VEC_ENTRY _c_int00
VEC_ENTRY _c674x_nmi_isr
VEC_ENTRY _c674x_rsvd_int2_isr
VEC_ENTRY _c674x_rsvd_int3_isr
VEC_ENTRY _c674x_mask_int4_isr
VEC_ENTRY _c674x_mask_int5_isr
VEC_ENTRY _c674x_mask_int6_isr
VEC_ENTRY _c674x_mask_int7_isr
VEC_ENTRY _c674x_mask_int8_isr
VEC_ENTRY _c674x_mask_int9_isr
VEC_ENTRY _c674x_mask_int10_isr
VEC_ENTRY _c674x_mask_int11_isr
VEC_ENTRY _c674x_mask_int12_isr
VEC_ENTRY _c674x_mask_int13_isr
VEC_ENTRY _c674x_mask_int14_isr
VEC_ENTRY _c674x_mask_int15_isr
I have tried changing the address of "_intcVectorTable" when adding the .sect ".intvecs" line, to put it in the DRAM area but it still does not run.
Is the problem is that the program can not find the address of the interrupt vector table. Can you please guide me how to solve this problem.