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-L138 StarterWare 中断问题

Other Parts Discussed in Thread: OMAP-L138

硬件环境:LogicPD的开发板 OMAP-L138 experiment Kit
软件环境:CCS4,OMAP-L138 StarterWare

我将StarterWare中关于ARM UartEcho例子的代码复制出来建立了一个CCS工程,运行过程中该程序可以向串口发送数据,当接收数据时无法响应中断,这是linker.cmd文件:
    -stack           0x00000800
    -heap            0x00000800

    MEMORY
    {
       vec:                ORIGIN = 0x11800000     LENGTH = 0x00000400   
       dsp_l2_ram:      ORIGIN = 0x11800400  LENGTH = 0x0003FC00
       shared_ram:      ORIGIN = 0x80005000  LENGTH = 0x00010000
       external_ram:    ORIGIN = 0xC0000000  LENGTH = 0x04000000
       arm_local_rom:   ORIGIN = 0xFFFD0000  LENGTH = 0x00010000
       arm_local_ram:   ORIGIN = 0xFFFF0000  LENGTH = 0x00002000
    }

    SECTIONS
    {
       .vectors    > vec    
       .text       > shared_ram
       .const      > shared_ram
       .bss        > shared_ram
       .far        > shared_ram
       .switch     > shared_ram
       .stack      > shared_ram
       .data       > shared_ram
       .cinit      > shared_ram
       .sysmem     > shared_ram
       .cio        > shared_ram
    }

在它的代码中,对于ARM中断没有使用vectors.asm文件,而是在代码运行的时候动态的将中断服务程序的地址注册到内存中。


请大家帮忙看看是什么原因,或者有没有关于OMAP-L138ARM核终端的简单例程,谢谢。