RE: Re: PB555 and Codewarrior
Dees Randy-rsaf30 <[email protected]>
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers |
|---|---|
| Message-ID | <3FADD461F8FBD8118BB0000F20D7A55F0BE6F7CF@az33exm43.am.freescale.net> |
linker files usually must be modified for any board specific details such as areas of memory that are ROM (or Flash) and SRAM. the PB board does not have any external memory. the linker file usually must be modified for this. The Floating Point Unit (FPU) registers can only be moved from the floating point register directly to memory. in order for the debugger to read a floating point register is to transfer it to memory and then read it from memory into a general purpose register, it can then display the 64-bit value by reading the 32-bit registers. the CodeWarrior debugger requires a scratch pad area in RAM to be able to read the Floating Point registers. They save the current values of the SRAM, read the FPU registers, and then put the original contents back into the SRAM. Therefore, you must define in the debugger an area of SRAM in the target system that the debugger can use. One minor issue is that CodeWarrior always assumes that you have external SRAM at location 0x00C0_0000 that it can use for this scratchpad area. randy -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of coles555 Thank you so much for the help Ian. I was wondering if you could be more specific about the linker file, is that the 5xx_Axiom_ROM.lcf file? There are some address declarations within that file. Do you know of any other parameters I need to change for Codewarrior to work with the PB board? If you are not sure or can't be more specific, can you direct me to another source for this kind of information? Do you think emailing Metrowerks or Axiom would help? I'm not sure if this is something important but I do get a warning in Codewarrior saying that "0x00c00000 is invalid for FPU buffer" [Non-text portions of this message have been removed] ------------------------ 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/