Re: PB555 and Codewarrior
"coles555" <[email protected]>
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers |
|---|---|
| Message-ID | <[email protected]> |
Hi Randy, If I understand you correctly, the warning I am receiving is due to the scratchpad area that is needed by the debugger and the default scratchpad area starts in 0x00C00000, which, according to the CME manual, is the External Flash Memory for the CME board. Does this mean I need to modify the linker code so that the scratchpad area can be moved to on-chip internal SRAM? Is this the only modification I need to make in Codewarrior for the PB to work? Please advise and thank you for responding to my question! Lei --- In [email protected], Dees Randy-rsaf30 <randy.dees@f...> wrote: > 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 --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/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/