Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Codewarrior Embedded > Re: To stupid t...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 355 of 416
Post > Topic >>

Re: To stupid to implement an ISR for XISR, PE<0>

by "rTrenado" <ReneT@[EMAIL PROTECTED] > Oct 2, 2005 at 11:20 AM

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
 




 3 Posts in Topic:
To stupid to implement an ISR for XISR, PE<0>
"Volker Kugler"  2005-09-23 00:02:56 
Re: To stupid to implement an ISR for XISR, PE<0>
Ron L <ron.liechty@[EM  2005-09-30 14:18:19 
Re: To stupid to implement an ISR for XISR, PE<0>
"rTrenado" <  2005-10-02 11:20:10 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 14:15:24 CDT 2008.