<?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[Can&#x27;t upload with esptool.py to M5Atom on macOS Big Sur]]></title><description><![CDATA[<p dir="auto">I'm having trouble with uploading to an M5Atom using <a href="http://esptool.py" target="_blank" rel="noopener noreferrer nofollow ugc">esptool.py</a> on macOS Big Sur 11.2.2 with the error:</p>
<pre><code>A fatal error occurred: Timed out waiting for packet header
</code></pre>
<p dir="auto">I've tried to use the Updater_FW20200422 (suggested in another thread), but get another error with that tool:</p>
<pre><code>Detecting M5Stack products.
Find M5Stack products.
Kernel driver deteched.
Apply magic success.

Fail to cast magic stage 2, please contact vendor.
Waiting for device in DFU mode.....................%
</code></pre>
<p dir="auto">Otherwise the serial port works and I am able to use <a href="http://esptool.py" target="_blank" rel="noopener noreferrer nofollow ugc">esptool.py</a> to read_mac:</p>
<pre><code>dean@lucky13 razzle % esptool.py --port  /dev/cu.usbserial-7D52471593 read_mac
esptool.py v3.0
Serial port /dev/cu.usbserial-7D52471593
Connecting....
Detecting chip type... ESP32
Chip is ESP32-PICO-D4 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 50:02:91:92:3e:e8
Uploading stub...
Running stub...
Stub running...
MAC: 50:02:91:92:3e:e8
Hard resetting via RTS pin...
</code></pre>
<p dir="auto">Any suggestions on how to proceed?</p>
]]></description><link>https://community.m5stack.com/topic/3022/can-t-upload-with-esptool-py-to-m5atom-on-macos-big-sur</link><generator>RSS for Node</generator><lastBuildDate>Mon, 04 May 2026 00:25:01 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3022.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 28 Feb 2021 17:57:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Can&#x27;t upload with esptool.py to M5Atom on macOS Big Sur on Tue, 02 Mar 2021 15:33:43 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the suggestion, <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a>, but I figured out the problem!</p>
<p dir="auto">The default baud rate of 460800 is too fast for this device.  If I specify <code>--baud 115200</code> (in platformio.ini, that would be <code>upload_speed = 115200</code>) it works.</p>
<p dir="auto">Maybe this will be useful to someone else in the future.</p>
]]></description><link>https://community.m5stack.com/post/12756</link><guid isPermaLink="true">https://community.m5stack.com/post/12756</guid><dc:creator><![CDATA[blackketter]]></dc:creator><pubDate>Tue, 02 Mar 2021 15:33:43 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t upload with esptool.py to M5Atom on macOS Big Sur on Mon, 01 Mar 2021 23:19:13 GMT]]></title><description><![CDATA[<p dir="auto">Hello Dean</p>
<p dir="auto">according to the <a href="https://docs.m5stack.com/#/en/core/atom_lite?id=usb-drive-problems" target="_blank" rel="noopener noreferrer nofollow ugc">description</a> the M5Atom requires an FTDI driver.</p>
<p dir="auto">Note: I don't have a Big Sur installation, so I cannot tell if that will actually help.</p>
<p dir="auto">Cheers<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/12741</link><guid isPermaLink="true">https://community.m5stack.com/post/12741</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Mon, 01 Mar 2021 23:19:13 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t upload with esptool.py to M5Atom on macOS Big Sur on Mon, 01 Mar 2021 16:36:15 GMT]]></title><description><![CDATA[<p dir="auto">Also,  I updated the CP210x Macintosh OS VCP Driver  to v6 and that didn't help.</p>
]]></description><link>https://community.m5stack.com/post/12736</link><guid isPermaLink="true">https://community.m5stack.com/post/12736</guid><dc:creator><![CDATA[blackketter]]></dc:creator><pubDate>Mon, 01 Mar 2021 16:36:15 GMT</pubDate></item></channel></rss>