<?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>8-bit MicrocontrollersのトピックRe: How can i know the used RAM?</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-can-i-know-the-used-RAM/m-p/189205#M14451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Take a look at the .map file.&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Sep 2008 01:27:13 GMT</pubDate>
    <dc:creator>JimDon</dc:creator>
    <dc:date>2008-09-29T01:27:13Z</dc:date>
    <item>
      <title>How can i know the used RAM?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-can-i-know-the-used-RAM/m-p/189204#M14450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well I'm having some weird issues, and i wanted to verify that my RAM memory is not full&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have two QE8 communicated with IIC, the slave is always listening. I have some code working properly in the slave with a lot of string processing functions, then I added a lot of more string functions to the slave and the communication doesn't work anymore. Good thing i backed up the previous code, and the IIC routines were not modified at all... So i guess is something to do with the RAM&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any sugestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 01:24:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-can-i-know-the-used-RAM/m-p/189204#M14450</guid>
      <dc:creator>Exelsus</dc:creator>
      <dc:date>2008-09-29T01:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can i know the used RAM?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-can-i-know-the-used-RAM/m-p/189205#M14451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Take a look at the .map file.&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 01:27:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-can-i-know-the-used-RAM/m-p/189205#M14451</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-09-29T01:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can i know the used RAM?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-can-i-know-the-used-RAM/m-p/189206#M14452</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;For the new functions, if you are storing string data within local array variables, this may be using copious quantities of additional stack, which may be overwriting your global and static variables.&amp;nbsp; You might try increasing the stack size sufficiently to accommodate the additional variables.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Again, the map file will indicate where the globals are stored, relative to the stack.&amp;nbsp; Unless you are using a device with a large amount of RAM, it is a good idea to keep the top of stack and the globals separated by as wide a margin as possible.&amp;nbsp; This might involve placing some of the globals within zero page RAM.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Often, the default PRM file is not optimum in&amp;nbsp;respect of variable and stack placements, so may need to be altered.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Mac&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 12:46:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-can-i-know-the-used-RAM/m-p/189206#M14452</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-09-29T12:46:53Z</dc:date>
    </item>
  </channel>
</rss>

