Initial Installation
Posted: Sun Feb 21, 2016 8:56 pm
hi, not sure if this is the right place, but it seems rightest (as im using the arduino ide!)
i have an ESP-01, and a sparkfun FT232R breakout board (supports RTS and DTR) and i have it connected up as per http://www.arduinesp.com/getting-started with 2 npn transistors. i also have 2 aa batteries wired in for the right amperage.
im on a mac, with arduino 1.6.5 installed, and have installed the esp boards, and have it selected to generic esp8266.
now when i upload the simple blink sketch i get;
warning: espcomm_sync failed
error: espcomm_open failed
i believe that as i'm on a mac, i should install esptool, or esptool.py (from googling) and have tried to run the install.py (in terminal sudo) but then i get an error saying that it can't find esptool.py...
i feel like i'm missing a minor, but annoyingly needful step.
esptool install
apologies for the long post.
i have an ESP-01, and a sparkfun FT232R breakout board (supports RTS and DTR) and i have it connected up as per http://www.arduinesp.com/getting-started with 2 npn transistors. i also have 2 aa batteries wired in for the right amperage.
im on a mac, with arduino 1.6.5 installed, and have installed the esp boards, and have it selected to generic esp8266.
now when i upload the simple blink sketch i get;
warning: espcomm_sync failed
error: espcomm_open failed
i believe that as i'm on a mac, i should install esptool, or esptool.py (from googling) and have tried to run the install.py (in terminal sudo) but then i get an error saying that it can't find esptool.py...
i feel like i'm missing a minor, but annoyingly needful step.
Code: Select all
Sketch uses 198,796 bytes (19%) of program storage space. Maximum is 1,044,464 bytes.
Global variables use 33,014 bytes (40%) of dynamic memory, leaving 48,906 bytes for local variables. Maximum is 81,920 bytes.
/Users/kelvinmead2/Library/Arduino15/packages/esp8266/tools/esptool/0.4.6/esptool -vv -cd nodemcu -cb 115200 -cp /dev/cu.usbserial-A601FCG3 -ca 0x00000 -cf /var/folders/xs/fw34443d5pd83bd26mj78qv00000gn/T/buildd5ae82e677127ac286f51de66781d807.tmp/Blink.ino.bin
esptool v0.4.6 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to nodemcu
setting baudrate from 115200 to 115200
setting port from /dev/tty.usbserial to /dev/cu.usbserial-A601FCG3
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
stat /var/folders/xs/fw34443d5pd83bd26mj78qv00000gn/T/buildd5ae82e677127ac286f51de66781d807.tmp/Blink.ino.bin success
opening port /dev/cu.usbserial-A601FCG3 at 115200
tcgetattr
tcsetattr
serial open
opening bootloader
resetting board
trying to connect
setting character timeout 0
done
setting character timeout 1
done
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
trying to connect
setting character timeout 0
done
setting character timeout 1
done
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
serialport_receive_C0: 00 instead of C0
trying to connect
setting character timeout 0
done
setting character timeout 1
done
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
serialport_receive_C0: 00 instead of C0
resetting board
trying to connect
setting character timeout 0
done
setting character timeout 1
done
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
trying to connect
setting character timeout 0
done
setting character timeout 1
done
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
serialport_receive_C0: 00 instead of C0
trying to connect
setting character timeout 0
done
setting character timeout 1
done
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
serialport_receive_C0: 00 instead of C0
resetting board
trying to connect
setting character timeout 0
done
setting character timeout 1
done
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
trying to connect
setting character timeout 0
done
setting character timeout 1
done
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
serialport_receive_C0: 00 instead of C0
trying to connect
setting character timeout 0
done
setting character timeout 1
done
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
serialport_receive_C0: 00 instead of C0
warning: espcomm_sync failed
error: espcomm_open failed
esptool install
Code: Select all
Kelvins-MBP:~ kelvinmead2$ sudo python /Users/kelvinmead2/Downloads/esptool-master/setup.py install
Password:
running install
Checking .pth file support in /Library/Python/2.7/site-packages/
/usr/bin/python -E -c pass
TEST PASSED: /Library/Python/2.7/site-packages/ appears to support .pth files
running bdist_egg
running egg_info
creating esptool.egg-info
writing requirements to esptool.egg-info/requires.txt
writing esptool.egg-info/PKG-INFO
writing top-level names to esptool.egg-info/top_level.txt
writing dependency_links to esptool.egg-info/dependency_links.txt
writing manifest file 'esptool.egg-info/SOURCES.txt'
warning: manifest_maker: standard file 'setup.py' not found
reading manifest file 'esptool.egg-info/SOURCES.txt'
writing manifest file 'esptool.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.11-intel/egg
running install_lib
warning: install_lib: 'build/lib' does not exist -- no Python modules to install
creating build
creating build/bdist.macosx-10.11-intel
creating build/bdist.macosx-10.11-intel/egg
creating build/bdist.macosx-10.11-intel/egg/EGG-INFO
installing scripts to build/bdist.macosx-10.11-intel/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
creating build/scripts-2.7
error: file '/Users/kelvinmead2/esptool.py' does not exist
apologies for the long post.