<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>ColdFire/68K Microcontrollers and ProcessorsのトピックM52233DEMO Memory Map / Documentation</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52233DEMO-Memory-Map-Documentation/m-p/145038#M3036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;I was wondering if anyone would know where I can obtain documentation on the MCF52233 memory layout.&amp;nbsp; More specifically- a memory map.&lt;/DIV&gt;&lt;DIV&gt;I recently obtained the M52233DEMO, and am in the process of modifying the .lcf file in order to create a separate stack space.&amp;nbsp; After combing through the MCF52235 Reference Manual, I am still unable to determine where the actual start and end of RAM is located.&lt;/DIV&gt;&lt;DIV&gt;Bare with me, I'm new to this.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Feb 2007 13:21:51 GMT</pubDate>
    <dc:creator>czerofusion</dc:creator>
    <dc:date>2007-02-12T13:21:51Z</dc:date>
    <item>
      <title>M52233DEMO Memory Map / Documentation</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52233DEMO-Memory-Map-Documentation/m-p/145038#M3036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;I was wondering if anyone would know where I can obtain documentation on the MCF52233 memory layout.&amp;nbsp; More specifically- a memory map.&lt;/DIV&gt;&lt;DIV&gt;I recently obtained the M52233DEMO, and am in the process of modifying the .lcf file in order to create a separate stack space.&amp;nbsp; After combing through the MCF52235 Reference Manual, I am still unable to determine where the actual start and end of RAM is located.&lt;/DIV&gt;&lt;DIV&gt;Bare with me, I'm new to this.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 13:21:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52233DEMO-Memory-Map-Documentation/m-p/145038#M3036</guid>
      <dc:creator>czerofusion</dc:creator>
      <dc:date>2007-02-12T13:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: M52233DEMO Memory Map / Documentation</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52233DEMO-Memory-Map-Documentation/m-p/145039#M3037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi&lt;BR /&gt;&lt;BR /&gt;I´m not sure what you are asking for:&lt;BR /&gt;&lt;BR /&gt;internal RAM is 32K&lt;BR /&gt;&lt;BR /&gt;sram (RWX) : ORIGIN = 0x20000000, LENGTH = 0x00008000&lt;BR /&gt;&lt;BR /&gt;You should check CW project templates for LCF files.&lt;BR /&gt;&lt;BR /&gt;For more documentation about LCF you can check:&lt;BR /&gt;&lt;BR /&gt;C:\Program Files\Freescale\CodeWarrior for ColdFire V6.3\Help\PDF\ColdFire_Build_Tools_Reference.pdf&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2007 12:35:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52233DEMO-Memory-Map-Documentation/m-p/145039#M3037</guid>
      <dc:creator>PaoloRenzo</dc:creator>
      <dc:date>2007-02-13T12:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: M52233DEMO Memory Map / Documentation</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52233DEMO-Memory-Map-Documentation/m-p/145040#M3038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;Thanks for the response.&amp;nbsp; I modified my .lcf file like so:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;MEMORY {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;vector_ram (RWX) : ORIGIN = 0x20000000, LENGTH = 0x00000500&lt;BR /&gt;&amp;nbsp;user&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RWX) : ORIGIN = 0x20000500, LENGTH = 0x00007B00&amp;nbsp;&lt;BR /&gt;&amp;nbsp;loser_region (RWX) : ORIGIN = AFTER(user), LENGTH = 0x00002710&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;ipsbar&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RWX) : ORIGIN = 0x40000000, LENGTH = 0x0&lt;BR /&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My code runs fine as I load the "loser_region" up with random data.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;What I'm trying to figure out is that if sram is 32k, what part of memory ( what kind of memory) is my "loser_region" segment in?&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Also, if I set the ORIGIN of the "loser_region" to 0x30000000, my program crashes the instant I run it.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2007 13:26:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52233DEMO-Memory-Map-Documentation/m-p/145040#M3038</guid>
      <dc:creator>czerofusion</dc:creator>
      <dc:date>2007-02-13T13:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: M52233DEMO Memory Map / Documentation</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52233DEMO-Memory-Map-Documentation/m-p/145041#M3039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;The Coldfire's memory map is configured with the CPU registers IPSBAR, RAMBAR&amp;nbsp;and FLASHBAR - you need look them up in the M52233 user's manual.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;These CPU registers are normally setup by startup code that runs at the beginning of your application. If you add sections to the linker command file and make the linker place your code in these new sections without regard to RAMBAR you will get odd effects.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I don't use the CodeWarrior compiler so I don't know how the stationery for the 522xx targets sets up the memory map, but it is fairly common to have SRAM at 0x20000000 and internal flash at 0xf0000000. On CPUs with external RAM and flash these are often placed at 0x00000000 and 0xffe00000. Try searching through your source to find the entry point (usually _start) and then trace through the code to see how the startup code is setting up the memory map.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Good luck,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Paul.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 01:31:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52233DEMO-Memory-Map-Documentation/m-p/145041#M3039</guid>
      <dc:creator>mccPaul</dc:creator>
      <dc:date>2007-02-16T01:31:10Z</dc:date>
    </item>
  </channel>
</rss>

