-
Notifications
You must be signed in to change notification settings - Fork 132
ESP8266 upload fails - esptool: error: argument operation: invalid choice #1113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
To test if it was the automatic update contributed to the problem I downloaded the latest nightly from and tried it out to see if it has the same problem. The download version does NOT have the same problem, so I consider this issue closed. Anyone doing an automatic update should be advised that downloading a new copy might be the better way to go. |
Hi @Gord1 In fact this is a known issue and hasn't been fixed yet so a workaround should be applied anyway.
An automatic update test which was reported in this comment as "TEST 2" went successful. Any detailed feedback is much appreciated regarding your update issue. Thanks, |
I was using V4.3.1_linux64.2018-10-10_08-21-58.tar.gz, the latest stable version and ran into the above problem with the ESP8266 upload. To see if there was a fix in the nightly version I used the automatic update feature in Sloeber/Eclipse. -Window>Preference>Update>Available Software Sites and deselected Sloeber Stable and selected Nightly. That is when I wrote the bug report. As a further test I download the nightly from the above site and found that it worked. |
Did you ever applied any of the workarounds until it worked? Edit: which platform version of ESP8266 are you using? |
io.sloeber.product-4.3.1-20191116.013607-92-linux.gtk.x86_64.tar.gz worked out of the box. ESP8266 2.6.1 |
Hi @jantje, |
Sounds like a good idea. I still need to update the site so the latest product points to 4.3.2 |
This doesn't seem to be fixed yet in the nightly build. Ref: #1073 (comment)
Starting upload
Uploading project "xcvvxc" with "ESPTOOL"
Starting reset using DTR toggle process
Continuing to use "/dev/ttyUSB0"
Ending reset
Launching: /home/gordon/Downloads/Sloeber//arduinoPlugin/packages/esp8266/tools/python3/3.7.2-post1/python3 /home/gordon/Downloads/Sloeber//arduinoPlugin/packages/esp8266/hardware/esp8266/2.6.0/tools/upload.py --chip esp8266 --port /dev/ttyUSB0 --baud 921600 erase_flash --end --chip esp8266 --port /dev/ttyUSB0 --baud 921600 --before default_reset --after hard_reset write_flash 0x0 /home/gordon/Documents/sloeber-workspaceJunk/xcvvxc/Release/xcvvxc.bin --end
Output:
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: argument operation: invalid choice: '' (choose from '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')
The execution of command "python3" is done.
Was using the latest stable Sloeber version and had this problem and moved to current Nightly version though update Sloeber 4.3.1.201911160506
Gord_W
The text was updated successfully, but these errors were encountered: