大家好,我最近在研究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
}
谢谢各位!
Shine:
F240是很老的一款芯片了,属于C2000的,麻烦到c2000论坛咨询
C2000™ 32位实时 MCU
大家好,我最近在研究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
}
谢谢各位!
wang cao:
回复 Shine:
好的,谢谢了!