I’ve been searching the forums, google and haven’t found a solution.
Issue: I am using PlatformIO with VS Code. Everything was working fine until the June 25 update, after which my code will compile, provide a success message but will not upload to the ESP32 or provide any errors.
What I have Tried
- Swapped ESP32 modules to eliminate hardware issues
- opened new project with very simple code see below to eliminate potential for code errors. Used following code for all tests
#include <Arduino.h> void setup() { Serial.begin(115200); } void loop() { Serial.println("Hello 1234 "); delay(1000); }
- Code does compile and upload using the ardunio IDE without issue.
- Performed clean install of PlatformIO & Ardunio IDE several times deleting all config files in %appdata%
- Tried several Board types = firebeetle32, Node32s, DOIT ESP32 Devkit v1, etc. (this shouldn’t make a difference since it worked before the update with DOIT board type)
- added targets= upload to the platformio.ini as suggested in another forum. Made no difference.
- Yes I am holding the boot button
Platform.ini file:
[env:firebeetle32]
platform = espressif32
board = firebeetle32
framework = arduino
monitor_speed = 115200
message during compile/upload
Executing task: C:\Users\user.platformio\penv\Scripts\platformio.exe run --target upload <
Processing firebeetle32 (platform: espressif32; board: firebeetle32; framework: arduino)
Verbose mode can be enabled via
-v, --verbose
option
CONFIGURATION: Redirecting...
PLATFORM: Espressif 32 1.12.4 > FireBeetle-ESP32
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
framework-arduinoespressif32 3.10004.200129 (1.0.4)
tool-esptoolpy 1.20600.0 (2.6.0)
Building .pio\build
firebeetle32\firmwar
e.bin
Configuring upload p
rotocol…
AVAILABLE: esp-prog,
espota, esptool, io
t-bus-jtag, jlink, m
inimodule, olimex-ar
m-usb-ocd, olimex-ar
[SUCCESS] Took 2.97
secondsTerminal will be reused by tasks, press any key to close it.
Looking for upload p
ort…
Auto-detected: COM3
Uploading .pio\build
\firebeetle32\firmwa
re.bin
I do notice an odd behavior not witnessed before during the compile instead of scrolling the terminal output only displays 6 or 7 lines then overwrites. The messages are also limited to 20 char wide before they wordwap. See below as an example:
Terminal will be reused by tasks, press any key to close it.
Looking for upload p
ort…
Auto-detected: COM3
Uploading .pio\build
\firebeetle32\firmwa
re.bin
Other behavior: I never get the loading characters. i.e. " ……_____"
Any Ideas what this can be the issue. The only thing I can think of is to roll back platformIO but I don’t have a clue how to do that.
Thanks