Skip to content

MemData Command error on ESP32C6 without --no-stub flag #637

Open
@jlc-christie

Description

@jlc-christie

When running any espflash command (e.g. board-info) against an ESP32-C6-WROOM-1 I get the following error:

> espflash board-info
[2024-05-15T10:30:07Z INFO ] Detected 4 serial ports
[2024-05-15T10:30:07Z INFO ] Ports which match a known common dev board are highlighted
[2024-05-15T10:30:07Z INFO ] Please select a port
[2024-05-15T10:30:09Z INFO ] Serial port: '/dev/cu.usbmodem574C0343841'
[2024-05-15T10:30:09Z INFO ] Connecting...
[2024-05-15T10:30:09Z INFO ] Using flash stub
Error:   × The bootloader returned an error
  ├─▶ Error while running MemData command
  ╰─▶ Other

If I supply the --no-stub flag it works as expected:

> espflash board-info --no-stub
[2024-05-15T10:30:46Z INFO ] Detected 4 serial ports
[2024-05-15T10:30:46Z INFO ] Ports which match a known common dev board are highlighted
[2024-05-15T10:30:46Z INFO ] Please select a port
[2024-05-15T10:30:48Z INFO ] Serial port: '/dev/cu.usbmodem574C0343841'
[2024-05-15T10:30:48Z INFO ] Connecting...
Chip type:         esp32c6 (revision v0.0)
Crystal frequency: 40 MHz
Flash size:        8MB
Features:          WiFi 6, BT 5
MAC address:       40:4c:ca:4a:c6:d0

This is reproducible on the latest commit in main (890f17ac46ea8d579118ae5a726c3a940ede9065).

The same error occurs with other commands too, e.g. monitor, flash, etc.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingstatus:needs-investigationIssue requires further investigation

Type

No type

Projects

Status

Todo

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions