I have an issue fashing a generic ESP8265 module, When I put it in boot loader mode, I have an erratic behaviour. I am usind an USB to UART 3V3 FTDI cable ( FT232R ).
esptool.py works fine with read_mac and chip_id commands, but fails with flash_id and firmware flashing.
esptool.py -p /dev/cu.usbserial-A603YDGI -b 74880 flash_id
esptool.py v1.3-dev
Connecting...
A fatal error occurred: Timed out waiting for packet headerand
./esptool.py -p /dev/cu.usbserial-A603YDGI -b 74880 write_flash --flash_mode dout --flash_size 8m --flash_freq 26m 0x0 firmware.bin
esptool.py v1.3-dev
Connecting...
Running Cesanta flasher stub...
Flash params set to 0x0321
Writing 364544 @ 0x0...
A fatal error occurred: Timed out waiting for packet headerThis is the first time I work with a generic module, my Huzzah models work fine so I wonder if there is any kind of "initial flashing" process that would be needed for modules that were never flashed ?
Could it be related with the fact that ESP8285 embeds its 1 Mbyte SPI flash memory ?
Thanks