Re: mpc555 memory mapping
"trailrunner23" <[email protected]>
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers |
|---|---|
| Message-ID | <[email protected]> |
Hi Randall, Thanks for the info. Let me see if I understand this. 1) 555 base address = 0x000000 2) XRAM mapped to 0x400000 on CS1 3) ETRE=1,IP=1,OERC=0 --> smaller exception table at 0x000000 4) When debugging, dual map address 0x000000 to 0x400000 (CS1) When interrupts occur, exception vector fetch from 0x000000+offset will actually be from XRAM 0x400000+offset? This will work even if internal flash is disabled? That would be great. I have found another way to map the 555 and XRAM to separate 4MB regions, but it requires different APPCONFIG.H and EXCTABLE.ASM files for the DEBUG and INTFLASH targets, which is very inconvenient. Do you use QUICKSTART? Joe --- In [email protected], "Randall Young" <ryoung@n...> wrote: > > > > I'm wondering if someone can help me with a memory mapping question. > > > > We've got a custom 555 board with 4MB of external RAM, all on one CS. > > When running from internal flash, the base address of the 555 is > > 0x000000 and the external RAM is mapped to address 0x400000. When > > we're debugging, we disable the internal flash and map the external > > RAM to address 0x000000. In this debug configuration, we can't access > > external RAM addresses from 0x2FC000 to 0x3FFFFF because those are > > assigned to internal 555 registers and internal RAM. > > Check out the DME bit in the DMBR. That will allow you to keep your > external RAM configured at 0x400000, and also map the internal flash address > range (at 0x0) on top of it. Special registers and internal RAM will not be > redirected. > > Randall Young > Senior Software Engineer > NavCom Technology, Inc. > A John Deere Company > > "The information contained in or attached to this message, to the extent > it is non-public, is the confidential, proprietary information of NavCom > Technology, Inc., its affiliates > and/or subsidiaries (collectively, "NavCom") and may not be > reproduced, disclosed to any third party or used by recipient and/or the > recipient's employer (hereinafter > "recipient"), for other than the intended purpose for which it was > provided to the recipient, or other than in accordance with the terms of any > Confidentiality or Non Disclosure > Agreement between NavCom. and the recipient, without the prior > written approval of NavCom. If you are not the intended recipient or the > person responsible for delivering the > electronic mail to the intended recipient, be advised that you have > received this electronic mail in error and that any use, dissemination, > forwarding, printing, or copying of this > electronic mail is strictly prohibited. If you have received this > electronic mail in error, please immediately notify the sender by return > mail." > ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income homes are not online. Make a difference this holiday season! http://us.click.yahoo.com/5UeCyC/BWHMAA/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/