Trouble flashing AWS-S3-PUT example to TimerCam-F with ESP-IDF + PlatformIO

  • The project compiles fine, but fails to flash, failing with the following. Has anyone encountered and resolved this?

    Building in release mode
    Retrieving maximum program size .pio/build/m5stack-timer-cam/firmware.elf
    Checking size .pio/build/m5stack-timer-cam/firmware.elf
    Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
    RAM:   [=         ]  11.6% (used 38052 bytes from 327680 bytes)
    Flash: [==========]  96.0% (used 1006333 bytes from 1048576 bytes)
    Configuring upload protocol...
    AVAILABLE: cmsis-dap, esp-bridge, 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: /dev/cu.usbserial-59527C0548
    Uploading .pio/build/m5stack-timer-cam/firmware.bin v4.5.1
    Serial port /dev/cu.usbserial-59527C0548
    Chip is ESP32-D0WDQ6-V3 (revision v3.1)
    Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
    Crystal is 40MHz
    MAC: b0:b2:1c:60:bf:b0
    Uploading stub...
    Running stub...
    Stub running...
    Changing baud rate to 460800
    A fatal error occurred: Unable to verify flash chip connection (No serial data received.).
    *** [upload] Error 2