-
-
Notifications
You must be signed in to change notification settings - Fork 799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update esptool #614
Comments
Hi @boneskull ! |
I've got the same issue as well. Impossible to upload to the D1 Mini. The Arduino IDE manages to upload from time to time, but gives a lot of problems too ... Maybe a driver issue for the D1's CH340G USB-UART bridge? |
Maybe need to ask @wemos or http://forum.wemos.cc ? |
There definitely is a difference between Platform and the Arduino IDE. The Arduino IDE manages to upload 25% of the time (so, it definitely has issues, but succeeds from time to time). Platform IO never manages to upload. |
Could you please try this esptool? Just replace old one in |
The esptool you link to, appears to be the one I'm using. I tried using esptool.py:
But unfortunately, it fails to connect:
So this isn't a Platform issue, but really an issue with the WeMos. :( |
It turned out I was using a very old esptool.py, after upgrading esptool.py I am now able to upload using platform.io. |
Interesting. I found this pull request for the regular esptool: igrr/esptool-ck#29 |
I can confirm the PR @MichMich mentions fixes my problem. |
@MichMich @boneskull , please contact with @igrr and ask him to merge this PR igrr/esptool-ck#29 |
Done! |
@ivankravets I believe the fix was merged in esptool |
@valeros the esptool has been released a few days ago. Please update all packages https://github.com/igrr/esptool-ck/releases/tag/0.4.9 |
Updated, thanks! |
* develop: (27 commits) Update boards list Add Arduino M0 as a separate board Update history Update microchippic32 platform and boards Fix PyLint warning Keep user changes for ".gitignore" file when re-generate/update project data Documented uploading of EEPROM data Push 2.11.1.dev1 Automatically install dependent upload tools // Issue #472 Split source files to HEADERS and SOURCES when generate project for Qt Creator IDE // Resolve #713 Improve project generator for CLion IDE Fix missing trailing ``\`` for the source files list when generate project for Qt Creator IDE // Resolve #711 * Fix missed ``--boot`` flag for the firmware uploader for ATSAM3X8E Cortex-M3 MCU based boards (Arduino Due, etc) // Resolve #710 Initial support for Arduino M0/Tian boards // Issue #472 Update project template for Qt Creator // Issue #711 Fix missed --boot flag for sam3x uploader // Issue # 710 Auto-remove project cache when PlatformIO is upgraded Version bump to 2.11.0 (issues #472, #520, #614, #620, #685, #698, #699) Update history Update espressif platform according to the new framework version
What kind of issue is this?
Configuration
Operating system: MacOS X El Capitan
PlatformIO Version (
platformio --version
): 2.8.6Description of problem
I have not had any success with the packaged
esptool
for uploading to a WeMos D1 Mini. It always fails. I replaced it with the master branch here and now uploads work.Steps to Reproduce
Actual Results
Expected Results
If problems with PlatformIO Build System:
The content of
platformio.ini
:Source file to reproduce issue:
Additional info
I have had some success uploading the built
.bin
withesptool.py
.The text was updated successfully, but these errors were encountered: