ESP-01 V3 flashing issues
Moderators: grovkillen, Stuntteam, TD-er
Re: ESP-01 V3 flashing issues
Wow guys, spent few hours with the same problem, didn't even know there is a new revision, switching to DOUT worked just fine, just wanted to thank you for saving another few hours for me.
Re: ESP-01 V3 flashing issues
Hi,
i am stil not able to flash the esp 01 module
it hase the puya memorychip.
any ideas ?
gpio0 low and gpio2 high didn't work
i am stil not able to flash the esp 01 module
it hase the puya memorychip.
any ideas ?
gpio0 low and gpio2 high didn't work
Re: ESP-01 V3 flashing issues
GPIO0 should be low for flashing.
- power off
- Connect flasher
- connect CH_PD to VCC
- connect GPIO2 to VCC
- start flashing on the computer and power on the ESP.
- power off
- Connect flasher
- connect CH_PD to VCC
- connect GPIO2 to VCC
- start flashing on the computer and power on the ESP.
Regards
Shardan
Shardan
Re: ESP-01 V3 flashing issues
what tool for flashing ?
Re: ESP-01 V3 flashing issues
Usually did that with the flashtool that came with ESPEasy - worked for me.
Regards
Shardan
Shardan
Re: ESP-01 V3 flashing issues
ok, tried that no result.
esp comes in to flashmode blue led on.
the flashtool can not connect.
i have two of these devices both ar not flashable
it are the blackones with puya memory
esp comes in to flashmode blue led on.
the flashtool can not connect.
i have two of these devices both ar not flashable
it are the blackones with puya memory
Re: ESP-01 V3 flashing issues
Like described here: https://github.com/esp8266/Arduino/issues/4061 and in issue #650 on our own Github? https://github.com/letscontrolit/ESPEasy/issues/650
Re: ESP-01 V3 flashing issues
it looks like the same problem/
i dont see any solution there
i dont see any solution there
Re: ESP-01 V3 flashing issues
It looks like it really is becoming a big problem now almost all suppliers are switching to those "incompatible" flash 1M chips.
I am not really sure which part is incompatible, since the flash-tools seem to work fine. So it looks like the ESP core library is doing something wrong here.
Re: ESP-01 V3 flashing issues
i ordered 10pcs of 4mb windbon flash from aliexpres.
i saw some youtube movies that it works fine with these flashschips.
now wait for the mailman
i saw some youtube movies that it works fine with these flashschips.
now wait for the mailman
Re: ESP-01 V3 flashing issues
HiShardan wrote: ↑21 May 2017, 17:51 The Reset pin is not necessary at all.
I had some problems with flashing the ESP-01 in all versions now and then.
So i do another procedure to flash:
Prepare the ESP-01 for flashing without power !!
(GPIO0 = low, GPIO2 = High).
Power up the module and start the flashing process.
When flashing and the memory clearing (R1xx) or memory formatting (2.0.0dev) is done, power off,
remove the GPIO connections - done.
Regards
Shardan
do you have EN CHUP inserted?
RX to TX
or inverted?
you are flashing via?
thanks T
Re: ESP-01 V3 flashing issues
CH_EN must allways be pulled up, otherwise the chip simply does nothing.riker1 wrote: ↑19 Jan 2018, 11:55HiShardan wrote: ↑21 May 2017, 17:51 The Reset pin is not necessary at all.
I had some problems with flashing the ESP-01 in all versions now and then.
So i do another procedure to flash:
Prepare the ESP-01 for flashing without power !!
(GPIO0 = low, GPIO2 = High).
Power up the module and start the flashing process.
When flashing and the memory clearing (R1xx) or memory formatting (2.0.0dev) is done, power off,
remove the GPIO connections - done.
Regards
Shardan
do you have EN CHUP inserted?
RX to TX
or inverted?
you are flashing via?
thanks T
That's why it is called "Chip Enable".
Rx to Tx and vice versa SHOULD be right.
Anyways some of our chinese friends have their very own opinion about what they
should name their pins: I've two progger that ahve swapped TX/RX pins...
No Problem - just try, it does not hurt anything.
For flashing i usually use the tool delivered with ESPEasy, if a flash rom chip needs DOUT settings i use
the official ESP8266 flashtool.
Regards
Shardan
Shardan
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESP-01 V3 flashing issues
My ESP Easy Flasher allow you to override the bin file flash mode with the "force DOUT" checkbox.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: ESP-01 V3 flashing issues
4Mb flash chip didn't did the trick
now wait until someone finds the right solution for the puya flaschip
now wait until someone finds the right solution for the puya flaschip
Re: ESP-01 V3 flashing issues
I've spent a lot of time messing about with this too..
One thing I can add to the conversation is that I am able to successfully flash simple sketches from the Arduino IDE, and they work fine.
Flashing the ESPeasy EasyUploader, however, is NOT successful, although it does come up with the initial wifi WAP prior to the normal reboot into ESP_01.
It certainly looks like an ESPEasy software issue to me.
Cheers,
Dave
One thing I can add to the conversation is that I am able to successfully flash simple sketches from the Arduino IDE, and they work fine.
Flashing the ESPeasy EasyUploader, however, is NOT successful, although it does come up with the initial wifi WAP prior to the normal reboot into ESP_01.
It certainly looks like an ESPEasy software issue to me.
Cheers,
Dave
Re: ESP-01 V3 flashing issues
In fact it is an issue with SPIFFS in the ESP8266 core library.
SPIFFS is the flash filesystem used in ESPeasy. The config is stored in there.
Re: ESP-01 V3 flashing issues
ok now the problem is known, wil it be solved or do you i have to do some work myself ?
Re: ESP-01 V3 flashing issues
I have been messing with creating a proper build of the core library including the patch.
But apparently it is not that simple in Windows.
So @datux offered to create a proper build we could link against for future builds.
If that's available, we will create binaries for the PUYA-like flash chips which can change single bits from 0 to 1, without the need to erase.
Re: ESP-01 V3 flashing issues
ok thats clear, i just need some patientce
Re: ESP-01 V3 flashing issues
I've tested the firmware "ESP_Easy_v2.0-20180214_dev_ESP8266PUYA_1024.bin" on my ESP-01 with PUYA-flash.
It works
But when I modify my "ESPEasy.ino" (set FEATURE_ADC_VCC to true) and compile the "dev_ESP8266PUYA_1024"-version, then the web-interface can't write the config.dat !?
When I also modify the "Esp.cpp" (path ...\Users\...\.platformio\packages\framework-arduinoespressif8266\cores\esp8266\) as it's written in the PUYA-patch.diff, then the ESP-01 doesn't boot anymore !?
Maybe it's better to wait for complete solution. Or what is my mistake ??
It works
But when I modify my "ESPEasy.ino" (set FEATURE_ADC_VCC to true) and compile the "dev_ESP8266PUYA_1024"-version, then the web-interface can't write the config.dat !?
When I also modify the "Esp.cpp" (path ...\Users\...\.platformio\packages\framework-arduinoespressif8266\cores\esp8266\) as it's written in the PUYA-patch.diff, then the ESP-01 doesn't boot anymore !?
Maybe it's better to wait for complete solution. Or what is my mistake ??
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESP-01 V3 flashing issues
You cannot access the advanced page either. It's a very early fix that @psy0rz completed just minutes before Travis started crunching.Micha_he wrote: ↑14 Feb 2018, 20:49 I've tested the firmware "ESP_Easy_v2.0-20180214_dev_ESP8266PUYA_1024.bin" on my ESP-01 with PUYA-flash.
It works
But when I modify my "ESPEasy.ino" (set FEATURE_ADC_VCC to true) and compile the "dev_ESP8266PUYA_1024"-version, then the web-interface can't write the config.dat !?
When I also modify the "Esp.cpp" (path ...\Users\...\.platformio\packages\framework-arduinoespressif8266\cores\esp8266\) as it's written in the PUYA-patch.diff, then the ESP-01 doesn't boot anymore !?
Maybe it's better to wait for complete solution. Or what is my mistake ??
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: ESP-01 V3 flashing issues
And I was wondering why we have the VCC disabled in the first place.
Lots of people are trying to rebuild with VCC defined.
Lots of people are trying to rebuild with VCC defined.
- budman1758
- Normal user
- Posts: 301
- Joined: 15 Apr 2017, 05:13
- Location: Riverside CA USA
Re: ESP-01 V3 flashing issues
When the VCC feature is enabled it connects internally to the ADC pin on the ESP if I'm not mistaken. If this is true does that make it unusable for external ADC functions?
This may explain why its not enabled by default?
Or am I all wet? (VERY possible)
"The glass is twice as big as it needs to be".
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESP-01 V3 flashing issues
At least we should provide a pre-build file for if so we know it's official.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: ESP-01 V3 flashing issues
Any news, how I can compile a working V2.0 image, with Vcc-Support, for a PUYA-flash-ESP01 ?
Here under PlatformIO (framework-arduinoespressif8266 V2.2.0) seems the patch results in a no working image...
Edit: Correction... Framework is most probably V2.3.0, but the platform.txt contains a versionstring "2.2.0" (in Github also).
Here under PlatformIO (framework-arduinoespressif8266 V2.2.0) seems the patch results in a no working image...
Edit: Correction... Framework is most probably V2.3.0, but the platform.txt contains a versionstring "2.2.0" (in Github also).
Re: ESP-01 V3 flashing issues
What is not working?
Building for Puya flash devices is a bit hard.
I only tested it for my own NodeMCU and that one reported a voltage which is probably too low (or else I may have other issues with power on my testbed).
Also adding a vcc option for every build will lead to a lot more release builds.
Building for Puya flash devices is a bit hard.
I only tested it for my own NodeMCU and that one reported a voltage which is probably too low (or else I may have other issues with power on my testbed).
Also adding a vcc option for every build will lead to a lot more release builds.
Re: ESP-01 V3 flashing issues
Look at my post #30...
Prebuild PUYA works, but own build with Vcc-support enabled (with and without patched Esp.cpp like psy0rz's patchfile) shows the known config.dat write-error.
I'll do some test today evening or tomorrow and announce the results here...
Until today I thought, that it was the (wrong) version of the framework in PlatformIO. But apparently PlatformIO used is right Version 2.3.0 (with a different version-string).
I didn't find my problem
Edit: Maybe it's the problem, that I always create DOUT-images for my PUYA-Tests???
Prebuild PUYA works, but own build with Vcc-support enabled (with and without patched Esp.cpp like psy0rz's patchfile) shows the known config.dat write-error.
I'll do some test today evening or tomorrow and announce the results here...
Until today I thought, that it was the (wrong) version of the framework in PlatformIO. But apparently PlatformIO used is right Version 2.3.0 (with a different version-string).
I didn't find my problem
Edit: Maybe it's the problem, that I always create DOUT-images for my PUYA-Tests???
Re: ESP-01 V3 flashing issues
With Puya chips, you need a patched version of the Arduino ESP8266 core 2.3.0 library.
It is quite hard to really make sure you've actually built the right version and are actually using these files.
That's why @psyz0r took some time to create an automated build for it.
We could add the vcc option to the Puya build also, because it is so hard to actually make a version that can be used with these flash chips.
It is quite hard to really make sure you've actually built the right version and are actually using these files.
That's why @psyz0r took some time to create an automated build for it.
We could add the vcc option to the Puya build also, because it is so hard to actually make a version that can be used with these flash chips.
Re: ESP-01 V3 flashing issues
You mean, more than include the 'puya.patch' in the 'Esp.cpp' from the used '..\.platformio\packages\framework-arduinoespressif8266\cores\esp8266\'-folder ?
Then you're right, nothing beginners like me...
Re: ESP-01 V3 flashing issues
I have added the build option to the platform.ini.
So when this file gets merged, it will either break the builds, or the next release should have an extra Puya version with Vcc supported.
So when this file gets merged, it will either break the builds, or the next release should have an extra Puya version with Vcc supported.
Re: ESP-01 V3 flashing issues
Thanks TD-er, but that doesn't explain the problem in my environment
Re: ESP-01 V3 flashing issues
I have got exact module as in this picture. Can flash firmware and sketch with flash mode as DOUT. But it runs just after flashing the sketch. After power off and on cycle it stopped working. NO REST is working so I guess I have to apply your fix to my ESP.
Could you please share the full image of your hack, as this image is just a part of whole picture?
Thanks
-
- New user
- Posts: 1
- Joined: 03 Apr 2018, 00:20
Re: ESP-01 V3 flashing issues
abhinavg, my modules are slightly different from akellai's picture shown, but I have the same issue: RESET function is not working.abhinavg wrote: ↑28 Mar 2018, 08:33I have got exact module as in this picture. Can flash firmware and sketch with flash mode as DOUT. But it runs just after flashing the sketch. After power off and on cycle it stopped working. NO REST is working so I guess I have to apply your fix to my ESP.
Could you please share the full image of your hack, as this image is just a part of whole picture?
Thanks
I found the following: there is an additional 6k resistor in reset line (I don't know why is neccesary) between EXT_RSTB and RST pin of 8pins connector.
After I remove and put a jumper back its place, RESET function is working well again.
Orange line shows the connected points for RST.
I plan to use this ESP-01 for my thermostat project with battery, programmed by Arduino IDE, so I need deepsleep function. After several hours programming I realised the reset problem.
Modules ordered from EBay (seller is h-quality_electronic). I've already sent a message to the seller because he described a different version from what I received.
I've attached a picture about my ESP in original state (resistor which should be remove is marked with red circle).
I hope this information could help.
Regards,
aquariushu
Re: ESP-01 V3 flashing issues
I guess that should be documented on the Wiki.
This may cost people a lot of time finding it.
This may cost people a lot of time finding it.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESP-01 V3 flashing issues
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
- budman1758
- Normal user
- Posts: 301
- Joined: 15 Apr 2017, 05:13
- Location: Riverside CA USA
Re: ESP-01 V3 flashing issues
Looks pretty clear and concise to me.grovkillen wrote: ↑03 Apr 2018, 20:44 https://www.letscontrolit.com/wiki/inde ... #ESP-01_v3
Please review
"The glass is twice as big as it needs to be".
Re: ESP-01 V3 flashing issues
any news about a puya solution ?
Re: ESP-01 V3 flashing issues
Is there a new problem with the PUYA chips that does not work on the nightly builds made for Puya chips?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESP-01 V3 flashing issues
Sorry, haven't updated the wiki. Will do that in a bit.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: ESP-01 V3 flashing issues
i found the new firmware V2.00
connected the esp01 the right way and it flashed
thx guys
connected the esp01 the right way and it flashed
thx guys
Re: ESP-01 V3 flashing issues
hi,
i cannot get it working with domoticz.
flashed the firmware, see the configpages of the esp-01.
use the same settingas with some other esp module's and i cannot get the output switching,
got the correct idx and the gpio-0.
any thoughts ?
i cannot get it working with domoticz.
flashed the firmware, see the configpages of the esp-01.
use the same settingas with some other esp module's and i cannot get the output switching,
got the correct idx and the gpio-0.
any thoughts ?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESP-01 V3 flashing issues
You need to connect the switch to ground since GPIO-0 needs to be set to high for boot.
https://www.letscontrolit.com/wiki/inde ... figuration
Or how do you connect it currently?
https://www.letscontrolit.com/wiki/inde ... figuration
Or how do you connect it currently?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: ESP-01 V3 flashing issues
connected it wit jumper wires on a bread board.
the CH_PCD connected with +
it boots because i see the lets controlit easy esp webpage.
it looks like it doesnt understand the command from domoticz : http://172.16.200.230/control?cmd=GPIO,0,1
the CH_PCD connected with +
it boots because i see the lets controlit easy esp webpage.
it looks like it doesnt understand the command from domoticz : http://172.16.200.230/control?cmd=GPIO,0,1
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESP-01 V3 flashing issues
Yes but how do you connect the switch? Will it (when closed) pull the value on GPIO0 down to ground?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Who is online
Users browsing this forum: No registered users and 144 guests