-->
Page 1 of 1

esptool.py "Failed to write" on some bin's

PostPosted: Sun Nov 30, 2014 2:41 am
by RogerClark
Hi,

I can't get esptool.py to complete uploading even the new v0.9 firmware, it gets to 98% and then has an error

Writing at 0x0007d000... (98%)
..
..
Exception.. "Failed to write to target flash"

and with some other bin files it won't even start to upload. i.e same error just at (0 %)

the v0.9 firmware (AT) uploads fine via XCOM_Util.exe (windows) to my device

I've tried several different versions of estool.py (as there are lots of different versions) but none seem to work :-(

Also. I tried the lua binary, but it keeps repeatedly rebooting, so I gave up trying to use it ;-(

Thanks

Roger

Re: esptool.py "Failed to write" on some bin's

PostPosted: Sun Nov 30, 2014 2:53 am
by alonewolfx2
Maybe you are uploading wrong or big bin file. Lua properly boot need right power source and capacitor. 3.3v peak 300ma and 470 mf capacitor.

Re: esptool.py "Failed to write" on some bin's

PostPosted: Sun Nov 30, 2014 3:57 am
by RogerClark
I'm supplying from 5V off the PC via LM1117T (1A) 3.3V regulator, but I will add a capacitor and try again