<?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[M5Dial can not upload]]></title><description><![CDATA[<p dir="auto">Hello there,</p>
<p dir="auto">I just bought my M5Dial, i uploaded the examples and everything worked correctly. I uploaded some simple code to write a string to the display, which worked correctly and still works when i reset the unit. The problem is, that i can not upload to the board anymore. Windows detects the device and I even have it among the ports in Arduino Ide, however during the ulpoad procces I get Failed uploading: uploading error: exit status 2 which indicates that connection could not be made. I can't even open the serial monitor. Is there a way to factory reset the device? Thank you kindly in advance for you suggestions.</p>
<p dir="auto"><strong>As you can see, the device is detected and connected:</strong></p>
<p dir="auto"><img src="/assets/uploads/files/1706020528471-screenshot-2024-01-23-153509.png" alt="0_1706020525631_Screenshot 2024-01-23 153509.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>This is the last code I have uploaded:</strong></p>
<pre><code>/**
 * @file rfid.ino
 * @author SeanKwok (shaoxiang@m5stack.com)
 * @brief M5Dial RFID Test
 * @version 0.2
 * @date 2023-10-18
 *
 *
 * @Hardwares: M5Dial
 * @Platform Version: Arduino M5Stack Board Manager v2.0.7
 * @Dependent Library:
 * M5GFX: https://github.com/m5stack/M5GFX
 * M5Unified: https://github.com/m5stack/M5Unified
 */

#include "M5Dial.h"

void setup() {
    auto cfgM5 = M5.config();
    M5Dial.begin(cfgM5, false, true);
    M5Dial.Display.setTextColor(GREEN);
    M5Dial.Display.setTextDatum(middle_center);
    M5Dial.Display.setTextFont(&amp;fonts::Orbitron_Light_32);
    M5Dial.Display.setTextSize(1);

    M5Dial.Display.drawString("unibox", M5Dial.Display.width() / 2,
                              M5Dial.Display.height() / 2);
}

void loop() {}
</code></pre>
]]></description><link>https://community.m5stack.com/topic/6012/m5dial-can-not-upload</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 18:45:38 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6012.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Jan 2024 14:40:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Dial can not upload on Mon, 27 May 2024 08:18:29 GMT]]></title><description><![CDATA[<p dir="auto">On OSX i often have to unplug the usb cable in my laptop. Or even worse, switth from one usb to the other usb connector. Disturbing behaviour, but gotten used to it.</p>
]]></description><link>https://community.m5stack.com/post/25412</link><guid isPermaLink="true">https://community.m5stack.com/post/25412</guid><dc:creator><![CDATA[HappyUser]]></dc:creator><pubDate>Mon, 27 May 2024 08:18:29 GMT</pubDate></item><item><title><![CDATA[Reply to M5Dial can not upload on Sun, 26 May 2024 10:36:04 GMT]]></title><description><![CDATA[<p dir="auto">I had to press the boot button and the reset button together. Just documenting for myself in case I do this again, I always sweat brick when I do this!</p>
<p dir="auto"><img src="/assets/uploads/files/1716719762534-stamp.jpeg" alt="Stamp.jpeg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/25408</link><guid isPermaLink="true">https://community.m5stack.com/post/25408</guid><dc:creator><![CDATA[ANON_USER]]></dc:creator><pubDate>Sun, 26 May 2024 10:36:04 GMT</pubDate></item><item><title><![CDATA[Reply to M5Dial can not upload on Mon, 12 Feb 2024 07:51:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jofotoo" aria-label="Profile: jofotoo">@<bdi>jofotoo</bdi></a> said in <a href="/post/23743">M5Dial can not upload</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robski" aria-label="Profile: robski">@<bdi>robski</bdi></a> Where exactly is this button?</p>
</blockquote>
<p dir="auto">its under sticker in the middle (its shown on the sticker)<br />
pressing it just doesn't feel /sounds same as reset button,<br />
boot button is very delicate and hard to feel</p>
]]></description><link>https://community.m5stack.com/post/23754</link><guid isPermaLink="true">https://community.m5stack.com/post/23754</guid><dc:creator><![CDATA[robski]]></dc:creator><pubDate>Mon, 12 Feb 2024 07:51:36 GMT</pubDate></item><item><title><![CDATA[Reply to M5Dial can not upload on Sun, 11 Feb 2024 09:05:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jofotoo" aria-label="Profile: jofotoo">@<bdi>jofotoo</bdi></a> on the back next to the red grove connector</p>
]]></description><link>https://community.m5stack.com/post/23745</link><guid isPermaLink="true">https://community.m5stack.com/post/23745</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sun, 11 Feb 2024 09:05:48 GMT</pubDate></item><item><title><![CDATA[Reply to M5Dial can not upload on Sun, 11 Feb 2024 05:00:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robski" aria-label="Profile: robski">@<bdi>robski</bdi></a> Where exactly is this button?</p>
]]></description><link>https://community.m5stack.com/post/23743</link><guid isPermaLink="true">https://community.m5stack.com/post/23743</guid><dc:creator><![CDATA[jofotoo]]></dc:creator><pubDate>Sun, 11 Feb 2024 05:00:36 GMT</pubDate></item><item><title><![CDATA[Reply to M5Dial can not upload on Tue, 30 Jan 2024 16:27:34 GMT]]></title><description><![CDATA[<p dir="auto">You have to hold it until a green light come on. I uploaded a video for the card computer which uses the same stampS3</p>
]]></description><link>https://community.m5stack.com/post/23556</link><guid isPermaLink="true">https://community.m5stack.com/post/23556</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 30 Jan 2024 16:27:34 GMT</pubDate></item><item><title><![CDATA[Reply to M5Dial can not upload on Tue, 30 Jan 2024 13:55:16 GMT]]></title><description><![CDATA[<p dir="auto">try to open M5Burner and load latest firmware, my M5Dial went to some unresponsive mode few times, press and hold boot button under sticker usually helps before its plugged in to usb - it is then detected under different com port.</p>
]]></description><link>https://community.m5stack.com/post/23551</link><guid isPermaLink="true">https://community.m5stack.com/post/23551</guid><dc:creator><![CDATA[robski]]></dc:creator><pubDate>Tue, 30 Jan 2024 13:55:16 GMT</pubDate></item><item><title><![CDATA[Reply to M5Dial can not upload on Tue, 23 Jan 2024 18:11:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/smartvisionary" aria-label="Profile: smartvisionary">@<bdi>smartvisionary</bdi></a> The device is of course an S3, which has a permanent bootloader installed by Espressif at their factory, so it is 'brick-proof'.<br />
This error happens to me all the time and I see that there are three levels of loss, all with the same error message.</p>
<ol>
<li>unplug the device and plug it back in, try again.</li>
<li>unplug and quit Arduino IDE and try again</li>
<li>restart your computer, try again.</li>
</ol>
<p dir="auto">Other techniques that generally work on S3 devices:<br />
Enter upload mode, two ways.<br />
or<br />
Erase all flash before sketch upload: Enabled.<br />
Run a simple program with a timer delay and Serial Monitor with changinging messages to test if it is functioning.</p>
<pre><code>bool ticktock = true;

void setup() {
Serial.begin (115200);
}

void loop() {
ticktock = !ticktock;
  if (ticktock) {
    Serial.println("tick");  
  } else {
    Serial.println("tock");
  }
delay (1000);
}
</code></pre>
<p dir="auto">Hope this helps, -Terry</p>
]]></description><link>https://community.m5stack.com/post/23445</link><guid isPermaLink="true">https://community.m5stack.com/post/23445</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Tue, 23 Jan 2024 18:11:05 GMT</pubDate></item></channel></rss>