Re: PB555 and Codewarrior
"coles555" <[email protected]>
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers |
|---|---|
| Message-ID | <[email protected]> |
Hey guys, These are my EPPC linker settings: Code Address: 0x003fa000 Data Address: 0x003fc000 RAM Buffer Address: 0x00000000 ROM Image Address: 0x00000000 Heap Address: 0x00000000 Stack Address: 0x003ff000 EPPC Target Settings: Small Data: 8 Small Data2: 8 Heap Size: 4 Stack Size: 4 With these settings established, the program exception for the init_registers went away. However I got another Machine Check Exception at: /* * branch to main program */ #if defined(USE_FAR_ADDRESSING_TO_TEXT_SECTION) lis r3,main@ha //Machine Check Exception occurs addi r3,r3,main@l mtlr r3 blrl Now I believe I have setup all the memory initialization within the chip, but I'm not sure why there is yet more of these exceptions. Anyone can help? Thanks in advance, Lei --- In [email protected], Dees Randy-rsaf30 <randy.dees@f...> wrote: > you only have to worry about the SRAM area that the monitor uses, if you are actually using the monitor to download code, program flash, etc. > > If you use BDM, then it doesn't matter. or if you never go back to the monitor after you run your program from internal memory (or don't care if the SRAM gets blown away when you return to the monitor. > > randy > > > -----Original Message----- > > From: [email protected] [mailto:[email protected]] > > On Behalf Of murphynetuk > > > > > > Just to let you know that it's possible I routinely build PB-0555 > > projects that operate entirely out of the internal SRAM, including > > the area 0x3f9800 -> 0x3fa000, even though the Axiom documentation > > claims that area for their monitor. > > Ian ------------------------ 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/