interrupt vector table for MC9S08RE16

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

interrupt vector table for MC9S08RE16

2,054 次查看
stevec
Contributor III
Can someone tell me how to put an interrupt vector table into CodeWarrior. I'm using an MC9s08RE16. I already have some code written but now require an interrupt driven timer. I've tried using the Device Initialiser but the linker generates error L1119: Vector allocated at absolute address 0xFFFE overlaps with sections placed in segment .absSeg64. Is this because the _Startup vector is being set in the Start08.c code and the MCUinit code? I started the code without using Device Initialiser but called it up to put in the timer interrupt. Is this allowed?

Steve


Message Edited by J2MEJediMaster on 2007-06-22 09:42 AM
标签 (1)
0 项奖励
回复
1 回复

582 次查看
CompilerGuru
NXP Employee
NXP Employee
Probably the problem is that the reset vector is defined both by device initialization and explicitely in the prm file.
If you use device initialization, comment the VECTOR 0 entry in the prm file.

Daniel
0 项奖励
回复