RE: help regarding exceptions
Dees Randy-rsaf30 <[email protected]>
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers |
|---|---|
| Message-ID | <3FADD461F8FBD8118BB0000F20D7A55F0BE6F45A@az33exm43.am.freescale.net> |
on the MPC555, the exception handlers must start at either 0x0 (basically internal flash unless you use ISB) or at 0xFFF0_0000. to use 0xFFF0_0000 you must set the IP bit in the MSR and usually in the reset configuration word. if you are only using external flash, then you need to move the base of the external flash from 0xC000_0000 to a base address that includes the region 0xFFF0_0000 - this depends on the size of the external memory. Your linker file, however says you are using a MPC565. The MPC565 has more options.for locations of the exception table - see the Freescale application notes and reference manuals. you should definitely read AN2109 (MPC555 Interrupts/Exceptions) and AN2472 (MPC56x Enhanced Interrupts). your linker file does not look like it puts your exceptions at the proper addresses in memory. randy -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of G.V.Sasanka Sent: Monday, June 06, 2005 11:12 AM To: MPC GRP Subject: [MPC500] help regarding exceptions Hi, I am using Phytec MPC555 board and codewarrior compiler..I have been facing problems in executing exceptions. i went thru the available literature but still facing problems.I am pasting my linker as well as asm file plz suggest me..i am trying to execute exceptions from and not from flash.so Do i need to reallocate the vector table to 0xfff00000 Does the routine depend on debugging connection I use..I am using MSI wiggler [Non-text portions of this message have been removed] ----------------------------------------------------------- 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/