共2条
1/1 1 跳转至页
Error,e16,Segment,INTVEC 【求助】Error[e16]: Segment INTVEC 。。。

问
Error[e16]: Segment INTVEC (size: 0x20 align: 0x1) is too long for segment definition. At least 0x2 more bytes needed. The problem occurred while processing the
segment placement command "-Z(CONST)INTVEC=FFE0-FFFF", where at the moment of placement the available memory ranges were "CODE:FFE0-FFFD"
这是怎么回事啊?我用的是155的芯片。添加过:
$TOOLKIT_DIR$\config\lnk430F155.xcl
$TOOLKIT_DIR$\config\MSP430F155.ddf
主程序就这么几行:
#include "MSP430x15x.h"
ORG 0F000H
RESET MOV.W #300H,SP
STOPWDT MOV.W #WDTPW+WDTHOLD,&WDTCTL
SETUPP MOV.B #0FFH,&P4DIR
MOV.B #0FFH,&P5DIR
MOV.B #0FFH,&P5OUT
MLOOP XOR.B #0FFH,&P4OUT
WAITL MOV.W #050000,R15
L1 DEC.W R15
JNZ L1
JMP MLOOP
ORG 0FFFEH
DW RESET
END
谢谢各位大虾了。
segment placement command "-Z(CONST)INTVEC=FFE0-FFFF", where at the moment of placement the available memory ranges were "CODE:FFE0-FFFD"
这是怎么回事啊?我用的是155的芯片。添加过:
$TOOLKIT_DIR$\config\lnk430F155.xcl
$TOOLKIT_DIR$\config\MSP430F155.ddf
主程序就这么几行:
#include "MSP430x15x.h"
ORG 0F000H
RESET MOV.W #300H,SP
STOPWDT MOV.W #WDTPW+WDTHOLD,&WDTCTL
SETUPP MOV.B #0FFH,&P4DIR
MOV.B #0FFH,&P5DIR
MOV.B #0FFH,&P5OUT
MLOOP XOR.B #0FFH,&P4OUT
WAITL MOV.W #050000,R15
L1 DEC.W R15
JNZ L1
JMP MLOOP
ORG 0FFFEH
DW RESET
END
谢谢各位大虾了。
共2条
1/1 1 跳转至页