Re: PIT interrupts in MPC555

"murphynetuk" <[email protected]>
Newsgroups gmane.comp.hardware.motorola.microcontrollers
Message-ID <[email protected]>
Actually your code is working fine.
You need to disable Codewarrior from intercepting your 0x500 
interrupt in the project settings. Then your code will execute.
Regards, Ian


--- In [email protected], "sripathy23" <sripathy23@y...> wrote:
> Dear Members
> 
> I have a question in MPC555 PIT interrupts.I was trying to run an 
PIT. 
> I found a example code in 
> MPC555---> documents--->application notes--->AN2109. I used the 
example 
> to generate an interrupt using one interrupt source. In that 
instead of 
> using SCI I used a PIT interrupt. When I tried to compile the code 
i 
> got an error illegal pragma. i fixed the error and ran the code. 
But 
> when i ran the code  i get an error message as " Power Pc exception"
> "exception at 0x0500". the code which defines the pragma section is 
not 
> working in  the code warrior compiler. i think they ran the code in 
the 
> diab compiler. i would really appreciate if anyone can help me in 
this 
> regard.
> 
> thanks in advance for your help.
> sripathy




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/dN_tlB/TM
--------------------------------------------------------------------~-> 

-----------------------------------------------------------
To learn more about Freescale Microcontrollers, please visit
http://www.freescale.com/mcu


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/MPC500/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.