The basic blink program will upload in the Arduino environment to the D32 board with no problems.
But in PlatformIO when I compile a basic blink program it compiles correctly but can’t upload the program.
Connecting…
Failed to get PID of a device on com10, using standard reset sequence.
.
Chip is ESP32-D0WD-V3 (revision v3.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 3c:e9:0e:87:4f:40
Uploading stub…
Running stub…
Stub running…
Changing baud rate to 921000
Changed.
A fatal error occurred: Unable to verify flash chip connection (Invalid head of packet (0xE0): Possible serial noise or corruption.).
*** [upload] Error 2
============================================================================== [FAILED] Took 51.56 seconds ==============================================================================
- The terminal process “C:\Users\royjh.platformio\penv\Scripts\platformio.exe ‘run’, ‘–target’, ‘upload’” terminated with exit code: 1.
- Terminal will be reused by tasks, press any key to close it.
My ini file settings are
[env:lolin_d32]
platform = espressif32
board = lolin_d32
framework = arduino
upload_port = com10
upload_speed = 921000
monitor_speed = 115200
monitor_port = com10
I’m trying to just build and upload not debug.