Skip to content

Cannot upload to ESPresso Lite 2.0 board using 2.5.2 #6406

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

Closed
6 tasks done
SamuelPittet opened this issue Aug 9, 2019 · 6 comments
Closed
6 tasks done

Cannot upload to ESPresso Lite 2.0 board using 2.5.2 #6406

SamuelPittet opened this issue Aug 9, 2019 · 6 comments

Comments

@SamuelPittet
Copy link

Basic Infos

  • This issue complies with the issue POLICY doc.
  • I have read the documentation at readthedocs and the issue is not addressed there.
  • I have tested that the issue is present in current master branch (aka latest git).
  • I have searched the issue tracker for a similar issue.
  • If there is a stack dump, I have decoded it.
  • I have filled out all fields below.

Platform

  • Hardware: ESPresso Lite V2.0
  • Core Version: 2.5.2
  • Development Env: Arduino IDE
  • Operating System: Windows

Settings in IDE

  • Module: ESPresso Lite V2.0
  • Flash Mode: N/A
  • Flash Size: 4MB
  • lwip Variant: v1.4 Lower Higher Bandwidth
  • Reset Method: ck
  • Flash Frequency: 40Mhz
  • CPU Frequency: 80Mhz
  • Upload Using: SERIAL
  • Upload Speed: 115200

Problem Description

I cannot upload a sketch to my ESPresso Lite 2.0 board using 2.5.1 or 2.5.2 core version. 2.5.0 works fine. Seems to be related to the new esptool.py.
You can try the standard Blink sketch. I used the same Settings in the IDE, same board, same USB/TTL converter, same hardware, etc
for both core versions and anything up to 2.5.0 works fine. 2.5.1 and 2.5.2 doesn't work.

@f5soh
Copy link
Contributor

f5soh commented Aug 9, 2019

Some details with the error ?
Which "Erase flash" option ?

Did you look at #6296 ?

@SamuelPittet SamuelPittet changed the title Cannot upload to ESPresso Lite 1.0 board using 2.5.2 Cannot upload to ESPresso Lite 2.0 board using 2.5.2 Aug 12, 2019
@SamuelPittet
Copy link
Author

@f5soh No details other than it ends with a communication timeout at the end of the upload try.

The "Erase Flash" option is set at "Only Sketch". So, I'm not sure it is related to #6296 .

@mcer12
Copy link

mcer12 commented Aug 13, 2019

@SamuelPittet i am 99.9% sure it is caused by #6296. Doesn't matter what erase flash option you choose, esptool is set up so that it restarts the device before upload and that's the issue. Old upload method wiped memory and went on with the upload without reset.
If you want to use library v2.5.2, all you (should) need to do is to push reset button right after memory wipe finishes.

@SamuelPittet
Copy link
Author

@mcer12 I tried holding the reset button at various moment during the upload, and nothing happen. I joined the output of the Arduino debug window during a failed attempt to upload with 2.5.2.

output.txt

@earlephilhower
Copy link
Collaborator

You may have better luck at the upstream esptool.py repo with this issue. We're just using the latest official uploader from Espressif, without any changes. They may have some method to make your unique boards work properly: https://github.com/espressif/esptool

@earlephilhower
Copy link
Collaborator

#6429 changed the reset method to something we believe to be more compatible. Closing this issue, but if you have something similar even with the latest GIT or release, please open a new issue so we can track it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants