question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PlatformIO UPLOAD button does only build, but no upload to device

See original GitHub issue

Environment:

PlatformIO Version Home 0.3.0·Core 3.5.0a15

Plattform: Espressif32 Version 0.10.0 Espressif32_stage Version bcfaefd

Framework: Arduino

How to recreate

Any ESP32 project (or example) will show the problem. Select project Press UPLOAD button (or select from Menu PlatformIO->Upload ==> Build starts ==> After build is finished nothing else happens, last message is:

Calculating size .pioenvs\esp32dev\firmware.elf
text       data     bss     dec     hex filename
415909    72348   27160  515417   7dd59 .pioenvs\esp32dev\firmware.elf
 [SUCCESS] Took 2.70 seconds

#Workaround Open PlatformIO terminal and enter platformio run --target upload to build and upload

Additional info

When building for ESP8266 or Arduino Uno the behavior of PlatformIO UPLOAD button is as expected.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
YannikWcommented, Nov 1, 2017

I notices the same problem with ESP8266.

Try to add tagets = upload to you projects platformio.ini, this works for me.

image

0reactions
Jeremaiha-xmetixcommented, Aug 2, 2020

Had the very same issue, even when operating Arduino’s native IDE. Apparently, reset pin was connected (accidentally) and does prevent upload new code.

Read more comments on GitHub >

github_iconTop Results From Across the Web

how to set to upload without building the application
PlatformIO upload button on VS Code PlatformIO taskbar: how to set to ... click on build button to build and click on upload...
Read more >
Upload Latest build without a Compile/Link
You want an upload button which does not compile the firmware but instantly ... There's no just upload whatever was last built option…...
Read more >
No Build / Upload button since update - PlatformIO IDE
Hi, I hope this is the right place to post. I have just updated my PIO to 2.0. Open my projects as usual...
Read more >
Just Upload build without recompile nor scan dependencies
Issue: Upload button in toolbar checks for changes for recompiling and scans dependencies, but you know the already made .bin/hex files are ...
Read more >
Not uploading the open file - PlatformIO Community
How do you know that it never uploaded? Did you do a 'build' first then 'upload' or did you take the easy option...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found