Very Simple,
Just for the record: you have to remove either definition of your vetor
entry from your project. The linker first resolves one of them before
the other (I believe "void interrupt 5 ButtonPressed" is resolved
first). Take out the number 5 from that definition and let the linker
resolve it at the vector definition in the PRM file or remove the
VECTOR entry at the PRM and leave it as it is.
Rene
Ron L wrote:
> In article <1127458245.134643.236250@[EMAIL PROTECTED]
>,
> "Volker Kugler" <volker.kugler@[EMAIL PROTECTED]
> wrote:
>
> >Hi,
> >
> >on our DEMO9S12NE64-Board are two switches, SW1 and SW2. I want to
> >react to SW1, which was connected to PE<0>, XISR. I wrote a function:
> >
> >void interrupt 5 ButtonPressed(void)
> >{}
> >
> >and added the line in monitor.prm:
> >
> >VECTOR 5 ButtonPressed
> >
> >When i compile the project i get the Linker Error:
> >
> >Link Error : L1119: Vector allocated at absolute address 0xFFF4
> >overlaps with sections placed in segment .absSeg0
> >
> >Can anybody explain me my problem or give me a little example for
> >reacting for an interrupt?
> >
> >Many Thanks
> >
> >Volker
> >
>
> If you don't have an answer for this, drop me a note and cc
> cw_sup****t@[EMAIL PROTECTED]
>
> thanks,
>
> Ron
>
> --
> CodeWarrior Community Forum is a free online resource for developers
> to discuss CodeWarrior topics with other users and our staff
> -- http://www.codewarrior.com/community
--
>
> Ron Liechty - ron.liechty@[EMAIL PROTECTED]
- http://www.codewarrior.com


|