Closed2

M5 BurnerでM5 ATOM MatixにUIFlow_Matrixを書き込もうとしたらエラーが出たのでメモ

光岡 高宏光岡 高宏

発生したエラー

=================
Start Burn
=================
--chip esp32 --port /dev/tty.usbserial-4D52CD1293 --baud 750000 --before default_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x3ff000 /Applications/M5Burner.app/Contents/Resources/packages/fw/other/wifi.bin 0x1000 /Applications/M5Burner.app/Contents/Resources/packages/fw/atom/UIFlow_Matrix-v1.9.6.bin
=================
esptool.py v2.5.0
Serial port /dev/tty.usbserial-4D52CD1293
Connecting...
.
.
.
.
.
_


Traceback (most recent call last):
  File "/Applications/M5Burner.app/Contents/Resources/packages/tools/esptool.py", line 2849, in <module>
    _main()
  File "/Applications/M5Burner.app/Contents/Resources/packages/tools/esptool.py", line 2842, in _main
    main()
  File "/Applications/M5Burner.app/Contents/Resources/packages/tools/esptool.py", line 2550, in main
    esp.connect(args.before)
  File "/Applications/M5Burner.app/Contents/Resources/packages/tools/esptool.py", line 447, in connect
    last_error = self._connect_attempt(mode=mode, esp32r0_delay=True)
  File "/Applications/M5Burner.app/Contents/Resources/packages/tools/esptool.py", line 424, in _connect_attempt
    self.sync()
  File "/Applications/M5Burner.app/Contents/Resources/packages/tools/esptool.py", line 363, in sync
    timeout=SYNC_TIMEOUT)
  File "/Applications/M5Burner.app/Contents/Resources/packages/tools/esptool.py", line 316, in command
    p = self.read()
  File "/Applications/M5Burner.app/Contents/Resources/packages/tools/esptool.py", line 261, in read
    return next(self._slip_reader)
  File "/Applications/M5Burner.app/Contents/Resources/packages/tools/esptool.py", line 1792, in slip_reader
    read_bytes = port.read(1 if waiting == 0 else waiting)
  File "/Applications/M5Burner.app/Contents/Resources/packages/tools/serial/serialposix.py", line 501, in read
    'device reports readiness to read but returned no data '
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
=================
 Burn Failed 
=================
光岡 高宏光岡 高宏

ケーブル挿し直したら、無事書き込めました。
このエラー発生したらケーブルの接触を確認すると良さそうです。

このスクラップは2022/04/30にクローズされました