<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[M5Stack Fire 4M PSRAM]]></title><description><![CDATA[<p dir="auto">I have a M5Stack Fire with 4M PSRAM.<br />
But when I tried to check the free mem, I got much less than that.</p>
<pre><code>&gt;&gt;&gt; import gc
&gt;&gt;&gt; gc.mem_free()
7904
&gt;&gt;&gt; gc.collect()
&gt;&gt;&gt; gc.mem_free()
60464
</code></pre>
<p dir="auto">I guess Micropython can not see those 4M PSRAM part.<br />
What can I do so that I can use the 4M PSRAM in M5Stack Fire?</p>
<p dir="auto">During the booting process, I saw the following. Does that mean the 4M PSRAM was not initiated?</p>
<pre><code>W (129) MicroPython: SPIRAM: Disabled
</code></pre>
<p dir="auto">I also tried the following and got:</p>
<pre><code>&gt;&gt;&gt; import micropython, machine
&gt;&gt;&gt; micropython.mem_info()
stack: 752 out of 14336
GC: total: 86016, used: 29712, free: 56304
 No. of 1-blocks: 410, 2-blocks: 75, max blk sz: 654, max free sz: 2263
&gt;&gt;&gt; machine.heap_info()
Heap outside of MicroPython heap:
---------------------------------
              Free: 95208
         Allocated: 187096
      Minimum free: 87724
      Total blocks: 200
Largest free block: 93252
  Allocated blocks: 196
       Free blocks: 4
</code></pre>
<p dir="auto">It seems I only have 56k free RAM if I am correct.</p>
]]></description><link>https://community.m5stack.com/topic/1072/m5stack-fire-4m-psram</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 06:20:57 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1072.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 11 Jun 2019 02:06:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Stack Fire 4M PSRAM on Tue, 11 Jun 2019 13:20:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/heybin" aria-label="Profile: heybin">@<bdi>heybin</bdi></a><br />
Thank you.</p>
<p dir="auto">Yes I noticed Lobo MicroPython had been no updates for long time.</p>
<p dir="auto">But I saw <a href="https://github.com/m5stack/M5Stack_MicroPython" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5Stack_MicroPython</a> had been updated continuously.<br />
I will go for it and give it a try.</p>
]]></description><link>https://community.m5stack.com/post/4597</link><guid isPermaLink="true">https://community.m5stack.com/post/4597</guid><dc:creator><![CDATA[zhufu86]]></dc:creator><pubDate>Tue, 11 Jun 2019 13:20:35 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack Fire 4M PSRAM on Tue, 11 Jun 2019 13:07:52 GMT]]></title><description><![CDATA[<p dir="auto">sure,  but lobo micropython was stop updating</p>
]]></description><link>https://community.m5stack.com/post/4596</link><guid isPermaLink="true">https://community.m5stack.com/post/4596</guid><dc:creator><![CDATA[heybin]]></dc:creator><pubDate>Tue, 11 Jun 2019 13:07:52 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack Fire 4M PSRAM on Tue, 11 Jun 2019 13:00:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/heybin" aria-label="Profile: heybin">@<bdi>heybin</bdi></a><br />
I found this:  <a href="https://github.com/m5stack/M5Stack_MicroPython" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5Stack_MicroPython</a><br />
Is it a M5Stack version Lobo MicroPython which I could start with instead of the official Lobo MicroPython on <a href="https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo</a> ?</p>
]]></description><link>https://community.m5stack.com/post/4595</link><guid isPermaLink="true">https://community.m5stack.com/post/4595</guid><dc:creator><![CDATA[zhufu86]]></dc:creator><pubDate>Tue, 11 Jun 2019 13:00:23 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack Fire 4M PSRAM on Tue, 11 Jun 2019 05:48:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/heybin" aria-label="Profile: heybin">@<bdi>heybin</bdi></a><br />
Thank you, heybin.<br />
I will dig into it.</p>
]]></description><link>https://community.m5stack.com/post/4588</link><guid isPermaLink="true">https://community.m5stack.com/post/4588</guid><dc:creator><![CDATA[zhufu86]]></dc:creator><pubDate>Tue, 11 Jun 2019 05:48:20 GMT</pubDate></item><item><title><![CDATA[Reply to M5Stack Fire 4M PSRAM on Tue, 11 Jun 2019 03:31:31 GMT]]></title><description><![CDATA[<p dir="auto">In uiflow, it have not open psram, if wan`t use psram, please use this <a href="https://github.com/micropython/micropython" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/micropython/micropython</a> or <a href="https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo</a></p>
]]></description><link>https://community.m5stack.com/post/4587</link><guid isPermaLink="true">https://community.m5stack.com/post/4587</guid><dc:creator><![CDATA[heybin]]></dc:creator><pubDate>Tue, 11 Jun 2019 03:31:31 GMT</pubDate></item></channel></rss>