<?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[How to acquire and upload demo app?]]></title><description><![CDATA[<p dir="auto">Not sure if I damaged the unit trying to learn micropython on this thing: TFT screen just won't display anything.</p>
<p dir="auto">Thought to upload back the original demo app that comes with stock units. Does anyone know where I can download it, and upload back to my m5stick to test it out?</p>
]]></description><link>https://community.m5stack.com/topic/1950/how-to-acquire-and-upload-demo-app</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Mar 2026 20:52:24 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1950.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 11 May 2020 14:04:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to acquire and upload demo app? on Thu, 14 May 2020 05:36:51 GMT]]></title><description><![CDATA[<p dir="auto">Upyloader, Mu and Thonny are all great tools with a nice GUI that you can use to transfer files to and from the flash of your device</p>
]]></description><link>https://community.m5stack.com/post/8678</link><guid isPermaLink="true">https://community.m5stack.com/post/8678</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Thu, 14 May 2020 05:36:51 GMT</pubDate></item><item><title><![CDATA[Reply to How to acquire and upload demo app? on Thu, 14 May 2020 05:26:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/187">@world101</a> I got Visual Code (pymakr) to do some form of upload/ download. It's a big buggy; 'Upload current file only' feature crashes but 'upload project' is fine. The latter is not preferred because it uploads EVERYTHING in my project folder.</p>
<p dir="auto">Will try ampy, thanks much!</p>
]]></description><link>https://community.m5stack.com/post/8674</link><guid isPermaLink="true">https://community.m5stack.com/post/8674</guid><dc:creator><![CDATA[jhfoo]]></dc:creator><pubDate>Thu, 14 May 2020 05:26:26 GMT</pubDate></item><item><title><![CDATA[Reply to How to acquire and upload demo app? on Thu, 14 May 2020 03:05:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/3590">@jhfoo</a> said in <a href="/post/8669">How to acquire and upload demo app?</a>:</p>
<blockquote>
<p dir="auto">What do you use to transfer files both ways?</p>
</blockquote>
<p dir="auto">I use Adafruit ampy because it supports get and put to transfer files both ways. You could also try the Thonny IDE that <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/700">@lukasmaximus</a> mentioned in the other thread. I haven’t tried that yet.</p>
<p dir="auto">I did try Mu IDE today with an m5stickC running the mainline MicroPython v1.12 firmware, but I wasn’t successful getting the REPL to work. It didn’t seem to detect the serial port connection to the m5stickC. However, Mu REPL did work for me with an M5Stack core running uiFlow v1.5.0 though.</p>
]]></description><link>https://community.m5stack.com/post/8673</link><guid isPermaLink="true">https://community.m5stack.com/post/8673</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Thu, 14 May 2020 03:05:51 GMT</pubDate></item><item><title><![CDATA[Reply to How to acquire and upload demo app? on Thu, 14 May 2020 01:19:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/187">@world101</a> said in <a href="/post/8667">How to acquire and upload demo app?</a>:</p>
<blockquote>
<p dir="auto">115200</p>
</blockquote>
<p dir="auto">I followed your tip and got the prompt now! My mistake (habit of ESP8266 days) was thinking 9600 is a safe speed, which apparently isn't. Also didn't know about Ctrl-C until you mentioned it.</p>
<p dir="auto">What do you use to transfer files both ways?</p>
]]></description><link>https://community.m5stack.com/post/8669</link><guid isPermaLink="true">https://community.m5stack.com/post/8669</guid><dc:creator><![CDATA[jhfoo]]></dc:creator><pubDate>Thu, 14 May 2020 01:19:55 GMT</pubDate></item><item><title><![CDATA[Reply to How to acquire and upload demo app? on Wed, 13 May 2020 14:36:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/3590">@jhfoo</a></p>
<p dir="auto">I'm on a Mac and I use the OSX Terminal and the <em>screen</em> utility to access the REPL. On Windows, you might need to use Putty or something similar. With the uiFlow firmware burned to your m5stickC you can access the REPL.</p>
<p dir="auto"><code>screen /dev/tty.usbserial-514A6FFF41 115200</code></p>
<p dir="auto">Once I'm in the screen session, I press Ctrl+C a few times to get to the REPL prompt. In the output below, I'm pressing Ctrl+C after it says "start m5ucloud monitor":</p>
<pre><code>MPY: soft reboot
I (683470) [TFTSPI]: attached display device, speed=8000000
I (683470) [TFTSPI]: bus uses native pins: false
[ M5 ] node id:d8a01d698f30, api key:6501754B
start m5ucloud monitor

Unhandled exception in thread started by &lt;bound_method&gt;
Traceback (most recent call last):
  File "flowlib/lib/time_ex.py", line 69, in timeCb
KeyboardInterrupt: 
Traceback (most recent call last):
  File "flow_usb.py", line 28, in &lt;module&gt;
  File "flowlib/m5ucloud.py", line 45, in run
  File "flowlib/lib/time_ex.py", line 69, in timeCb
KeyboardInterrupt: 
MicroPython v1.11-321-gac7da0a70-dirty on 2020-02-25; ESP32 module with ESP32
Type "help()" for more information.
&gt;&gt;&gt; 
&gt;&gt;&gt; 
&gt;&gt;&gt; import os
&gt;&gt;&gt; os.listdir()
['image_app', 'flow_usb.py', 'config.json', 'main.py', 'res', 'boot.py', 'img', 'config.py', 'flow.py', 'blocks', 'apps', 'debug.py']
&gt;&gt;&gt; 
&gt;&gt;&gt; f = open('main.py')
&gt;&gt;&gt; f.read()
'from m5stack import *\nfrom m5ui import *\nfrom uiflow import *\n\nsetScreenColor(0x111111)\n\nlabel1 = M5TextBox(24, 70, "TEST", lcd.FONT_Default,0xFFFFFF, rotate=0)'
&gt;&gt;&gt; 
&gt;&gt;&gt; f.close()
&gt;&gt;&gt; 
&gt;&gt;&gt; 
</code></pre>
<p dir="auto">In the above example, I open the <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow ugc">main.py</a> file (which is the 'test' app I think you are referring to) and read it to the REPL output. You can use other text editors to create your MicroPython programs and upload them to the m5stickC using ampy or another utility.  Just save the file as <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow ugc">main.py</a>, upload it to the m5stickC and it will run after <a href="http://boot.py" target="_blank" rel="noopener noreferrer nofollow ugc">boot.py</a>.</p>
<p dir="auto"><a href="https://www.digikey.com/en/maker/projects/micropython-basics-load-files-run-code/fb1fcedaf11e4547943abfdd8ad825ce" target="_blank" rel="noopener noreferrer nofollow ugc">Here</a> is a good resource to look through.</p>
]]></description><link>https://community.m5stack.com/post/8667</link><guid isPermaLink="true">https://community.m5stack.com/post/8667</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Wed, 13 May 2020 14:36:57 GMT</pubDate></item><item><title><![CDATA[Reply to How to acquire and upload demo app? on Wed, 13 May 2020 13:11:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/187">@world101</a> I'm almost there with USB-mode control. I can switch to USB mode. Using Windows Visual Code (Pymakr extension) I am unable to get the &gt;&gt;&gt; prompt. The only way I get the prompt is when the built-in 'test' app is run.</p>
<p dir="auto">So I wrote a simple hello world app and managed to run it on the M5StickC without first saving the file in the stick. Trying to write the file results in an error and failed.</p>
<p dir="auto">My question is: what apps are expected to work in USB mode (since Visual Code REPL doesn't work), and how can I manage the files inside?</p>
]]></description><link>https://community.m5stack.com/post/8666</link><guid isPermaLink="true">https://community.m5stack.com/post/8666</guid><dc:creator><![CDATA[jhfoo]]></dc:creator><pubDate>Wed, 13 May 2020 13:11:06 GMT</pubDate></item><item><title><![CDATA[Reply to How to acquire and upload demo app? on Wed, 13 May 2020 12:57:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/187">@world101</a> said in <a href="/post/8659">How to acquire and upload demo app?</a>:</p>
<blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/3590">@jhfoo</a><br />
On the m5stickC, hold down the A button immediately after boot/power-on to access the menu. Then you use the B and A buttons to navigate and select.</p>
</blockquote>
<p dir="auto">Thanks mate, I could not remember the sequence.</p>
]]></description><link>https://community.m5stack.com/post/8665</link><guid isPermaLink="true">https://community.m5stack.com/post/8665</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Wed, 13 May 2020 12:57:45 GMT</pubDate></item><item><title><![CDATA[Reply to How to acquire and upload demo app? on Wed, 13 May 2020 12:13:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/187">@world101</a> It worked! Very cool. Let me play with this some more.</p>
]]></description><link>https://community.m5stack.com/post/8662</link><guid isPermaLink="true">https://community.m5stack.com/post/8662</guid><dc:creator><![CDATA[jhfoo]]></dc:creator><pubDate>Wed, 13 May 2020 12:13:29 GMT</pubDate></item><item><title><![CDATA[Reply to How to acquire and upload demo app? on Wed, 13 May 2020 11:15:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/3590">@jhfoo</a><br />
On the m5stickC, hold down the A button immediately after boot/power-on to access the menu. Then you use the B and A buttons to navigate and select.</p>
]]></description><link>https://community.m5stack.com/post/8659</link><guid isPermaLink="true">https://community.m5stack.com/post/8659</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Wed, 13 May 2020 11:15:58 GMT</pubDate></item><item><title><![CDATA[Reply to How to acquire and upload demo app? on Wed, 13 May 2020 10:38:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/3590">@jhfoo</a> if the api screen is showing, you missed the menu.<br />
the stick can be an problem in the older firmware as the menu appeared and dissapeared to quick. the stick doesn't have the demo as the demo is only for the core but the menu is there.</p>
]]></description><link>https://community.m5stack.com/post/8656</link><guid isPermaLink="true">https://community.m5stack.com/post/8656</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Wed, 13 May 2020 10:38:36 GMT</pubDate></item><item><title><![CDATA[Reply to How to acquire and upload demo app? on Wed, 13 May 2020 10:30:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/443">@ajb2k3</a> has this been tested? On the screen with the APIKEY I pressed Button A and Button B and various permutations, and none of them switches the screen to Settings, or allow me to switch to USB.</p>
]]></description><link>https://community.m5stack.com/post/8652</link><guid isPermaLink="true">https://community.m5stack.com/post/8652</guid><dc:creator><![CDATA[jhfoo]]></dc:creator><pubDate>Wed, 13 May 2020 10:30:53 GMT</pubDate></item><item><title><![CDATA[Reply to How to acquire and upload demo app? on Wed, 13 May 2020 08:12:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/3590">@jhfoo</a> use the big button on the front and the small button on the right hand side.</p>
]]></description><link>https://community.m5stack.com/post/8649</link><guid isPermaLink="true">https://community.m5stack.com/post/8649</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Wed, 13 May 2020 08:12:26 GMT</pubDate></item><item><title><![CDATA[Reply to How to acquire and upload demo app? on Wed, 13 May 2020 04:28:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/443">@ajb2k3</a> Thanks I'm using M5StickC. What is the equivalent steps?</p>
]]></description><link>https://community.m5stack.com/post/8642</link><guid isPermaLink="true">https://community.m5stack.com/post/8642</guid><dc:creator><![CDATA[jhfoo]]></dc:creator><pubDate>Wed, 13 May 2020 04:28:33 GMT</pubDate></item><item><title><![CDATA[Reply to How to acquire and upload demo app? on Tue, 12 May 2020 18:57:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/3590">@jhfoo</a> said in <a href="/post/8638">How to acquire and upload demo app?</a>:</p>
<blockquote>
<p dir="auto">This was helpful. I use M5Burner to install uiflow v1.4.5.1. Using the web editor I was able to quickly learn some basic python commands.</p>
<p dir="auto">I notice after installing uiflow I am unable to connect via COM6. Is this normal? How can I do advanced python development without uiflow overheads eg. splitting into multiple files/ modules?</p>
</blockquote>
<p dir="auto">To directly program the M5Stack,<br />
Restart the M5stack and click the right hand button to enter settings, go to "switch to USB mode" and click the middle button.</p>
<p dir="auto">Micropython mode can allow you to write more advanced code but I recommend Mu or VCode with the micropython plugin.</p>
]]></description><link>https://community.m5stack.com/post/8640</link><guid isPermaLink="true">https://community.m5stack.com/post/8640</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 12 May 2020 18:57:45 GMT</pubDate></item><item><title><![CDATA[Reply to How to acquire and upload demo app? on Tue, 12 May 2020 13:57:42 GMT]]></title><description><![CDATA[<p dir="auto">This was helpful. I use M5Burner to install uiflow v1.4.5.1. Using the web editor I was able to quickly learn some basic python commands.</p>
<p dir="auto">I notice after installing uiflow I am unable to connect via COM6. Is this normal? How can I do advanced python development without uiflow overheads eg. splitting into multiple files/ modules?</p>
]]></description><link>https://community.m5stack.com/post/8638</link><guid isPermaLink="true">https://community.m5stack.com/post/8638</guid><dc:creator><![CDATA[jhfoo]]></dc:creator><pubDate>Tue, 12 May 2020 13:57:42 GMT</pubDate></item><item><title><![CDATA[Reply to How to acquire and upload demo app? on Tue, 12 May 2020 13:17:31 GMT]]></title><description><![CDATA[<p dir="auto">Use M5Burner found in the downloads section of the main website. create a folder called M5Burner, download and put the program in to the folder, open the program and you will presented with a list of firmwares available to download and install into M5Stack and stick devices.</p>
]]></description><link>https://community.m5stack.com/post/8637</link><guid isPermaLink="true">https://community.m5stack.com/post/8637</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 12 May 2020 13:17:31 GMT</pubDate></item><item><title><![CDATA[Reply to How to acquire and upload demo app? on Tue, 12 May 2020 09:27:36 GMT]]></title><description><![CDATA[<p dir="auto">So is the original firmware available to download, and upload back into the device?</p>
]]></description><link>https://community.m5stack.com/post/8636</link><guid isPermaLink="true">https://community.m5stack.com/post/8636</guid><dc:creator><![CDATA[jhfoo]]></dc:creator><pubDate>Tue, 12 May 2020 09:27:36 GMT</pubDate></item><item><title><![CDATA[Reply to How to acquire and upload demo app? on Mon, 11 May 2020 15:21:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/3590">@jhfoo</a> the demo is preinstalled in the firmware</p>
]]></description><link>https://community.m5stack.com/post/8631</link><guid isPermaLink="true">https://community.m5stack.com/post/8631</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Mon, 11 May 2020 15:21:21 GMT</pubDate></item></channel></rss>