<?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>Wireless MCU中的主题 Re: JN5168-Check RAM Available</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-Check-RAM-Available/m-p/719648#M3801</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am assuming you are talking about this value?&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12031iEA5944B96E402A53/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I might have worded my question wrong. I would like to understand how much data RAM is being used on a running code. The reason is that I am trying to find out the maximum number of devices that can be connected to a network. In order to do that, I have to increase the size of APDUs which increases memory usage. I would like to how much memory is being used after I run the code on the device.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this explain my problem? Or am I missing something obvious?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Asad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Oct 2017 10:40:09 GMT</pubDate>
    <dc:creator>asadislam</dc:creator>
    <dc:date>2017-10-31T10:40:09Z</dc:date>
    <item>
      <title>JN5168-Check RAM Available</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-Check-RAM-Available/m-p/719646#M3799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have been trying to get information on the amount of RAM that is available on a running code. However I could not find any function that would give me that.&lt;/P&gt;&lt;P&gt;Is there any function available to check for RAM availability or am I missing something here?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 08:47:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5168-Check-RAM-Available/m-p/719646#M3799</guid>
      <dc:creator>asadislam</dc:creator>
      <dc:date>2017-10-25T08:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: JN5168-Check RAM Available</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-Check-RAM-Available/m-p/719647#M3800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look at the .map file, you will find the origin the length for the RAM memory,&amp;nbsp; the RAM data start and the data end that will depend on the heap size and the stack size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 00:36:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5168-Check-RAM-Available/m-p/719647#M3800</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2017-10-31T00:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: JN5168-Check RAM Available</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-Check-RAM-Available/m-p/719648#M3801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am assuming you are talking about this value?&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12031iEA5944B96E402A53/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I might have worded my question wrong. I would like to understand how much data RAM is being used on a running code. The reason is that I am trying to find out the maximum number of devices that can be connected to a network. In order to do that, I have to increase the size of APDUs which increases memory usage. I would like to how much memory is being used after I run the code on the device.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this explain my problem? Or am I missing something obvious?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Asad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 10:40:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5168-Check-RAM-Available/m-p/719648#M3801</guid>
      <dc:creator>asadislam</dc:creator>
      <dc:date>2017-10-31T10:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: JN5168-Check RAM Available</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-Check-RAM-Available/m-p/719649#M3802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recommend to create a routine and fill all the memory RAM and start your application, it will work like a watermark.&lt;/P&gt;&lt;P&gt;You have to call the routine before and after your application.&lt;/P&gt;&lt;P&gt;We do not have a tool that can provide the RAM that the code is using in running mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason is that I am trying to find out the maximum number of devices that can be connected to a network. In order to do that.&lt;/P&gt;&lt;P&gt;I don't know what is your application, but you can take a look at the IEEE 802.15.4,&amp;nbsp;&lt;A href="https://www.nxp.com/products/wireless-connectivity/proprietary-ieee-802.15.4-based/support-resources-for-jn516x-mcus:SUPPORT-RESOURCES-JN516X-MCUS?fsrch=1&amp;amp;sr=5&amp;amp;pageNum=1" title="https://www.nxp.com/products/wireless-connectivity/proprietary-ieee-802.15.4-based/support-resources-for-jn516x-mcus:SUPPORT-RESOURCES-JN516X-MCUS?fsrch=1&amp;amp;sr=5&amp;amp;pageNum=1"&gt;Support Resources for JN516x MCUs|NXP&lt;/A&gt;&amp;nbsp; the examples are not taking a lot&amp;nbsp;of memory, are not working with the ZigBee&amp;nbsp;stack.&lt;/P&gt;&lt;P&gt;Also, if your application doesn't need a bigger heap, you can reduce this value in the makefile:&lt;/P&gt;&lt;P&gt;Example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;STACK_SIZE ?= 6000&lt;/P&gt;&lt;P&gt;MINIMUM_HEAP_SIZE ?= 2500&lt;/P&gt;&lt;P&gt;Note It will depend the minimum&amp;nbsp;size that the SDK&amp;nbsp;will need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 17:34:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5168-Check-RAM-Available/m-p/719649#M3802</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2017-11-02T17:34:11Z</dc:date>
    </item>
  </channel>
</rss>

