Bought a ESP8266-01 and a FT232 USB2TTL boards from Ruten (Taiwan's eBay). Both of boards were made in the China.
I use old version of esp8266_flasher.exe and the latest flash program downloaded from bbs.ai-thinker.com. I got the following error messages during upgrading process to latest firmware of V.0.9.5.2:
1. invalid header of packet.
2. flash over time
I got some solutions from google search and it seems the only way to fix this issue is to flash ESP8266 from esptool.py which we can download from Github
https://github.com/themadinventor/esptool and modify the following value in the esptool.py. Without modification, I got same error message.
# Maximum block sized for RAM and Flash writes, respectively.
ESP_RAM_BLOCK = 0x1800
ESP_FLASH_BLOCK = 0x40 (change from 400 to 40, I tried many times, the terminal will get error message if this value > 40) I don't know why ??? I guess it's because of the flash maker. The one I saw on my ESP8266-01 board is Berg Micro 25Q80A I can't even find its website and datasheet.
Now, it works great under my iMac and I got the following output from new firmware:
AT
OK
AT+GMR
AT version 0.21.0.0
SDK version 0.9.5
OK
If you are the first time to use Mac OS to upgrade ESP8266 firmware, you need to install pyserial library which you can download from
https://github.com/themadinventor/esptool or your Mac OS can't run the program.
在露天買了一塊 ESP8266-01 和 FT232 USB轉TTL module, 在正常工作模式下正常。但是要燒錄成最新版本時,遇到了以下問題。
問題1. 使用 esp8266 flasher 燒錄程式
燒錄時間超時
問題2.
Invalid head of packet
問題已解,解決方法在上面