Skip to content

flash --serial ? --board ? is not reliable #33

@Josverl

Description

@Josverl
  • boards of v.1.26.0 cannot be selected
  • seected boards are not flashed
Details

mpflash flash --board ? --serial ?
2025-08-11 22:42:14.578 | DEBUG | mpflash.db.core::17 - Connecting to database at sqlite:///C:/Users/josverl/Downloads/firmware/mpflash.db
[?] Which serial port do you want to flash ?:

COM17 Silicon Labs CP210x USB to UART Bridge (COM17)
auto
Other

[?] Which port do you want to flash to COM17 Silicon Labs CP210x USB to UART Bridge (COM17) ?:
alif
cc3200

esp32
esp8266
mimxrt
nrf
renesas-ra
rp2
samd
stm32
unix
webassembly
windows

[?] Which esp32 board firmware do you want to flash to COM17 Silicon Labs CP210x USB to UART Bridge (COM17) ?:

No esp32 boards found for version(s) ['v1.26.0']

Cancelled by user

(micropython-stubs) PS D:\mypython\micropython-stubs> mpflash flash --board ? --serial ? --version 1.50.0
2025-08-11 22:42:44.752 | DEBUG | mpflash.db.core::17 - Connecting to database at sqlite:///C:/Users/josverl/Downloads/firmware/mpflash.db
[?] Which serial port do you want to flash ?:

COM17 Silicon Labs CP210x USB to UART Bridge (COM17)
auto
Other

Cancelled by user

(micropython-stubs) PS D:\mypython\micropython-stubs> mpflash flash --board ? --serial ? --version 1.25.0
2025-08-11 22:42:53.562 | DEBUG | mpflash.db.core::17 - Connecting to database at sqlite:///C:/Users/josverl/Downloads/firmware/mpflash.db
[?] Which serial port do you want to flash ?:

COM17 Silicon Labs CP210x USB to UART Bridge (COM17)
auto
Other

[?] Which port do you want to flash to COM17 Silicon Labs CP210x USB to UART Bridge (COM17) ?:
alif
cc3200

esp32
esp8266
mimxrt
nrf
renesas-ra
rp2
samd
stm32
unix
webassembly
windows

[?] Which esp32 board firmware do you want to flash to COM17 Silicon Labs CP210x USB to UART Bridge (COM17) ?:
v1.25.0 ARDUINO_NANO_ESP32 Arduino Nano ESP32 with ESP32S3
v1.25.0 ESP32_GENERIC Generic ESP32 module with ESP32
v1.25.0 ESP32_GENERIC-D2WD ESP32-D2WD
v1.25.0 ESP32_GENERIC-OTA Generic ESP32 module with OTA

v1.25.0 ESP32_GENERIC-SPIRAM Generic ESP32 module with SPIRAM
v1.25.0 ESP32_GENERIC-UNICORE ESP32-UNICORE
v1.25.0 ESP32_GENERIC_C3 ESP32C3 module with ESP32C3
v1.25.0 ESP32_GENERIC_C6 ESP32C6 module with ESP32C6
v1.25.0 ESP32_GENERIC_S2 Generic ESP32S2 module with ESP32S2
v1.25.0 ESP32_GENERIC_S3 Generic ESP32S3 module with ESP32S3
v1.25.0 ESP32_GENERIC_S3-FLASH_4M Generic ESP32S3 module with ESP32S3
v1.25.0 ESP32_GENERIC_S3-SPIRAM_OCT Generic ESP32S3 module with Octal-SPIRAM
v1.25.0 LILYGO_TTGO_LORA32 LILYGO TTGO LoRa32 with ESP32

22:43:05 | ❌ No boards were flashed
(micropython-stubs) PS D:\mypython\micropython-stubs>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions