RE: interrupts +pb0555 +codewarrior
"Dobbin Allan-r11834" <[email protected]> Thu, 17 May 2007 07:44:57 -0700
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers |
|---|---|
| Message-ID | <4147ED8B92A864498825C07E53594E4A0231CDD0@az33exm20.fsl.freescale.net> |
Something confuses me - "unchecked exception handling for External at 0x02000000". The external interrupt is at 0x0500, so where are you getting 0x02000000 from? Obvious question - you are using CW for MPC5xx aren't you? If you are getting a machine check exception, it often means you are trying to access data or instructions from an incorrect address and could be caused by incorrect linker file, ext memory not initialised or incorrect exception vectors. - Allan ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of leblanc Sent: Thursday, May 17, 2007 2:19 AM To: [email protected] Subject: [MPC500] interrupts +pb0555 +codewarrior Hello I am trying to get interrupts working on axiom pb0555 board using metrowerks codewarrior. The zipped project file located here: http://people.tamu.edu/~leblanc/forums/interrupts/ <http://people.tamu.edu/~leblanc/forums/interrupts/> is the closest thing generating anything that resembles an exception. PowerPC Exception: Machine Check Exception 0x0200 My MAIN goal is to setup a C interrupt handler (catch all) which branches to specific handlers. Again I'm using metrowerks codewarrior on pb0555. Also since i used the project created by codewarrior: which includes the following files + more: linker command file rom version (.lcf) note: [??what happened to linker for debug??] eppc_exception.asm interrupt.c I would like to get this project properly configured...delete files and make necessary changes ect. Lastly if interrupts do work for me.. is it possible to set breakpoint inside interrupts? I have a slackware guru on my team so if you have free command line tools with the command to do this which removes all the crapy template files generated by codewarrior; I'll accept that solution also. References: 1) I've already read AN2109 written for (diab compiler) 2) Countless threads complaining of this same problem. 3) Inside debug version settings in codewarrior uncheck exception handling for External 0x02000000 4) http://tech.groups.yahoo.com/group/MPC500/message/2749 <http://tech.groups.yahoo.com/group/MPC500/message/2749> 5) http://www.nabble.com/PIT-interrupts-t287412.html <http://www.nabble.com/PIT-interrupts-t287412.html> Leblanc Meneses [email protected] <mailto:leblanc%40tamu.edu> 979-492-6742 http://people.tamu.edu/~leblanc <http://people.tamu.edu/~leblanc> [Non-text portions of this message have been removed] [Non-text portions of this message have been removed]