- UID
- 110295
- 性别
- 男
|
另外,胡乱写了一个中断程序,出现这个连接错误,什么原因?
initializing of vector IT_routine failed beacuse of over- or underflow vector value
code:
====================
#include /* common defines and macros */
#include /* derivative information */
#pragma LINK_INFO DERIVATIVE "mc9s12dp256b"
#pragma TRAP_PROC
void IT_Routine(void)
{
PTH=0xFF;
}
void main(void) {
/* put your own code here */
EnableInterrupts;
DDRH=0;
for(;;) {} /* wait forever */
}
VECTOR 6 IT_Routine
VECTOR 0 _Startup /* reset vector: this is the default entry point for a C/C++ application. */
//VECTOR 0 Entry /* reset vector: this is the default entry point for a Assembly application. */
//INIT Entry /* for assembly applications: that this is as well the initialisation entry point */
========================== |
|