I've been trying to flash the device using the Arduino IDE but have been having issues.
Here's my verbose output:
esptool v0.4.9 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to nodemcu
setting baudrate from 115200 to 57600
setting port from /dev/tty.usbserial to /dev/cu.usbserial-00000000
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
espcomm_upload_mem
opening port /dev/cu.usbserial-00000000 at 57600
tcgetattr
tcsetattr
serial open
opening bootloader
resetting board
trying to connect
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
trying to connect
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
espcomm_send_command: receiving 2 bytes of data
An error occurred while uploading the sketch
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
Uploading 226304 bytes from /var/folders/yn/t8vnvm2x6f7680k9zvnk021m0000gn/T/arduino_build_414972/first_Raw_ESP8266_Upload.ino.bin to flash at 0x00000000
erasing flash
size: 037400 address: 000000
first_sector_index: 0
total_sector_count: 56
head_sector_count: 16
adjusted_sector_count: 40
erase_size: 028000
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
setting timeout 15000
setting timeout 100
espcomm_send_command: receiving 2 bytes of data
writing flash
warning: espcomm_send_command: didn't receive command response
warning: espcomm_send_command(FLASH_DOWNLOAD_DATA) failed
warning: espcomm_send_command: wrong direction/command: 0x01 0x03, expected 0x01 0x04
closing bootloader
error: espcomm_upload_mem failed
I'm using v 2.3.0 of the Generic ESP8266 Module (Boards Manager)
Flash mode & frequency: 80MHz
Flash Size: 512k (64k SPIFFS)
Debug port: disabled
Reset Method: nodeMCU
Upload Baud: 57600
Serial Port: /dev/cu.usbserial-00000000
Programmer: AVR ISP
Any thoughts on where I'm going wrong? Also, I've installed cool term on my Mac & seem to be able to connect to the device through there. Are there any commands that I can send to do further tests through that?
Thanks