Esp32wroom32u programmer is not responding, not in sync when upload

Hi community
I have been using the arduino IDE during many months with UNO, ESP8266 and ESP32 and everything is OK. My machine is using Linix MINT 20.1 Xfce 64 bit
But now I want to use the platformIO. I am trying to uploud the classical BLINK sketch (very easy sketch) to my esp32wroom32u, but it do not work. There is something wrong with the bootload,
This is the second time I am trying to resolve this problem, first time was 2 months ago.
Could someone help me?
Thank you and best regards
Leonardo

Tha plattformIO.ini is:

[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino

When I am trying to upload the BLINK I am recieveing the next messages:

Processing uno (platform: atmelavr; board: uno; framework: arduino)

--------------------------------------------------------------------------------------------------------------------------------------

Verbose mode can be enabled via `-v, --verbose` option

CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/uno.html

PLATFORM: Atmel AVR (3.4.0) > Arduino Uno

HARDWARE: ATMEGA328P 16MHz, 2KB RAM, 31.50KB Flash

DEBUG: Current (avr-stub) On-board (avr-stub, simavr)

PACKAGES:

- framework-arduino-avr 5.1.0

- tool-avrdude 1.60300.200527 (6.3.0)

- toolchain-atmelavr 1.70300.191015 (7.3.0)

LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf

LDF Modes: Finder ~ chain, Compatibility ~ soft

Found 5 compatible libraries

Scanning dependencies...

No dependencies

Building in release mode

Checking size .pio/build/uno/firmware.elf

Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"

RAM: [ ] 0.4% (used 9 bytes from 2048 bytes)

Flash: [ ] 2.9% (used 924 bytes from 32256 bytes)

Configuring upload protocol...

AVAILABLE: arduino

CURRENT: upload_protocol = arduino

Looking for upload port...

Auto-detected: /dev/ttyUSB0

Uploading .pio/build/uno/firmware.hex

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done. Thank you.

*** [upload] Error 1

==================================================== [FAILED] Took 52.07 seconds ====================================================

The terminal process "platformio 'run', '--target', 'upload'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

You still have an Arduino Uno project selected. Use the project environment switcher to select the esp32dev environment of your new project.

1 Like

Hi Maxgerhardt
thank you for your answer
sorry for my unexperience
finaly I could upload the BLINK sketch to my ESP32 (:-D)

Thank you so much!!!