Interrupt vector redefinition

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

Interrupt vector redefinition

跳至解决方案
1,402 次查看
lukas
Contributor III

I have trouble with the interrupt vector redefiniton.

It is the PDB interrupt (VECTOR_88)

 

When I rewrite the vector.h and replace the default_isr

with my own interrupt routine function pdb_isr   everything works fine.

 

When I try to hold to the system that uses the undefiniton and redefinition in isr.h    

 

#undef  VECTOR_88#define VECTOR_88 pdb_isrextern void pdb_isr(void);

 

 

the terminal write:

****default_isr entered on vector 88***** 

 

I am using IAR 32kB kickstart

 

Lukas

 

 

 

0 项奖励
1 解答
962 次查看
lukas
Contributor III

My fault - 

 

there is mistake in my redefinition VECTOR_88 doesnt exist

 

but VECTOR_088 is the right.

 

 

 

在原帖中查看解决方案

0 项奖励
1 回复
963 次查看
lukas
Contributor III

My fault - 

 

there is mistake in my redefinition VECTOR_88 doesnt exist

 

but VECTOR_088 is the right.

 

 

 

0 项奖励