anaganisk / johnny-five-esp8266

This repo is related to the arcticle on Connecting Johnny-five (Arduino, Raspberry Pi etc) over WiFi without a wired connection to the PC.
https://medium.com/@anaganisk/connecting-johnny-five-arduino-raspberry-pi-etc-over-wifi-to-the-pc-using-esp8266-a10348fdb300#.1blss5945
13 stars 1 forks source link

Error installing the firmware, esptool error invalid choise #4

Open biosh0KEd opened 5 years ago

biosh0KEd commented 5 years ago

Hi I get this error

C:\Users\Efraín\Documents\wifi\johnny-five-esp8266\esptool>python esptool.py --p ort COM4 /dev/ttyUSB0 erase_flash usage: esptool [-h] [--port PORT] [--baud BAUD] {load_ram,dump_mem,read_mem,write_mem,write_flash,run,image_info, make_image,elf2image,read_mac,chip_id,flash_id,read_flash,verify_flash,erase_fla sh,version} ... esptool: error: argument operation: invalid choice: '/dev/ttyUSB0' (choose from 'load_ram', 'dump_mem', 'read_mem', 'write_mem', 'write_flash', 'run', 'image_in fo', 'make_image', 'elf2image', 'read_mac', 'chip_id', 'flash_id', 'read_flash', 'verify_flash', 'erase_flash', 'version')

anaganisk commented 5 years ago

You may have to select your correct USB device "/tty/USBX" its not constant and may vary per device