<?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[Timed out waiting for packet header]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I've got a M5Stack MPU9250. I managed to upload some examples on it a couple of times but now I'm stuck with the uploading waiting for a while at the writing step and then returning a "Timed out" fatal error. See attached picture.<br />
Can you spot something wrong in my settings or advise me something. I'm on windows 10 with latest usb drivers and arduino 1.8.5.<br />
Thanks!<br />
<img src="https://image.noelshack.com/fichiers/2018/08/7/1519571482-m5satck-issue.png" alt="Timed out waiting for packet header" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/topic/116/timed-out-waiting-for-packet-header</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 17:09:42 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/116.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 25 Feb 2018 15:15:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Timed out waiting for packet header on Sun, 25 Feb 2018 22:45:58 GMT]]></title><description><![CDATA[<p dir="auto">Make sure you use a non polarized capacitor like the orange one shown in the left picture.  If you use a polarized capacitor instead, you might get it backwards.  If you hook up an electrolytic capacitor backwards, the electrodes oxidize and it starts to conduct current.  Throw away any polarized capacitor that you hook up backwards.</p>
<p dir="auto">You can also use RST and BAT since it's easier (IMO).  <a href="http://forum.m5stack.com/topic/113/an-even-simpler-fix-when-upload-fails" target="_blank" rel="noopener noreferrer nofollow ugc">http://forum.m5stack.com/topic/113/an-even-simpler-fix-when-upload-fails</a></p>
<p dir="auto">I heard the new M5's don't need the cap but I'm waiting for a new one to arrive to confirm.</p>
]]></description><link>https://community.m5stack.com/post/464</link><guid isPermaLink="true">https://community.m5stack.com/post/464</guid><dc:creator><![CDATA[ScottS]]></dc:creator><pubDate>Sun, 25 Feb 2018 22:45:58 GMT</pubDate></item><item><title><![CDATA[Reply to Timed out waiting for packet header on Sun, 25 Feb 2018 18:48:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bflo" aria-label="Profile: bflo">@<bdi>bflo</bdi></a> Excellent! Glad it worked. But do yourself a favour - get hold of a cap. It's MUCH more convenient for regular use.</p>
]]></description><link>https://community.m5stack.com/post/463</link><guid isPermaLink="true">https://community.m5stack.com/post/463</guid><dc:creator><![CDATA[JJ]]></dc:creator><pubDate>Sun, 25 Feb 2018 18:48:34 GMT</pubDate></item><item><title><![CDATA[Reply to Timed out waiting for packet header on Sun, 25 Feb 2018 18:26:42 GMT]]></title><description><![CDATA[<p dir="auto">@jimit Thanks! That worked in the end. Not with the cap though, only by playing with the resest button during the connection... Cheers,</p>
]]></description><link>https://community.m5stack.com/post/461</link><guid isPermaLink="true">https://community.m5stack.com/post/461</guid><dc:creator><![CDATA[bflo]]></dc:creator><pubDate>Sun, 25 Feb 2018 18:26:42 GMT</pubDate></item><item><title><![CDATA[Reply to Timed out waiting for packet header on Mon, 26 Feb 2018 01:05:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bflo" aria-label="Profile: bflo">@<bdi>bflo</bdi></a><br />
Hi bflo, this situation can be found on a number of devices...  On M5Stack It can be be addressed as follows:</p>
<p dir="auto"><strong>1) Immediate fix:</strong><br />
When IDE tries to connecct to M5 - when it shows this on-screen - "Connecting .... ____ ..... ____ ......." , you need to press the red reset button. Press it twice - first time short, then hold 5 seconds. Then press twice quickly  - click, click. It probably start to beep - just repeat the above..  or even just keep holding the button in....  You should find after some combination of the above it will connect. You may have to try a second time. After doing it a few times you should "get the knack" and be able to reliably get it to load first time, each time.</p>
<p dir="auto">This should work but its easier to do one of the following....</p>
<p dir="auto"><strong>2) Long term fix:</strong><br />
Connect a capacitor between the RST and GND ports.  Can be standard through hole cap.  <a class="plugin-mentions-user plugin-mentions-a" href="/user/mikemoy" aria-label="Profile: mikemoy">@<bdi>mikemoy</bdi></a> recommended up to 10 uF max, although I've been using 22 uF. If your cap is polarised be sure to connect negative to the GND port.  <a class="plugin-mentions-user plugin-mentions-a" href="/user/scotts" aria-label="Profile: scotts">@<bdi>scotts</bdi></a> recently suggested using a non-polarised ceramic cap such as the relatively common 0.1 uF.... eg. one with the number 104 printed on it. (the pic below shows 0.068 uF in use).</p>
<p dir="auto">You could also get a proto module board and solder the cap to the pads marked on the proto board as GND and EN (=RST). I will probably try this with 0.1 uF cap.</p>
<p dir="auto">Users with an earlier model can also use an SMT cap and solder it to the circuit board - but that doesn't apply to your model with the 4 Mb PS-RAM and MPU9250.</p>
<p dir="auto"><img src="/assets/uploads/files/1519579559988-m5stack-capfix-resized.jpg" alt="0_1519579557495_M5Stack-CapFix.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/460</link><guid isPermaLink="true">https://community.m5stack.com/post/460</guid><dc:creator><![CDATA[JJ]]></dc:creator><pubDate>Mon, 26 Feb 2018 01:05:59 GMT</pubDate></item></channel></rss>