<?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[Persistent storage management on the M5Stick-C]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I would like to know if it is possible, and if yes how, could I write from micropython a file with telemetry data.<br />
Just as a precision if it matters, I am using VS code with the M5 plugin to run the python code on the M5Stick-C.</p>
<p dir="auto">I've tried the following as a test with no success.</p>
<pre><code class="language-python">f = open("log.txt", "w+")
f.write("Writing content from MicroPython")
f.close()
</code></pre>
<p dir="auto">The file is created (but disappear after soft reboot) and stay empty.</p>
<p dir="auto">My understanding is that the "flash/" folder is mounted on a FAT filesystem.<br />
So I would assume that it is possible to write on the micro-controller memory in this space.</p>
<p dir="auto">Thank you by advance for your support.<br />
Regards,<br />
Antowan</p>
]]></description><link>https://community.m5stack.com/topic/1293/persistent-storage-management-on-the-m5stick-c</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 01:29:09 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1293.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Sep 2019 04:19:19 GMT</pubDate><ttl>60</ttl></channel></rss>