0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【M5Stack GRAY+ M5Stack用3G拡張ボード】書込み時のエラー (Could not auto-detect Flash size, defaulting to 4MB) の解決方法

Last updated at Posted at 2020-10-18

環境

Windows 10

エラーの内容

M5Stack GRAY に、M5Stack用3G拡張ボードを付けて書き込みしたとき、こんなエラーが出て結構ハマりました。
M5Stack BASICではエラーは出ずに書き込みできたのですが、なぜ?

Warning: Could not auto-detect Flash size (FlashID=0xffffff, SizeID=0xff), 
defaulting to 4MB

A fatal error occurred: Timed out waiting for packet content

エラーメッセージをそのまま読むと、M5StackGRAYのFlashサイズは16MBあるのに、4MBとみなして書き込もうとしています。

なぜ?

解決

いろいろな方法を試した結果、
こちらのサイト
M5Stackの困ったときの対処や注意すること
記載の

【M5StickC】書き込みエラーの対処
③電源ボタンを押しながら接続してみる。
USBに接続する時に電源ボタンを押しながら接続してみると成功する場合があります。

の方法で、エラーが出ずに書き込み成功しました。(M5StickCの解決方法ですが・・・)

たまたまかと思いましたが、もう1個同じエラーが出る別のM5Stack GRAYで試しても、エラーが出ずに書き込みできました。


このエラーの解決に累計2日かかりました。 何度もM5Stackを諦めて、他の方法にしようとしたことか・・・・

理由はさっぱり分かりませんが、
動いたらヨシ!
ということで、とにかく良かったです。

このサイトの方、本当にありがとうございました。


0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?