Have to specify the usb serial via CLI
See original GitHub issueWhen I launch the app, it does not show the USB serial device in the GUI, so I have to pass it as a the -p
flag in the CLI, which works…
$ ./ESPHome-Flasher -p /dev/cu.usbserial-AO009AL5 ~/Downloads/gate.bin
Using '/dev/cu.usbserial-AO009AL5' as serial port.
Connecting....
Detecting chip type... ESP32
Connecting...
Chip Info:
- Chip Family: ESP32
- Chip Model: ESP32D0WDQ6 (revision 1)
- Number of Cores: 2
- Max CPU Frequency: 240MHz
- Has Bluetooth: YES
- Has Embedded Flash: NO
- Has Factory-Calibrated ADC: YES
- MAC Address: 24:0A:C4:C5:5E:A8
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
- Flash Size: 4MB
- Flash Mode: dio
- Flash Frequency: 40MHz
Erasing flash (this may take a while)...
Chip erase completed successfully in 9.5s
Compressed 15872 bytes to 10319...
Wrote 15872 bytes (10319 compressed) at 0x00001000 in 0.2 seconds (effective 530.3 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 143...
Wrote 3072 bytes (143 compressed) at 0x00008000 in 0.0 seconds (effective 1569.3 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 4037.5 kbit/s)...
Hash of data verified.
Compressed 949360 bytes to 533857...
Wrote 949360 bytes (533857 compressed) at 0x00010000 in 12.8 seconds (effective 594.8 kbit/s)...
Hash of data verified.
Leaving...
Hard Resetting...
Done! Flashing is complete!
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Serial Terminal Basics - SparkFun Learn
The fastest way to get to the command line in Windows is to click on the start menu, type cmd into the search...
Read more >5 Linux / Unix Commands For Connecting To The Serial ...
Explains and list top five utilities that can be used for serial communication under Linux / Unix / *BSD and Mac OS X....
Read more >Simple command line trick for sending characters to a serial ...
You need to know the number of the COM port you want to send to. If you're using a USB-to-serial converter, this number...
Read more >How to connect to a serial port as simple as using SSH?
I found a way using a shell script in Serial Programming that runs cat ... may need to set to the "dialout" group...
Read more >Serial command line interface (Serial CLI) - Knowledge Base
Certain products have a physical serial port interface either alongside USB or instead of it. Unless specified otherwise in the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Normanras I was in the
/Applications/ESPHome-Flasher-1.2.0-macOS.app/Contents/MacOS
folder when tyrpign that.You can do
/Applications/ESPHome-Flasher-1.2.0-macOS.app/Contents/MacOS/ESPHome-Flasher -p /dev/cu.usbserial-AO009AL5 ~/Downloads/gate.bin
where
~/Downloads/gate.bin
is the path to your file &/dev/cu.usbserial-AO009AL5
is the path to your adapter.I hope that helps
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.