<?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>topic Error when using a Simulator target- memory regions not found in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-when-using-a-Simulator-target-memory-regions-not-found/m-p/126411#M342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hi everyone,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I using Code Warrior 3.1 for HC12 and have built my code for the simulator target. However, when I try running my code in the simulator, I get the following error message:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;STARTED&lt;BR /&gt;RUNNING&lt;BR /&gt;No memory at [1200:1] (cal_check)&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I've run the same code with the a BDM and the actual hardware as target and it worked fine. In fact I got a very similar message when I tried to build another completely independent application also with the simulator.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The first application used the RELOCATE command in the prm file to relocate some of the memory during runtime to RAM ( with the RAM section starting at 0x1200). The second application also had certain memory checking features i.e. The data bus test writes a series of bitmaps to RAM, each&amp;nbsp;bitmap having one bit set corresponding to one of the data bus lines (a walking 1's test). The bitmap is read back and if it does not correspond to the just written value, a watchdog reset is invoked.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any idea what can cause these problems when using the simulator?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Raghav&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Mar 2007 16:44:42 GMT</pubDate>
    <dc:creator>raghav_sarma</dc:creator>
    <dc:date>2007-03-15T16:44:42Z</dc:date>
    <item>
      <title>Error when using a Simulator target- memory regions not found</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-when-using-a-Simulator-target-memory-regions-not-found/m-p/126411#M342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hi everyone,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I using Code Warrior 3.1 for HC12 and have built my code for the simulator target. However, when I try running my code in the simulator, I get the following error message:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;STARTED&lt;BR /&gt;RUNNING&lt;BR /&gt;No memory at [1200:1] (cal_check)&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I've run the same code with the a BDM and the actual hardware as target and it worked fine. In fact I got a very similar message when I tried to build another completely independent application also with the simulator.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The first application used the RELOCATE command in the prm file to relocate some of the memory during runtime to RAM ( with the RAM section starting at 0x1200). The second application also had certain memory checking features i.e. The data bus test writes a series of bitmaps to RAM, each&amp;nbsp;bitmap having one bit set corresponding to one of the data bus lines (a walking 1's test). The bitmap is read back and if it does not correspond to the just written value, a watchdog reset is invoked.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any idea what can cause these problems when using the simulator?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Raghav&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 16:44:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-when-using-a-Simulator-target-memory-regions-not-found/m-p/126411#M342</guid>
      <dc:creator>raghav_sarma</dc:creator>
      <dc:date>2007-03-15T16:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using a Simulator target- memory regions not found</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-when-using-a-Simulator-target-memory-regions-not-found/m-p/126412#M343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The message just tells you that you are trying to access a memory area, which is not configured as a valid memory area in the simulator.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In order to be able to debug:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Start the simulator&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Select "Simulator" -&amp;gt; "Configure"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - You can define your simulator memory map in the Memory Configuration dialog.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - If you do not want the simulator to track access to invalid area, just change the&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mode to "Auto on Access"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - If you want to simulator to track invalid memory access change mode to "User Defined"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and define your memory map.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Once you are finished, click on Save button and save the data to a file called default.mem&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; located in your project directory.&lt;/DIV&gt;&lt;DIV&gt;Next time you start the simulator from that current directory, the settings will be activated again.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I hope this helps.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 17:56:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Error-when-using-a-Simulator-target-memory-regions-not-found/m-p/126412#M343</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-03-15T17:56:14Z</dc:date>
    </item>
  </channel>
</rss>

