HELP NEEDED, cannot upload firmware to an ESP-12 module
Posted: Tue Dec 20, 2016 4:26 am
Hello guys,
I've got a ESP-12S module, and I can't upload my arduino firmware to it. The esptool.py did connected to it successfully but it was somehow interrupted by errors while it was writting data into the flash.
I made my base board for the ESP module by myself, and in case someone need for when helping me to debug (great thanks ), here is the Eagle project file on Github: https://github.com/huming2207/Jasmine-hardware By the way I've made a mistake in the schematic. I've forgotten to add a pull-down resistor for GPIO15 and I've corrected when I soldering my module to my base board.
Here is the output from Arduino IDE:
Here is my module, I've bought it from Ai-Thinker's official store, not the clones: https://item.taobao.com/item.htm?id=536873562220
Anyone who have any ideas for my issue? Thanks in advance!
Regards,
Jackson
I've got a ESP-12S module, and I can't upload my arduino firmware to it. The esptool.py did connected to it successfully but it was somehow interrupted by errors while it was writting data into the flash.
I made my base board for the ESP module by myself, and in case someone need for when helping me to debug (great thanks ), here is the Eagle project file on Github: https://github.com/huming2207/Jasmine-hardware By the way I've made a mistake in the schematic. I've forgotten to add a pull-down resistor for GPIO15 and I've corrected when I soldering my module to my base board.
Here is the output from Arduino IDE:
Code: Select all
Sketch uses 224,133 bytes (21%) of program storage space. Maximum is 1,044,464 bytes.
Global variables use 31,676 bytes (38%) of dynamic memory, leaving 50,244 bytes for local variables. Maximum is 81,920 bytes.
/Users/Jackson/Library/Arduino15/packages/esp8266/tools/esptool/0.4.9/esptool -vv -cd ck -cb 115200 -cp /dev/cu.SLAB_USBtoUART -ca 0x00000 -cf /var/folders/fn/q_bqjgkd3y741hxbk3z6hpnm0000gn/T/buildadd7ba696176d0edd5e7690c3e719dcd.tmp/sketch_dec20a.ino.bin
esptool v0.4.9 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to ck
setting baudrate from 115200 to 115200
setting port from /dev/tty.usbserial to /dev/cu.SLAB_USBtoUART
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
espcomm_upload_mem
opening port /dev/cu.SLAB_USBtoUART at 115200
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
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 228288 bytes from /var/folders/fn/q_bqjgkd3y741hxbk3z6hpnm0000gn/T/buildadd7ba696176d0edd5e7690c3e719dcd.tmp/sketch_dec20a.ino.bin to flash at 0x00000000
erasing flash
size: 037bc0 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
................................ serialport_receive_C0: 00 instead of C0
warning: espcomm_send_command: didn't receive command response
warning: espcomm_send_command(FLASH_DOWNLOAD_DATA) failed
warning: espcomm_send_command: didn't receive command response
closing bootloader
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed
Here is my module, I've bought it from Ai-Thinker's official store, not the clones: https://item.taobao.com/item.htm?id=536873562220
Anyone who have any ideas for my issue? Thanks in advance!
Regards,
Jackson