Help us understand the problem. What is going on with this article?

M5StickCに書き込みができないときの確認事項

http://forum.m5stack.com/topic/814/error-on-downloading-to-m5stickc

Arduinoではこの現象は発生しません。

IDFで書き込みできない

esptool.py v2.5.1
Serial port COM12
Connecting....
Chip is ESP32-PICO-D4 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse
MAC: d8:a0:1d
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
A fatal error occurred: Timed out waiting for packet header

原因

M5StickCがサポートするボーレートがあっていないのが原因です。

1200〜115200、250K、500K、750K、1500K

上記だと921600になっています。

対応

書き込み時の通信速度を合ったもの変更することで動作するようになります。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした