Interrupt vector redefinition

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Interrupt vector redefinition

Jump to solution
1,403 Views
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 Kudos
1 Solution
963 Views
lukas
Contributor III

My fault - 

 

there is mistake in my redefinition VECTOR_88 doesnt exist

 

but VECTOR_088 is the right.

 

 

 

View solution in original post

0 Kudos
1 Reply
964 Views
lukas
Contributor III

My fault - 

 

there is mistake in my redefinition VECTOR_88 doesnt exist

 

but VECTOR_088 is the right.

 

 

 

0 Kudos