-->
Page 1 of 3

Flashes but doesn't work

PostPosted: Fri Mar 04, 2016 8:17 pm
by Carl!
Hello all,

I have spent more time than one likes to admit trying to get my ESP-01 working, but I feel like I am running out of options.

Whats wrong:
I can flash with Arduino IDE, but nothing seems to happen. If I flash a program that connects to wifi, it never connects. If I flash a program that just writes to serial, I never get anything in serial console.

What I have tried:
* Pretending the IDE didn't give me a happy 'done', I have rechecked how it is wired/toggled power/reset pin/verify GIPO ground many many many times
*A random tip online I read led me to downloading espressif/ESP8266_AT and try to flash via the esptool.py. No matter what I do here I get the following error after it connects and erases flash block "A fatal error occurred: Failed to write to target Flash after seq 0 (got result 0x1, 0x8)"
* I tried connecting to the unit with screen during boot to try and read boot messages. I can only get jibberish. I have tried baud rates of 9600,115200 and what I think is correct for early boot messages 74880. Honestly I tried a couple of other bauds in there too :-)
* I tried another power supply
* Other random long shot googled internet ideas here

Does anyone have an idea or direction of what I could try next?

Re: Flashes but doesn't work

PostPosted: Sat Mar 05, 2016 1:15 am
by krzychb
Hello Carl!

I can flash with Arduino IDE, but nothing seems to happen. - See more at: posting.php?mode=reply&f=6&t=8546&sid=79e21d950a1ec87ade687c1079276208#sthash.bsqdtKlf.dpuf


Could you post:
1. A picture that shows wiring of your module, power supply and serial adapter
2. Compilation and upload messages displayed in Arduino IDE when you upload your ESP
3. Messages displayed in Serial Monitor of Arduino IDE after upload is done

Krzysztof

Re: Flashes but doesn't work

PostPosted: Sat Mar 05, 2016 9:57 am
by Carl!
Hello krzychb,

Thanks for the help, here are the answers to your questions.

1) Image

2)
Code: Select allSketch uses 247,745 bytes (49%) of program storage space. Maximum is 499,696 bytes.
Global variables use 34,109 bytes (41%) of dynamic memory, leaving 47,811 bytes for local variables. Maximum is 81,920 bytes.
Uploading 251904 bytes from to flash at 0x00000000
......................................................................................................................................................................................................................................................

status bar says "Done"
3) --nothing empty--

Re: Flashes but doesn't work

PostPosted: Sat Mar 05, 2016 12:23 pm
by krzychb
Hi Carl!

Nice and clean wiring - I like it!
I assume your picture reflects situation during sketch upload.

How do you change it to make the sketch run?

Since you are clearly able to upload the module you are almost there :D


Krzysztof