Chat freely about anything...

User avatar
By desertwalker66
#34852 I also had issues flashing MCU firmware onto esp8266 module using my Macbook (Yosemite). After coming to this page and using the advice of mr Morse it worked flawlessly.

I opened my terminal in mac, navigated to the folder containing esptool.py ( e.g. Documents/Arduino/esptool/) and opened up the file esptool.py with vim ( desertwalker+>: vim esptool.py) I changed the packet sizes from 1800 --> 180 & 400 --> 40

I then used the vim command :wq to write file and exit.
Returned to terminal and typed in command desertwalker+>:python esptool.py --port /dev/tty.usbserial-A50285BI write_flash 0x00000 ~/Documents/Arduino/esp8266/nodemcu_20150127.bin or whatever is appropriate to you.( I saved the firmware bin file to esp8266 folder ).

As mentioned, not a falter. Just wanted to say thank you to Mr Morse for your help, saved me heap um big hassles.
User avatar
By oscarute
#35286
Mr.Morse wrote:This is what I did to flash my ESP8266 - 01 from my windows pc
- Wire it up like this
- Install python 2.7 download here
- Install pyserial download here
- Download to the esptool.py from here save it in the pyton installation folder
- Download nodemcu_latest.bin from here and save it in the python installation folder

- Edit esptool.py so that:
ESP_RAM_BLOCK = 0x180
ESP_FLASH_BLOCK = 0x40


- Open cmd and go to the python folder and type in this (change the COM7 to whatever your FTDI is)
esptool.py -p COM7 write_flash 0x000000 nodemcu_latest.bin


Thanks, It's working but I had to change to lower baud rate...
ESP_ROM_BAUD = 74440