platformio-docs icon indicating copy to clipboard operation
platformio-docs copied to clipboard

How to setup esp32-pico-v3-02 to the correct board?

Open murarduino opened this issue 3 years ago • 1 comments
trafficstars

I chose EPS32-PICO-V3-02 chip and board for testing. But there is no way to specify the correct board in PlatformIO. I found the Denky D4 (PICO-V3-02) to be close to my choice, but the info only says 4MB FLash ROM, not the correct 8M Flash ROM.

murarduino avatar Sep 26 '22 02:09 murarduino

And the upload of pico-v3-02 was unsuccessful

Processing esp32-pico-v3-02 (platform: espressif32; board: denky_d4; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/denky_d4.html PLATFORM: Espressif 32 (4.1.0) > Denky D4 (PICO-V3-02) HARDWARE: ESP32 240MHz, 320KB RAM, 8MB 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.20001.0 (2.0.1)
  • tool-esptoolpy @ 1.30100.210531 (3.1.0)
  • tool-mkfatfs @ 2.0.1
  • tool-mklittlefs @ 1.203.210628 (2.3)
  • tool-mkspiffs @ 2.230.0 (2.30)
  • toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3 LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 32 compatible libraries Scanning dependencies... Dependency Graph |-- ESP8266Audio @ 1.9.7 | |-- SPIFFS @ 2.0.0 | | |-- FS @ 2.0.0 | |-- FS @ 2.0.0 | |-- HTTPClient @ 2.0.0 | | |-- WiFi @ 2.0.0 | | |-- WiFiClientSecure @ 2.0.0 | | | |-- WiFi @ 2.0.0 | |-- SD @ 2.0.0 | | |-- FS @ 2.0.0 | | |-- SPI @ 2.0.0 | |-- SPI @ 2.0.0 |-- SPIFFS @ 2.0.0 | |-- FS @ 2.0.0 |-- WiFi @ 2.0.0 Building in release mode Retrieving maximum program size .pio\build\esp32-pico-v3-02\firmware.elf Checking size .pio\build\esp32-pico-v3-02\firmware.elf Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [= ] 11.4% (used 37440 bytes from 327680 bytes) Flash: [==== ] 38.8% (used 813945 bytes from 2097152 bytes) Configuring upload protocol... AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa CURRENT: upload_protocol = esptool Looking for upload port... Auto-detected: COM3 Uploading .pio\build\esp32-pico-v3-02\firmware.bin esptool.py v3.1 Serial port COM3 Connecting......................................_____

A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0x65) *** [upload] Error 2

murarduino avatar Sep 26 '22 02:09 murarduino