this is the last bit from the last few hours on my mac, ill try to get to the ones that i did on my virtual machine on my nas, I am less sure how to get to that one specifically…
Last login: Fri May 21 20:44:15 on ttys000
-bash: /Users/fabiendostie/.bash_profile: line 14: unexpected EOF while looking for matching `"'
-bash: /Users/fabiendostie/.bash_profile: line 15: syntax error: unexpected end of file
Fabiens-Mac-Pro:~ fabiendostie$ esphomeflasher
objc[6136]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fffa572a3f0) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x10d857f50). One of the two will be used. Which one is undefined.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/esphomeflasher/__main__.py", line 158, in run_esphomeflasher
esptool.write_flash(stub_chip, mock_args)
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/esptool.py", line 2361, in write_flash
blocks = esp.flash_defl_begin(uncsize, len(image), address)
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/esptool.py", line 104, in inner
return func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/esptool.py", line 660, in flash_defl_begin
self.check_command("enter compressed flash mode", self.ESP_FLASH_DEFL_BEGIN,
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/esptool.py", line 369, in check_command
val, data = self.command(op, data, chk, timeout=timeout)
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/esptool.py", line 347, in command
p = self.read()
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/esptool.py", line 292, in read
return next(self._slip_reader)
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/esptool.py", line 2045, in slip_reader
raise FatalError("Timed out waiting for packet %s" % waiting_for)
esptool.FatalError: Timed out waiting for packet content
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/esphomeflasher/gui.py", line 163, in run
run_esphomeflasher(argv)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/esphomeflasher/__main__.py", line 160, in run_esphomeflasher
raise EsphomeflasherError("Error while writing flash: {}".format(err))
esphomeflasher.common.EsphomeflasherError: Error while writing flash: Timed out waiting for packet content
Fabiens-Mac-Pro:~ fabiendostie$ esphomeflasher
objc[6200]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fffa572a3f0) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x114a82f50). One of the two will be used. Which one is undefined.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/esphomeflasher/gui.py", line 163, in run
run_esphomeflasher(argv)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/esphomeflasher/__main__.py", line 158, in run_esphomeflasher
esptool.write_flash(stub_chip, mock_args)
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/esptool.py", line 2414, in write_flash
esp.flash_begin(0, 0)
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/esptool.py", line 569, in flash_begin
self.check_command("enter Flash download mode", self.ESP_FLASH_BEGIN,
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/esptool.py", line 369, in check_command
val, data = self.command(op, data, chk, timeout=timeout)
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/esptool.py", line 358, in command
self._port.timeout = saved_timeout
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/serial/serialutil.py", line 372, in timeout
self._reconfigure_port()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/serial/serialposix.py", line 517, in _reconfigure_port
termios.tcsetattr(
termios.error: (22, 'Invalid argument')
Fabiens-Mac-Pro:~ fabiendostie$ esphomeflasher
objc[8296]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fffa572a3f0) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x118a8ef50). One of the two will be used. Which one is undefined.
Fabiens-Mac-Pro:~ fabiendostie$ esptool.py
esptool.py v2.8
usage: esptool [-h] [--chip {auto,esp8266,esp32}] [--port PORT] [--baud BAUD]
[--before {default_reset,no_reset,no_reset_no_sync}]
[--after {hard_reset,soft_reset,no_reset}] [--no-stub]
[--trace] [--override-vddsdio [{1.8V,1.9V,OFF}]]
{load_ram,dump_mem,read_mem,write_mem,write_flash,run,image_info,make_image,elf2image,read_mac,chip_id,flash_id,read_flash_status,write_flash_status,read_flash,verify_flash,erase_flash,erase_region,version}
...
esptool.py v2.8 - ESP8266 ROM Bootloader Utility
positional arguments:
{load_ram,dump_mem,read_mem,write_mem,write_flash,run,image_info,make_image,elf2image,read_mac,chip_id,flash_id,read_flash_status,write_flash_status,read_flash,verify_flash,erase_flash,erase_region,version}
Run esptool {command} -h for additional help
load_ram Download an image to RAM and execute
dump_mem Dump arbitrary memory to disk
read_mem Read arbitrary memory location
write_mem Read-modify-write to arbitrary memory location
write_flash Write a binary blob to flash
run Run application code in flash
image_info Dump headers from an application image
make_image Create an application image from binary files
elf2image Create an application image from ELF file
read_mac Read MAC address from OTP ROM
chip_id Read Chip ID from OTP ROM
flash_id Read SPI flash manufacturer and device ID
read_flash_status Read SPI flash status register
write_flash_status Write SPI flash status register
read_flash Read SPI flash content
verify_flash Verify a binary blob against flash
erase_flash Perform Chip Erase on SPI flash
erase_region Erase a region of the flash
version Print esptool version
optional arguments:
-h, --help show this help message and exit
--chip {auto,esp8266,esp32}, -c {auto,esp8266,esp32}
Target chip type
--port PORT, -p PORT Serial port device
--baud BAUD, -b BAUD Serial port baud rate used when flashing/reading
--before {default_reset,no_reset,no_reset_no_sync}
What to do before connecting to the chip
--after {hard_reset,soft_reset,no_reset}, -a {hard_reset,soft_reset,no_reset}
What to do after esptool.py is finished
--no-stub Disable launching the flasher stub, only talk to ROM
bootloader. Some features will not be available.
--trace, -t Enable trace-level output of esptool.py interactions.
--override-vddsdio [{1.8V,1.9V,OFF}]
Override ESP32 VDDSDIO internal voltage regulator (use
with care)
Fabiens-Mac-Pro:~ fabiendostie$ esptool.py erase_flash -a hard_reset
usage: esptool [-h] [--chip {auto,esp8266,esp32}] [--port PORT] [--baud BAUD]
[--before {default_reset,no_reset,no_reset_no_sync}]
[--after {hard_reset,soft_reset,no_reset}] [--no-stub]
[--trace] [--override-vddsdio [{1.8V,1.9V,OFF}]]
{load_ram,dump_mem,read_mem,write_mem,write_flash,run,image_info,make_image,elf2image,read_mac,chip_id,flash_id,read_flash_status,write_flash_status,read_flash,verify_flash,erase_flash,erase_region,version}
...
esptool: error: unrecognized arguments: -a hard_reset
Fabiens-Mac-Pro:~ fabiendostie$ esptool.py erase_flash
esptool.py v2.8
Found 2 serial ports
Serial port /dev/cu.SLAB_USBtoUART
Connecting....
Detecting chip type... ESP32
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 9c:9c:1f:c7:74:38
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 3.5s
Hard resetting via RTS pin...
Fabiens-Mac-Pro:~ fabiendostie$ esphomeflasher
objc[14711]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fffa572a3f0) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x119ca2f50). One of the two will be used. Which one is undefined.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/esphomeflasher/gui.py", line 163, in run
run_esphomeflasher(argv)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/esphomeflasher/__main__.py", line 158, in run_esphomeflasher
esptool.write_flash(stub_chip, mock_args)
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/esptool.py", line 2374, in write_flash
esp.flash_defl_block(block, seq, timeout=DEFAULT_TIMEOUT * ratio * 2)
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/esptool.py", line 104, in inner
return func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/esptool.py", line 671, in flash_defl_block
self.check_command("write compressed data to flash after seq %d" % seq,
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/esptool.py", line 369, in check_command
val, data = self.command(op, data, chk, timeout=timeout)
File "/Library/Frameworks/Python.framework/Versions/3.9/bin/esptool.py", line 358, in command
self._port.timeout = saved_timeout
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/serial/serialutil.py", line 372, in timeout
self._reconfigure_port()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/serial/serialposix.py", line 517, in _reconfigure_port
termios.tcsetattr(
termios.error: (22, 'Invalid argument')
Fabiens-Mac-Pro:~ fabiendostie$