Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Barnabybear
#26589
PaulRB wrote:I think (do you agree?) that we have removed the possibility of:
- faulty ESP modules, including their flash chips
- faulty breadboard/wiring/adapters
- insufficient power supply

Yes I agree. My flashed ESP runs in your setup, yours will flash in mine. I think we have ruled out all the above. You could post a photo just as a final check.
PaulRB wrote:So as you said, the culprit appears to be a compile and/or flash issue.

Serial & the flashing blue light on the ESP sugests that communication is taking place, which leads to the question:
Is the data correct and not being saved or is the data being saved but is incorrect?
I'm tending towards the incorrect data. On the theory that if data wasn't being saved, previous correct data would not have been overwriten & would still run.
PaulRB wrote:I said in an earlier post that I could try firing up my almost-never-used copy of Win7, install IDE 1.6.5 and the ESP package and test that. If that works, it then points to something in the build or install on my PCs of the IDE/ESP package on Linux.

"Win7, install IDE 1.6.5 and the ESP package" thats what I used to flash your ESP today.
The compile thing is all abit dark arts to me, is it possable for someone else to compile something and you flash the file? Is one of mine any good to you?
User avatar
By PaulRB
#26644
Barnabybear wrote:
PaulRB wrote:is it possable for someone else to compile something and you flash the file? Is one of mine any good to you?

Its worth a try, but how would I use it? My attempts to use esptool in this post from earliier in the thread were not successful at all, no-one had any suggestions as to why.
User avatar
By PaulRB
#26731 This evening I booted up Win7 and installed Arduino IDE 1.6.5. I then spent ages getting the driver installed for the FT232 USB Serial adaptor (and remembered one of the reasons I switched to Linux). Then installed the stable ESP8266 build in Board Manager.

I re-tested BarnabyBear's ESP-01 and could see the "hello" messages on Serial Monitor (meaning I let the sketch BarnabyBear flashed into it run, I have not attempted to flash it).

I then swapped in my other ESP-01 and attempted to flash, many times, but I keep getting:
Code: Select allSketch uses 207,188 bytes (47%) of program storage space. Maximum is 434,160 bytes.
Global variables use 44,800 bytes (54%) of dynamic memory, leaving 37,120 bytes for local variables. Maximum is 81,920 bytes.
Uploading 211328 bytes from C:\Users\Paul\AppData\Local\Temp\build3134885239438669845.tmp/sketch_aug21a.cpp.bin to flash at 0x00000000
.warning: espcomm_send_command: didn't receive command response
warning: espcomm_send_command(FLASH_DOWNLOAD_DATA) failed
warning: espcomm_send_command: wrong direction/command: 0x01 0x03, expected 0x01 0x04


On Linux, I do occasionally get that message, perhaps once every 10~20 sketch uploads. But with Win7 I seem to get it every time.

Any ideas please?
Last edited by PaulRB on Fri Aug 21, 2015 5:13 pm, edited 1 time in total.
User avatar
By Barnabybear
#26735 Hi,
Code: Select allvoid setup() {
   Serial.begin(115200);

}

void loop() {
   Serial.println("hello");
   delay(500);

}

Verifys to
Code: Select allSketch uses 202, 120 bytes (38%) of program storage space.
Maxiumum is 524,288 bytes.

Using:
Generic ESP8266 Moule, 80 MHz, 115200, 512K(64K SPIFFS) on com 4
I've tried a few things but cant get the same error as you.
Last edited by Barnabybear on Sat Aug 22, 2015 4:03 am, edited 1 time in total.