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.

关于TMS320F240芯片的中断处理问题



大家好,我最近在研究TMS320F240芯片的中断应用,现有一个问题想请教各位大侠!

器件手册上说中断向量要求从0x0开始,我就在CMD文件中将它这样配了,结果在烧的时候老出现一个问题:Data verification failed at address 0x0.Please verify target memory map.

我的CMD文件是这样的:

-c

-m    prog.map
-o  debug/prog.out

-l rts2xx.lib

-heap  0x3000
-stack 0x1000
MEMORY
{

    PAGE 0:
     PROG: origin = 0x8000, length = 0x4000
    PAGE 1:
     DATA: origin = 0xC000, length = 0x4000
    PAGE 2:
     VECTORS: origin = 0x0000, length = 0x0040
}

SECTIONS
{
 vectors > VECTORS PAGE 2
  .text   > PROG PAGE 0
  .cinit  > PROG PAGE 0
  .switch > PROG PAGE 0

   .data   > DATA PAGE 1
   .bss    > DATA PAGE 1
   .const  > DATA PAGE 1
   .sysmem > DATA PAGE 1
   .stack  > DATA PAGE 1
}
谢谢各位!