<?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[I want to know the correct procedure for accessing files to SD memory.]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I would like to know the correct procedure for accessing files to SD memory.<br />
First, is it necessary to initialize the SD memory? If necessary, I would like to know what initialization parameters are required. I want to know the difference between a and a+ in file open flags. I want to know the meaning of +.<br />
When initializing with the default SD memory initialization parameters, the operation is very unstable and almost always crashes with an error.</p>
<p dir="auto">Thank you in the advance</p>
]]></description><link>https://community.m5stack.com/topic/5821/i-want-to-know-the-correct-procedure-for-accessing-files-to-sd-memory</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 05:05:57 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5821.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 18 Nov 2023 05:27:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to I want to know the correct procedure for accessing files to SD memory. on Tue, 28 Nov 2023 07:15:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/digiponta" aria-label="Profile: digiponta">@<bdi>digiponta</bdi></a> thanks for the update.<br />
I had forgotten that some cards are just not compatible</p>
]]></description><link>https://community.m5stack.com/post/22921</link><guid isPermaLink="true">https://community.m5stack.com/post/22921</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 28 Nov 2023 07:15:58 GMT</pubDate></item><item><title><![CDATA[Reply to I want to know the correct procedure for accessing files to SD memory. on Thu, 30 Nov 2023 05:59:55 GMT]]></title><description><![CDATA[<p dir="auto">Sorry, I had found it the trouble about SD memory itself. The S3 seems to need a high spec. SD memory. I have no trouble after replacing it to new one (32GB, 100MB/s).</p>
]]></description><link>https://community.m5stack.com/post/22917</link><guid isPermaLink="true">https://community.m5stack.com/post/22917</guid><dc:creator><![CDATA[digiponta]]></dc:creator><pubDate>Thu, 30 Nov 2023 05:59:55 GMT</pubDate></item><item><title><![CDATA[Reply to I want to know the correct procedure for accessing files to SD memory. on Sat, 18 Nov 2023 08:29:29 GMT]]></title><description><![CDATA[<p dir="auto">All this information is out there and has been online for years however,</p>
<p dir="auto">Plug in card,<br />
Mount card,<br />
read card,<br />
write card,<br />
unmount card,<br />
remove card<br />
The argument mode points to a string beginning with one of the following<br />
sequences (Additional characters may follow these sequences.):</p>
<p dir="auto">``r''   Open text file for reading.  The stream is positioned at the<br />
beginning of the file.</p>
<p dir="auto">``r+''  Open for reading and writing.  The stream is positioned at the<br />
beginning of the file.</p>
<p dir="auto">``w''   Truncate file to zero length or create text file for writing.<br />
The stream is positioned at the beginning of the file.</p>
<p dir="auto">``w+''  Open for reading and writing.  The file is created if it does not<br />
exist, otherwise it is truncated.  The stream is positioned at<br />
the beginning of the file.</p>
<p dir="auto">``a''   Open for writing.  The file is created if it does not exist.  The<br />
stream is positioned at the end of the file.  Subsequent writes<br />
to the file will always end up at the then current end of file,<br />
irrespective of any intervening fseek(3) or similar.</p>
<p dir="auto">``a+''  Open for reading and writing.  The file is created if it does not<br />
exist.  The stream is positioned at the end of the file.  Subse-<br />
quent writes to the file will always end up at the then current<br />
end of file, irrespective of any intervening fseek(3) or similar.</p>
]]></description><link>https://community.m5stack.com/post/22804</link><guid isPermaLink="true">https://community.m5stack.com/post/22804</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sat, 18 Nov 2023 08:29:29 GMT</pubDate></item><item><title><![CDATA[Reply to I want to know the correct procedure for accessing files to SD memory. on Sat, 18 Nov 2023 08:24:40 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/digiponta" aria-label="Profile: digiponta">@<bdi>digiponta</bdi></a></p>
<p dir="auto">have you seen this <a href="https://community.m5stack.com/topic/5801/using-sd-cards-with-m5stamps3-and-micropython">thread</a>? <a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> posted this guide a while ago.</p>
<p dir="auto">As for a and a+. See <a href="https://codeahoy.com/learn/tutorials/python-open/" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/22803</link><guid isPermaLink="true">https://community.m5stack.com/post/22803</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 18 Nov 2023 08:24:40 GMT</pubDate></item></channel></rss>