-->
Page 6 of 7

Re: ESP-12 won't boot (gpioO problem?)

PostPosted: Sat Jul 04, 2015 3:10 pm
by dkdileep
If all your pin connections are ok then the problem probably is in the FLASH MODE setting while flashing. Some flash require DIO and some need QIO. The fact that you're seeing something on UART shows that the module is working.
The DIO and QIO settings are there on the flash configuration page. If using esptool.py then you can use -fm.
Please try this and let me know.

Just to double-check hope your pins are
CH_PD - High
GPIO15 - Low
In some modules GPIO should be HIGH
Pull up RST pin with a +10uF cap to prevent spurious resets due to EMI

Edit: Just to add. Using ESP8266 flasher flash 000000.bin 100000.bin blank.bin and esp_default_init.bin as well
at 0x0, 0x10000, 0x7E000 and 0x7C000 respectively

Re: ESP-12 won't boot (gpioO problem?)

PostPosted: Sun Jul 05, 2015 8:29 am
by dsvilko
dkdileep, you are a genius! :)
Using the -fm dio worked perfectly! This is the first time I heard this option mentioned. Thank you!

Re: ESP-12 won't boot (gpioO problem?)

PostPosted: Sun Jul 05, 2015 4:41 pm
by dkdileep
Glad to help :).
The problem also exists in Arduino IDE. You can change the default flashing mode in boards.txt for esp8266; change QIO to DIO where applicable. In Windows you can find boards.txt under %USERAPPDATA%/Roaming/Arduino15. Or do a search for boards.txt.

Re: ESP-12 won't boot (gpioO problem?)

PostPosted: Fri Jul 10, 2015 5:02 am
by tytower
I noticed this post but do not understand . Using Arduino boards.txt, where would I need to change QIO to DIO and could you explain why?