espflash icon indicating copy to clipboard operation
espflash copied to clipboard

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

Open jlc-christie opened this issue 1 year ago • 4 comments

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.

jlc-christie avatar May 15 '24 10:05 jlc-christie

Thanks for reporting, can you run espflash with RUST_LOG=debug espflash board-info in the no-stub case. Thanks!

Vollbrecht avatar May 15 '24 10:05 Vollbrecht

Thanks for reporting, can you run espflash with RUST_LOG=debug espflash board-info in the no-stub case. Thanks!

Thanks for the fast response 😄

> RUST_LOG=debug espflash board-info
[2024-05-15T10:40:04Z DEBUG] BoardInfo(
        ConnectArgs {
            after: HardReset,
            baud: None,
            before: DefaultReset,
            chip: None,
            confirm_port: false,
            list_all_ports: false,
            no_stub: false,
            port: None,
        },
    )
[2024-05-15T10:40:04Z DEBUG] connecting to crates.io:443 at [2600:9000:203b:2600:c:7ed3:240:93a1]:443
[2024-05-15T10:40:04Z DEBUG] No cached session for DnsName("crates.io")
[2024-05-15T10:40:04Z DEBUG] Not resuming any session
[2024-05-15T10:40:04Z DEBUG] Using ciphersuite TLS13_AES_128_GCM_SHA256
[2024-05-15T10:40:04Z DEBUG] Not resuming
[2024-05-15T10:40:04Z DEBUG] TLS1.3 encrypted extensions: [ServerNameAck]
[2024-05-15T10:40:04Z DEBUG] ALPN protocol is None
[2024-05-15T10:40:04Z DEBUG] created stream: Stream(RustlsStream)
[2024-05-15T10:40:04Z DEBUG] sending request GET https://crates.io/api/v1/crates/espflash/versions
[2024-05-15T10:40:04Z DEBUG] writing prelude: GET /api/v1/crates/espflash/versions HTTP/1.1
    Host: crates.io
    User-Agent: ureq/2.9.7
    Accept: */*
    accept-encoding: gzip
[2024-05-15T10:40:04Z DEBUG] Chunked body in response
[2024-05-15T10:40:04Z DEBUG] response 200 to GET https://crates.io/api/v1/crates/espflash/versions
[2024-05-15T10:40:04Z DEBUG] dropping stream: Stream(RustlsStream)
[2024-05-15T10:40:04Z DEBUG] Config: Config {
        baudrate: None,
        bootloader: None,
        connection: Connection {
            serial: None,
        },
        partition_table: None,
        usb_device: [
            UsbDevice {
                vid: 6790,
                pid: 21971,
            },
        ],
        save_path: "/Users/jlcc/Library/Application Support/rs.esp.espflash/espflash.toml",
    }
[2024-05-15T10:40:04Z INFO ] Detected 4 serial ports
[2024-05-15T10:40:04Z INFO ] Ports which match a known common dev board are highlighted
[2024-05-15T10:40:04Z INFO ] Please select a port
[2024-05-15T10:40:06Z INFO ] Serial port: '/dev/cu.usbmodem574C0343841'
[2024-05-15T10:40:06Z INFO ] Connecting...
[2024-05-15T10:40:06Z DEBUG] Using UnixTight reset strategy with delay of 50ms
[2024-05-15T10:40:06Z DEBUG] Boot Mode: 0x4
[2024-05-15T10:40:06Z DEBUG] Download Mode: false
[2024-05-15T10:40:06Z DEBUG] Writing command: Sync
[2024-05-15T10:40:06Z DEBUG] Writing command: Sync
[2024-05-15T10:40:06Z DEBUG] Writing command: ReadReg { address: 1073745920 }
[2024-05-15T10:40:06Z INFO ] Using flash stub
[2024-05-15T10:40:06Z DEBUG] Loading flash stub for chip: Esp32c6
[2024-05-15T10:40:06Z DEBUG] Write 15956 byte stub text
[2024-05-15T10:40:06Z DEBUG] Writing command: MemBegin { size: 15956, blocks: 3, block_size: 6144, offset: 1082130432, supports_encryption: false }
[2024-05-15T10:40:06Z DEBUG] Writing command: MemData { data: [183, 0, 128, 64, 103, 128, 128, 0, 23, 69, 0, 0, 19, 5, 133, 4, 151, 5, 1, 0, 147, 133, 69, 71, 99, 87, 181, 0, 129, 70, 20, 193, 17, 5, 227, 78, 181, 254, 23, 5, 128, 15, 19, 5, 165, 253, 151, 5, 128, 15, 147, 133, 37, 253, 99, 87, 181, 0, 129, 70, 20, 193, 17, 5, 227, 78, 181, 254, 129, 64, 1, 65, 129, 65, 1, 66, 129, 66, 1, 67, 129, 67, 1, 68, 129, 68, 1, 69, 129, 69, 1, 70, 129, 70, 1, 71, 129, 71, 1, 72, 129, 72, 1, 73, 129, 73, 1, 74, 129, 74, 1, 75, 129, 75, 1, 76, 129, 76, 1, 77, 129, 77, 1, 78, 129, 78, 1, 79, 129, 79, 151, 65, 0, 0, 147, 129, 225, 124, 243, 35, 64, 241, 183, 2, 0, 0, 147, 130, 2, 0, 99, 244, 114, 0, 111, 0, 128, 4, 23, 225, 6, 0, 19, 1, 33, 87, 145, 66, 51, 1, 81, 64, 19, 113, 1, 255, 10, 132, 111, 0, 64, 0, 65, 17, 6, 198, 151, 32, 0, 0, 231, 128, 160, 169, 151, 16, 0, 0, 231, 128, 224, 102, 55, 21, 129, 64, 183, 197, 173, 222, 147, 133, 229, 171, 35, 34, 181, 72, 151, 0, 0, 0, 231, 128, 96, 92, 111, 0, 0, 0, 65, 17, 6, 198, 151, 0, 128, 255, 231, 128, 96, 6, 19, 53, 21, 0, 125, 21, 19, 117, 53, 6, 178, 64, 65, 1, 130, 128, 65, 17, 6, 198, 131, 69, 21, 0, 3, 70, 5, 0, 131, 70, 37, 0, 3, 71, 53, 0, 162, 5, 209, 141, 194, 6, 98, 7, 217, 142, 51, 232, 182, 0, 131, 69, 85, 0, 3, 70, 69, 0, 131, 70, 101, 0, 3, 71, 117, 0, 162, 5, 209, 141, 194, 6, 98, 7, 217, 142, 213, 141, 3, 70, 149, 0, 131, 70, 133, 0, 3, 71, 165, 0, 131, 71, 181, 0, 34, 6, 85, 142, 66, 7, 226, 7, 93, 143, 89, 142, 131, 72, 213, 0, 3, 71, 197, 0, 131, 71, 229, 0, 131, 70, 245, 0, 162, 8, 51, 231, 232, 0, 194, 7, 226, 6, 221, 142, 217, 142, 131, 72, 21, 1, 131, 66, 5, 1, 3, 67, 37, 1, 131, 71, 53, 1, 162, 8, 51, 231, 88, 0, 66, 3, 226, 7, 179, 231, 103, 0, 93, 143, 131, 66, 85, 1, 131, 72, 69, 1, 3, 67, 101, 1, 3, 69, 117, 1, 162, 2, 179, 231, 18, 1, 66, 3, 98, 5, 51, 101, 101, 0, 201, 143, 66, 133, 151, 0, 128, 255, 231, 128, 64, 250, 19, 53, 21, 0, 125, 21, 19, 117, 69, 252, 178, 64, 65, 1, 130, 128, 178, 134, 46, 134, 129, 69, 23, 3, 0, 0, 103, 0, 35, 8, 65, 17, 6, 198, 34, 196, 38, 194, 46, 132, 170, 132, 151, 0, 0, 0, 231, 128, 224, 36, 41, 70, 38, 133, 162, 133, 151, 0, 0, 0, 231, 128, 32, 37, 3, 69, 180, 0, 131, 69, 164, 0, 3, 70, 196, 0, 131, 70, 212, 0, 34, 5, 77, 141, 66, 6, 226, 6, 179, 229, 198, 0, 201, 141, 3, 69, 244, 0, 3, 70, 228, 0, 131, 70, 4, 1, 3, 71, 20, 1, 34, 5, 81, 141, 194, 6, 98, 7, 51, 102, 215, 0, 73, 142, 38, 133, 151, 0, 0, 0, 231, 128, 192, 32, 38, 133, 178, 64, 34, 68, 146, 68, 65, 1, 23, 3, 0, 0, 103, 0, 131, 30, 57, 113, 6, 222, 34, 220, 38, 218, 74, 216, 78, 214, 82, 212, 86, 210, 90, 208, 94, 206, 98, 204, 102, 202, 106, 200, 110, 198, 170, 138, 3, 43, 69, 1, 68, 69, 54, 138, 50, 137, 174, 137, 218, 140, 99, 99, 219, 0, 210, 140, 3, 164, 10, 1, 131, 173, 138, 0, 38, 196, 230, 148, 193, 107, 5, 109, 99, 127, 148, 2, 19, 21, 4, 1, 9, 237, 51, 12, 116, 1, 99, 234, 141, 1, 19, 85, 4, 1, 151, 0, 128, 255, 231, 128, 64, 233, 25, 201, 97, 160, 19, 85, 196, 0, 151, 0, 128, 255, 231, 128, 0, 232, 45, 237, 51, 12, 164, 1, 35, 168, 138, 1, 98, 132, 227, 101, 156, 252, 1, 68, 162, 75, 94, 140, 99, 133, 12, 4, 5, 101, 230, 132, 99, 227, 172, 0, 133, 100, 99, 108, 138, 6, 179, 5, 137, 0, 98, 133, 38, 134, 99, 135, 9, 0, 151, 0, 128, 255, 231, 128, 64, 225, 41, 160, 151, 0, 128, 255, 231, 128, 32, 228, 19, 53, 21, 0, 125, 21, 19, 117, 69, 12, 163, 142, 170, 0, 179, 140, 156, 64, 38, 148, 38, 156, 227, 159, 12, 250, 1, 69, 179, 133, 139, 0, 214, 134, 204, 198, 179, 5, 139, 64, 51, 54, 187, 0, 125, 22, 241, 141, 204, 202, 25, 160, 19, 5, 96, 3, 242, 80, 98, 84, 210, 84, 66, 89, 178, 89, 34, 90, 146, 90, 2, 91, 242, 75, 98, 76, 210, 76, 66, 77, 178, 77, 33, 97, 130, 128, 0, 0, 1, 17, 6, 206, 34, 204, 38, 202, 74, 200, 78, 198, 178, 137, 46, 137, 42, 132, 34, 133, 151, 0, 0, 0, 231, 128, 128, 32, 19, 117, 245, 15, 19, 5, 5, 244, 125, 245, 129, 68, 34, 133, 151, 0, 0, 0, 231, 128, 32, 31, 147, 117, 245, 15, 19, 134, 85, 242, 29, 226, 34, 133, 151, 0, 0, 0, 231, 128, 224, 29, 19, 117, 245, 15, 147, 5, 69, 242, 153, 205, 19, 5, 53, 242, 113, 249, 19, 5, 176, 13, 99, 237, 52, 1, 37, 168, 147, 133, 5, 244, 145, 205, 99, 231, 52, 1, 53, 160, 19, 5, 0, 12, 99, 243, 52, 3, 179, 5, 153, 0, 35, 128, 165, 0, 133, 4, 109, 183, 99, 235, 153, 0, 74, 133, 166, 133, 242, 64, 98, 68, 210, 68, 66, 73, 178, 73, 5, 97, 130, 128, 0, 0, 65, 17, 6, 198, 34, 196, 38, 194, 74, 192, 50, 137, 174, 132, 42, 132, 151, 0, 0, 0, 231, 128, 160, 2, 34, 133, 166, 133, 74, 134, 151, 0, 0, 0, 231, 128, 224, 2, 34, 133, 178, 64, 34, 68, 146, 68, 2, 73, 65, 1, 23, 3, 0, 0, 103, 0, 131, 0, 183, 69, 128, 64, 147, 133, 5, 249, 5, 70, 23, 3, 0, 0, 103, 0, 67, 31, 1, 17, 6, 206, 34, 204, 38, 202, 74, 200, 78, 198, 82, 196, 50, 132, 174, 132, 42, 137, 55, 69, 128, 64, 147, 9, 21, 249, 55, 69, 128, 64, 19, 10, 53, 249, 21, 206, 3, 197, 4, 0, 147, 5, 5, 244, 129, 201, 147, 5, 85, 242, 137, 233, 9, 70, 74, 133, 210, 133, 25, 168, 9, 70, 74, 133, 206, 133, 57, 160, 163, 3, 161, 0, 147, 5, 113, 0, 5, 70, 74, 133, 151, 0, 0, 0, 231, 128, 160, 25, 133, 4, 125, 20, 97, 244, 242, 64, 98, 68, 210, 68, 66, 73, 178, 73, 34, 74, 5, 97, 130, 128, 29, 113, 134, 206, 162, 204, 42, 132, 10, 133, 151, 0, 128, 255, 231, 128, 64, 40, 138, 133, 19, 6, 128, 5, 34, 133, 151, 0, 128, 255, 231, 128, 64, 253, 246, 64, 102, 68, 37, 97, 130, 128, 1, 17, 6, 206, 34, 204, 38, 202, 42, 132, 10, 133, 151, 0, 128, 255, 231, 128, 0, 38, 3, 72, 1, 0, 131, 72, 17, 0, 131, 66, 33, 0, 3, 67, 49, 0, 131, 67, 65, 0, 3, 78, 81, 0, 131, 78, 97, 0, 3, 79, 113, 0, 131, 79, 129, 0, 131, 70, 145, 0, 3, 71, 161, 0, 131, 71, 177, 0, 3, 69, 241, 0, 131, 69, 225, 0, 3, 70, 209, 0, 131, 68, 193, 0, 163, 7, 164, 0, 35, 7, 180, 0, 163, 6, 196, 0, 35, 6, 148, 0, 163, 5, 244, 0, 35, 5, 228, 0, 163, 4, 212, 0, 35, 4, 244, 1, 163, 3, 228, 1, 35, 3, 212, 1, 163, 2, 196, 1, 35, 2, 116, 0, 163, 1, 100, 0, 35, 1, 84, 0, 163, 0, 20, 1, 35, 0, 4, 1, 242, 64, 98, 68, 210, 68, 5, 97, 130, 128, 65, 17, 6, 198, 34, 196, 57, 201, 133, 69, 99, 20, 181, 10, 55, 69, 128, 64, 19, 5, 133, 7, 197, 69, 170, 5, 46, 149, 161, 69, 129, 71, 243, 119, 4, 48, 16, 65, 84, 65, 3, 71, 133, 0, 161, 139, 153, 195, 115, 160, 5, 48, 53, 142, 89, 142, 19, 54, 22, 0, 109, 242, 1, 68, 115, 116, 4, 48, 151, 48, 0, 0, 231, 128, 32, 165, 5, 137, 53, 193, 33, 136, 57, 200, 33, 69, 115, 32, 5, 48, 185, 160, 55, 69, 128, 64, 19, 5, 133, 7, 197, 69, 170, 5, 46, 149, 161, 69, 129, 71, 243, 119, 4, 48, 16, 65, 84, 65, 3, 71, 133, 0, 161, 139, 153, 195, 115, 160, 5, 48, 53, 142, 89, 142, 19, 54, 22, 0, 109, 242, 1, 68, 115, 116, 4, 48, 151, 48, 0, 0, 231, 128, 64, 160, 5, 137, 25, 201, 33, 136, 1, 196, 33, 69, 115, 32, 5, 48, 46, 133, 178, 64, 34, 68, 65, 1, 130, 128, 0, 0, 49, 193, 133, 70, 99, 16, 213, 6, 55, 245, 0, 96, 13, 72, 21, 202, 147, 6, 0, 4, 178, 135, 99, 100, 214, 0, 147, 7, 0, 4, 179, 136, 245, 0, 62, 135, 153, 199, 131, 198, 5, 0, 133, 5, 20, 193, 125, 23, 125, 251, 35, 34, 5, 1, 76, 65, 141, 137, 245, 221, 29, 142, 198, 133, 97, 250, 130, 128, 46, 150, 55, 5, 0, 96, 227, 140, 197, 254, 84, 77, 162, 6, 227, 206, 6, 254, 131, 198, 5, 0, 133, 5, 20, 193, 227, 152, 197, 254, 197, 183, 0, 0, 17, 113, 134, 223, 162, 221, 166, 219, 202, 217, 206, 215, 210, 213, 214, 211, 218, 209, 222, 207, 226, 205, 230, 203, 234, 201, 238, 199, 41, 101, 19, 5, 5, 130, 51, 1, 161, 64, 1, 69, 115, 117, 4, 48, 183, 69, 128, 64, 3, 198, 133, 5, 227, 23, 6, 84, 5, 70, 33, 137, 35, 140, 197, 4, 1, 197, 33, 69, 115, 32, 5, 48, 55, 4, 11, 96, 19, 6, 4, 8, 104, 70, 169, 101, 147, 133, 101, 129, 51, 11, 177, 0, 183, 5, 0, 112, 77, 141, 104, 198, 104, 70, 141, 101, 147, 133, 69, 179, 51, 9, 177, 0, 183, 5, 0, 2, 77, 141, 104, 198, 33, 69, 133, 69, 151, 16, 0, 0, 231, 128, 96, 237, 55, 245, 10, 96, 12, 73, 147, 229, 21, 0, 12, 201, 147, 5, 4, 128, 136, 77, 109, 153, 136, 205, 136, 77, 19, 101, 133, 0, 136, 205, 9, 69, 147, 5, 0, 5, 151, 16, 0, 0, 231, 128, 0, 240, 13, 69, 161, 69, 151, 16, 0, 0, 231, 128, 64, 239, 19, 5, 96, 6, 149, 69, 9, 70, 129, 70, 1, 71, 151, 16, 0, 0, 231, 128, 0, 213, 19, 5, 96, 6, 149, 69, 25, 70, 145, 70, 1, 71, 151, 16, 0, 0, 231, 128, 192, 211, 25, 69, 147, 5, 48, 7, 151, 16, 0, 0, 231, 128, 224, 235, 19, 5, 96, 6, 165, 69, 5, 70, 9, 71, 129, 70, 151, 16, 0, 0, 231, 128, 160, 209, 3, 37, 132, 129, 30, 5, 227, 93, 5, 254, 55, 5, 11, 96, 19, 6, 5, 128, 12, 78, 147, 229, 69, 0, 12, 206, 12, 78, 221, 153, 12, 206, 33, 69, 161, 68, 129, 69, 151, 16, 0, 0, 231, 128, 96, 226, 55, 100, 9, 96, 72, 76, 193, 117, 253, 21, 19, 134, 5, 16, 113, 141, 19, 5, 5, 80, 72, 204, 147, 6, 4, 16, 136, 78, 1, 118, 19, 6, 246, 15, 113, 141, 136, 206, 136, 78, 109, 141, 136, 206, 136, 74, 183, 5, 253, 255, 253, 21, 109, 141, 193, 101, 77, 141, 136, 202, 19, 5, 0, 10, 151, 0, 128, 255, 231, 128, 64, 131, 5, 69, 5, 74, 151, 16, 0, 0, 231, 128, 64, 232, 151, 0, 128, 255, 231, 128, 192, 136, 3, 69, 133, 1, 141, 69, 99, 18, 181, 6, 147, 5, 4, 8, 200, 69, 19, 101, 21, 0, 200, 197, 200, 69, 117, 153, 200, 197, 55, 245, 0, 96, 129, 69, 12, 201, 68, 201, 12, 201, 145, 69, 76, 201, 12, 73, 147, 229, 69, 0, 12, 201, 19, 5, 0, 3, 151, 16, 0, 0, 231, 128, 224, 232, 55, 69, 128, 64, 147, 9, 5, 5, 19, 245, 201, 255, 147, 245, 57, 0, 142, 5, 51, 22, 186, 0, 47, 37, 197, 68, 51, 85, 181, 0, 19, 117, 245, 15, 227, 24, 5, 56, 133, 9, 229, 160, 55, 5, 0, 96, 12, 81, 55, 6, 16, 0, 209, 141, 12, 209, 12, 64, 147, 229, 21, 0, 12, 192, 12, 64, 245, 153, 12, 192, 183, 5, 4, 0, 147, 133, 21, 17, 12, 201, 1, 70, 80, 197, 157, 101, 137, 5, 12, 201, 80, 197, 12, 64, 241, 153, 133, 5, 12, 192, 76, 64, 55, 6, 128, 255, 241, 141, 55, 6, 112, 0, 209, 141, 76, 192, 147, 5, 176, 21, 76, 201, 131, 37, 133, 9, 147, 229, 21, 0, 35, 44, 181, 8, 131, 37, 133, 9, 133, 137, 237, 253, 55, 5, 0, 96, 12, 81, 147, 229, 197, 0, 12, 209, 12, 81, 245, 153, 12, 209, 12, 81, 147, 245, 245, 252, 193, 5, 12, 209, 76, 69, 147, 229, 21, 0, 76, 197, 19, 5, 176, 2, 151, 16, 0, 0, 231, 128, 0, 221, 55, 69, 128, 64, 147, 9, 5, 6, 147, 133, 73, 1, 19, 246, 197, 255, 141, 137, 142, 5, 133, 70, 179, 150, 182, 0, 47, 38, 214, 68, 179, 85, 182, 0, 147, 245, 245, 15, 227, 151, 5, 44, 137, 69, 35, 16, 181, 6, 19, 133, 41, 0, 141, 101, 147, 133, 69, 179, 138, 149, 57, 70, 151, 0, 128, 255, 231, 128, 0, 180, 1, 74, 35, 136, 9, 0, 41, 69, 35, 137, 169, 0, 13, 101, 19, 5, 69, 179, 179, 4, 161, 0, 13, 68, 5, 101, 147, 10, 5, 218, 25, 200, 38, 133, 129, 69, 86, 134, 151, 0, 128, 255, 231, 128, 224, 176, 214, 148, 125, 20, 125, 244, 141, 107, 19, 132, 11, 142, 29, 101, 19, 5, 69, 243, 10, 149, 141, 101, 147, 133, 69, 179, 138, 149, 34, 134, 151, 0, 128, 255, 231, 128, 192, 174, 55, 69, 0, 96, 8, 93, 113, 137, 97, 21, 19, 53, 21, 0, 129, 69, 151, 0, 128, 255, 231, 128, 64, 128, 35, 32, 9, 0, 55, 5, 0, 1, 202, 133, 200, 193, 193, 106, 35, 36, 89, 1, 5, 101, 200, 197, 19, 5, 0, 16, 136, 201, 19, 133, 250, 255, 200, 201, 13, 101, 19, 5, 69, 179, 10, 149, 151, 240, 255, 255, 231, 128, 128, 111, 82, 212, 78, 214, 8, 24, 147, 4, 97, 8, 19, 6, 96, 5, 129, 69, 151, 0, 128, 255, 231, 128, 96, 168, 29, 101, 19, 5, 69, 243, 179, 5, 161, 0, 38, 133, 34, 134, 151, 0, 128, 255, 231, 128, 64, 167, 19, 133, 235, 147, 44, 16, 46, 149, 19, 6, 208, 28, 129, 69, 151, 0, 128, 255, 231, 128, 160, 165, 19, 5, 240, 4, 35, 0, 169, 0, 19, 5, 128, 4, 163, 0, 169, 0, 19, 5, 16, 4, 35, 1, 169, 0, 19, 5, 144, 4, 163, 1, 169, 0, 13, 101, 19, 5, 69, 179, 179, 5, 161, 0, 17, 70, 82, 133, 151, 0, 0, 0, 231, 128, 224, 151, 197, 76, 19, 150, 172, 0, 13, 101, 19, 5, 69, 179, 10, 149, 129, 69, 50, 140, 151, 0, 128, 255, 231, 128, 160, 160, 161, 75, 147, 138, 10, 240, 55, 69, 128, 64, 147, 9, 5, 2, 19, 213, 137, 1, 42, 210, 19, 218, 9, 1, 19, 221, 137, 0, 55, 69, 128, 64, 19, 5, 5, 234, 42, 206, 55, 133, 128, 64, 19, 5, 69, 72, 42, 200, 55, 69, 128, 64, 19, 5, 69, 229, 42, 208, 9, 101, 19, 5, 5, 113, 42, 196, 86, 202, 34, 85, 141, 101, 147, 133, 69, 179, 138, 149, 98, 134, 151, 0, 0, 0, 231, 128, 64, 135, 227, 226, 117, 19, 42, 132, 46, 137, 3, 69, 21, 0, 131, 69, 4, 0, 3, 70, 36, 0, 131, 70, 52, 0, 34, 5, 77, 141, 66, 6, 226, 6, 85, 142, 179, 100, 166, 0, 51, 245, 84, 1, 19, 5, 5, 240, 227, 11, 5, 14, 131, 69, 68, 0, 3, 71, 84, 0, 131, 72, 100, 0, 131, 70, 116, 0, 19, 213, 132, 0, 147, 151, 133, 1, 93, 141, 5, 70, 35, 0, 203, 0, 163, 0, 171, 0, 163, 1, 11, 0, 9, 70, 35, 1, 203, 0, 163, 3, 11, 0, 35, 3, 11, 0, 163, 2, 11, 0, 35, 2, 11, 0, 35, 4, 11, 0, 163, 4, 11, 0, 35, 5, 59, 1, 18, 86, 163, 6, 203, 0, 35, 6, 75, 1, 163, 5, 171, 1, 163, 8, 11, 0, 35, 8, 11, 0, 163, 7, 11, 0, 147, 125, 245, 15, 19, 133, 237, 255, 35, 7, 11, 0, 73, 70, 99, 101, 166, 12, 10, 5, 2, 86, 50, 149, 28, 65, 19, 5, 48, 12, 130, 135, 19, 5, 0, 12, 225, 69, 99, 106, 185, 110, 151, 34, 0, 0, 231, 130, 226, 90, 179, 229, 198, 0, 201, 141, 3, 69, 84, 1, 3, 70, 68, 1, 131, 70, 100, 1, 3, 71, 116, 1, 34, 5, 81, 141, 194, 6, 98, 7, 217, 142, 85, 141, 3, 70, 212, 0, 131, 70, 196, 0, 3, 71, 228, 0, 131, 71, 244, 0, 34, 6, 85, 142, 66, 7, 226, 7, 93, 143, 89, 142, 131, 70, 148, 0, 3, 71, 132, 0, 131, 71, 164, 0, 131, 68, 180, 0, 162, 6, 217, 142, 194, 7, 226, 4, 197, 143, 221, 142, 125, 119, 105, 143, 58, 220, 42, 218, 54, 149, 42, 216, 51, 5, 182, 2, 170, 192, 54, 222, 35, 20, 1, 4, 35, 19, 1, 4, 5, 69, 35, 2, 161, 4, 65, 69, 99, 133, 173, 0, 9, 69, 99, 151, 173, 102, 19, 5, 32, 12, 17, 102, 99, 109, 182, 100, 151, 240, 127, 255, 231, 128, 192, 79, 170, 133, 19, 5, 80, 12, 99, 148, 5, 100, 185, 165, 19, 133, 13, 243, 10, 5, 114, 70, 50, 149, 8, 65, 2, 133, 151, 240, 127, 255, 231, 128, 160, 74, 170, 133, 19, 5, 64, 12, 99, 147, 5, 98, 53, 165, 97, 69, 99, 109, 169, 96, 38, 133, 5, 70, 99, 139, 205, 96, 3, 69, 65, 4, 99, 3, 5, 84, 19, 8, 137, 254, 147, 2, 132, 1, 99, 0, 8, 84, 179, 4, 36, 1, 147, 7, 240, 14, 22, 133, 3, 70, 5, 0, 5, 5, 177, 143, 227, 28, 149, 254, 147, 247, 247, 15, 29, 163, 19, 5, 0, 12, 99, 15, 121, 93, 131, 69, 132, 0, 38, 133, 9, 70, 99, 137, 197, 92, 3, 69, 65, 4, 99, 1, 5, 80, 114, 86, 19, 5, 128, 12, 99, 16, 6, 92, 35, 2, 1, 4, 99, 145, 5, 92, 34, 85, 169, 101, 147, 133, 101, 129, 138, 149, 151, 240, 255, 255, 231, 128, 224, 77, 34, 69, 151, 240, 127, 255, 231, 128, 32, 51, 151, 240, 127, 255, 231, 128, 160, 55, 105, 171, 19, 5, 0, 2, 99, 99, 169, 88, 147, 5, 36, 0, 121, 70, 29, 101, 19, 5, 101, 243, 10, 149, 151, 240, 127, 255, 231, 128, 96, 119, 29, 101, 19, 5, 69, 243, 10, 149, 35, 0, 149, 0, 173, 69, 163, 0, 181, 0, 29, 101, 19, 5, 197, 243, 10, 149, 151, 240, 255, 255, 231, 128, 160, 58, 147, 117, 245, 15, 99, 149, 5, 84, 129, 171, 19, 5, 0, 12, 193, 69, 99, 111, 185, 82, 242, 85, 19, 5, 128, 12, 99, 154, 5, 82, 151, 34, 0, 0, 231, 130, 130, 56, 99, 25, 5, 82, 3, 69, 212, 0, 131, 69, 196, 0, 3, 70, 228, 0, 34, 5, 131, 70, 244, 0, 201, 141, 66, 6, 34, 85, 226, 6, 85, 142, 51, 100, 182, 0, 169, 101, 147, 133, 101, 129, 138, 149, 151, 240, 255, 255, 231, 128, 0, 67, 34, 69, 151, 240, 127, 255, 231, 128, 64, 40, 2, 148, 205, 169, 19, 5, 0, 12, 225, 69, 99, 96, 185, 78, 151, 34, 0, 0, 231, 130, 34, 53, 51, 105, 166, 0, 151, 34, 0, 0, 231, 130, 34, 54, 151, 240, 127, 255, 231, 128, 32, 108, 41, 101, 19, 5, 197, 130, 10, 149, 151, 240, 255, 255, 231, 128, 128, 108, 99, 8, 9, 4, 29, 101, 19, 5, 69, 243, 179, 5, 161, 0, 5, 102, 34, 133, 151, 240, 255, 255, 231, 128, 96, 45, 147, 117, 245, 15, 99, 153, 5, 72, 5, 101, 202, 132, 99, 99, 169, 0, 133, 100, 41, 101, 19, 5, 197, 130, 10, 149, 157, 101, 147, 133, 69, 243, 138, 149, 38, 134, 151, 0, 128, 255, 231, 128, 64, 145, 51, 9, 153, 64, 38, 148, 227, 28, 9, 250, 151, 34, 0, 0, 231, 130, 130, 51, 151, 240, 127, 255, 231, 128, 96, 101, 41, 101, 19, 5, 69, 136, 10, 149, 169, 101, 147, 133, 69, 137, 138, 149, 151, 240, 255, 255, 231, 128, 160, 103, 34, 85, 151, 240, 255, 255, 231, 128, 64, 92, 34, 85, 169, 101, 147, 133, 101, 129, 138, 149, 33, 70, 151, 240, 255, 255, 231, 128, 32, 92, 34, 85, 169, 101, 147, 133, 69, 136, 138, 149, 65, 70, 151, 240, 255, 255, 231, 128, 224, 90, 34, 85, 9, 70, 169, 101, 147, 133, 229, 129, 138, 149, 151, 240, 255, 255, 231, 128, 160, 89, 34, 85, 151, 240, 255, 255, 231, 128, 224, 87, 21, 177, 129, 68, 133, 69, 133, 136, 99, 149, 4, 62, 25, 69, 99, 84, 181, 0, 29, 68, 25, 160, 19, 132, 21, 0, 34, 85, 147, 165, 117, 0, 147, 196, 21, 0, 169, 101, 147, 133, 101, 129, 138, 149, 151, 240, 255, 255, 231, 128, 0, 47, 162, 133, 193, 191, 45, 69, 99, 113, 37, 83, 151, 34, 0, 0, 231, 130, 34, 32, 129, 69, 151, 240, 127, 255, 231, 128, 224, 44, 77, 166, 19, 5, 0, 12, 225, 69, 99, 104, 185, 56, 151, 34, 0, 0, 231, 130, 34, 32, 81, 141, 131, 69, 148, 0, 3, 70, 132, 0, 131, 70, 164, 0, 3, 71, 180, 0, 162, 5, 209, 141, 194, 6, 98, 7, 217, 142, 213, 141, 136, 193, 189, 166, 45, 69, 99, 122, 37, 77, 151, 34, 0, 0, 231, 130, 66, 27, 8, 65, 35, 2, 171, 0, 147, 85, 133, 1, 163, 3, 187, 0, 147, 85, 5, 1, 35, 3, 187, 0, 33, 129, 163, 2, 171, 0, 137, 166, 19, 5, 0, 12, 193, 69, 99, 104, 185, 50, 3, 69, 148, 0, 131, 69, 132, 0, 3, 70, 164, 0, 34, 5, 201, 141, 66, 6, 131, 70, 180, 0, 3, 73, 196, 0, 131, 68, 212, 0, 131, 75, 228, 0, 131, 74, 244, 0, 34, 85, 226, 6, 85, 142, 51, 100, 182, 0, 169, 101, 147, 133, 101, 129, 138, 149, 151, 240, 255, 255, 231, 128, 128, 34, 17, 101, 19, 5, 133, 169, 151, 240, 127, 255, 231, 128, 128, 7, 55, 5, 0, 96, 72, 73, 99, 6, 4, 68, 162, 4, 179, 229, 36, 1, 194, 11, 226, 10, 51, 230, 122, 1, 209, 141, 19, 22, 197, 0, 33, 130, 34, 5, 113, 129, 81, 141, 51, 5, 181, 2, 179, 85, 133, 2, 1, 69, 151, 240, 127, 255, 231, 128, 192, 7, 19, 5, 128, 62, 151, 240, 127, 255, 231, 128, 64, 3, 161, 75, 210, 74, 201, 188, 34, 85, 169, 101, 147, 133, 101, 129, 138, 149, 151, 240, 255, 255, 231, 128, 224, 27, 19, 5, 0, 12, 225, 69, 99, 110, 185, 38, 151, 34, 0, 0, 231, 130, 226, 14, 179, 108, 166, 0, 151, 34, 0, 0, 231, 130, 162, 18, 85, 142, 179, 109, 166, 0, 3, 69, 84, 1, 131, 69, 68, 1, 3, 70, 100, 1, 131, 70, 116, 1, 34, 5, 77, 141, 66, 6, 226, 6, 85, 142, 179, 100, 166, 0, 151, 34, 0, 0, 231, 130, 34, 13, 151, 240, 127, 255, 231, 128, 32, 67, 35, 41, 11, 0, 41, 101, 19, 5, 197, 130, 10, 149, 151, 240, 255, 255, 231, 128, 64, 67, 129, 75, 129, 74, 51, 133, 180, 3, 42, 204, 102, 137, 99, 122, 144, 11, 98, 69, 170, 154, 99, 8, 9, 6, 99, 246, 91, 7, 238, 132, 99, 227, 45, 1, 202, 132, 5, 101, 5, 5, 99, 244, 164, 54, 29, 101, 19, 5, 69, 243, 179, 5, 161, 0, 34, 133, 38, 134, 151, 240, 255, 255, 231, 128, 160, 1, 147, 117, 245, 15, 99, 157, 5, 44, 34, 85, 157, 101, 147, 133, 69, 243, 138, 149, 38, 134, 151, 240, 255, 255, 231, 128, 160, 49, 41, 101, 19, 5, 197, 130, 10, 149, 157, 101, 147, 133, 69, 243, 138, 149, 38, 134, 151, 240, 127, 255, 231, 128, 224, 100, 51, 9, 153, 64, 38, 148, 166, 155, 227, 28, 9, 248, 34, 85, 169, 101, 147, 133, 133, 130, 138, 149, 17, 70, 151, 240, 255, 255, 231, 128, 128, 36, 13, 70, 99, 123, 182, 46, 131, 69, 21, 0, 3, 70, 5, 0, 131, 70, 37, 0, 3, 69, 53, 0, 162, 5, 209, 141, 194, 6, 98, 5, 85, 141, 179, 106, 181, 0, 227, 234, 154, 245, 151, 34, 0, 0, 231, 130, 66, 3, 151, 240, 127, 255, 231, 128, 32, 53, 41, 101, 19, 5, 69, 136, 10, 149, 169, 101, 147, 133, 69, 137, 138, 149, 151, 240, 255, 255, 231, 128, 96, 55, 34, 85, 169, 101, 147, 133, 69, 136, 138, 149, 65, 70, 151, 240, 255, 255, 231, 128, 192, 39, 89, 181, 19, 5, 0, 12, 193, 69, 99, 108, 185, 16, 3, 69, 212, 0, 131, 69, 196, 0, 3, 70, 228, 0, 131, 70, 244, 0, 34, 5, 77, 141, 66, 6, 226, 6, 179, 229, 198, 0, 201, 141, 3, 69, 148, 0, 3, 70, 132, 0, 131, 70, 164, 0, 3, 71, 180, 0, 34, 5, 81, 141, 194, 6, 98, 7, 217, 142, 85, 141, 151, 240, 127, 255, 231, 128, 64, 248, 170, 133, 19, 5, 96, 3, 241, 229, 209, 168, 19, 5, 96, 12, 209, 160, 147, 7, 240, 14, 3, 69, 148, 0, 3, 70, 132, 0, 131, 68, 164, 0, 3, 68, 180, 0, 34, 5, 81, 141, 194, 4, 98, 4, 69, 140, 179, 100, 164, 0, 99, 158, 4, 9, 34, 7, 217, 141, 194, 8, 226, 6, 51, 229, 22, 1, 201, 141, 19, 5, 16, 12, 99, 149, 183, 8, 22, 204, 34, 85, 169, 101, 147, 133, 101, 129, 138, 149, 151, 240, 255, 255, 231, 128, 224, 250, 13, 69, 99, 141, 173, 22, 19, 133, 205, 242, 89, 193, 69, 69, 99, 134, 173, 10, 29, 69, 98, 71, 227, 156, 173, 136, 114, 86, 19, 5, 144, 12, 99, 105, 150, 4, 147, 117, 57, 0, 19, 5, 0, 12, 185, 225, 147, 6, 55, 0, 241, 154, 51, 133, 230, 64, 206, 133, 99, 227, 164, 0, 182, 133, 179, 182, 164, 0, 51, 133, 164, 64, 19, 87, 37, 0, 253, 22, 82, 85, 249, 142, 113, 22, 138, 6, 227, 140, 6, 132, 152, 65, 145, 5, 24, 193, 17, 5, 42, 218, 50, 222, 113, 22, 241, 22, 229, 250, 137, 176, 19, 5, 0, 12, 133, 69, 35, 4, 187, 0, 163, 4, 171, 0, 34, 85, 169, 101, 147, 133, 101, 129, 138, 149, 151, 240, 255, 255, 231, 128, 0, 242, 5, 176, 151, 240, 127, 255, 231, 128, 0, 229, 40, 16, 133, 69, 98, 70, 166, 134, 151, 240, 255, 255, 231, 128, 0, 248, 147, 117, 245, 15, 249, 241, 151, 240, 127, 255, 231, 128, 96, 227, 111, 240, 143, 255, 55, 69, 128, 64, 131, 45, 197, 5, 129, 75, 5, 73, 133, 76, 166, 138, 98, 70, 38, 198, 114, 85, 99, 131, 10, 12, 105, 193, 99, 9, 9, 12, 35, 47, 91, 7, 33, 100, 51, 5, 180, 65, 5, 4, 157, 101, 147, 133, 69, 243, 138, 149, 136, 193, 99, 251, 141, 14, 99, 233, 116, 15, 6, 69, 51, 181, 170, 0, 6, 5, 179, 236, 172, 0, 194, 70, 51, 135, 182, 1, 179, 5, 118, 1, 41, 101, 19, 5, 69, 137, 51, 6, 161, 0, 29, 101, 19, 5, 69, 243, 179, 7, 161, 0, 19, 5, 97, 4, 102, 136, 151, 240, 127, 255, 231, 128, 64, 217, 131, 36, 235, 7, 134, 69, 29, 102, 19, 6, 70, 243, 10, 150, 16, 66, 42, 137, 133, 141, 174, 192, 178, 157, 1, 197, 33, 101, 99, 159, 173, 0, 99, 251, 141, 8, 40, 16, 194, 69, 110, 134, 151, 240, 255, 255, 231, 128, 224, 227, 147, 117, 245, 15, 129, 233, 129, 77, 179, 138, 154, 64, 166, 155, 98, 70, 178, 68, 169, 191, 161, 75, 210, 74, 229, 189, 40, 16, 226, 69, 38, 134, 151, 240, 255, 255, 231, 128, 96, 225, 147, 117, 245, 15, 227, 146, 5, 238, 111, 240, 207, 241, 183, 69, 128, 64, 35, 174, 181, 5, 99, 79, 9, 2, 179, 53, 160, 0, 49, 160, 183, 69, 128, 64, 35, 174, 181, 5, 133, 69, 161, 75, 210, 74, 99, 25, 9, 0, 153, 197, 19, 5, 128, 12, 163, 2, 161, 4, 111, 240, 175, 238, 99, 3, 9, 238, 99, 17, 5, 238, 19, 5, 144, 12, 163, 2, 161, 4, 111, 240, 111, 237, 19, 5, 112, 12, 163, 2, 161, 4, 213, 190, 0, 0, 65, 17, 6, 198, 46, 134, 151, 0, 0, 0, 231, 128, 96, 1, 19, 117, 245, 15, 51, 53, 160, 0, 178, 64, 65, 1, 130, 128, 253, 70, 19, 199, 245, 255, 51, 21, 229, 0, 145, 141, 141, 142, 51, 85, 213, 0, 58, 150, 29, 138, 147, 5, 240, 15, 179, 213, 197, 0, 109, 141, 130, 128, 46, 134, 129, 70, 23, 3, 0, 0, 103, 0, 131, 0, 125, 72, 147, 199, 245, 255, 125, 87, 51, 23, 247, 0, 145, 141, 179, 5, 184, 64, 28, 65, 179, 85, 183, 0, 51, 151, 197, 0, 19, 71, 247, 255, 125, 143, 245, 141, 147, 245, 245, 15, 179, 149, 197, 0, 217, 141, 12, 193, 130, 128, 178, 134, 46, 134, 23, 3, 0, 0, 103, 0, 163, 252, 133, 70, 46, 134, 23, 3, 0, 0, 103, 0, 227, 251, 1, 17, 6, 206, 34, 204, 38, 202, 74, 200, 78, 198, 82, 196, 86, 194, 182, 132, 178, 137, 179, 10, 214, 64, 19, 246, 250, 15, 161, 70, 99, 114, 214, 12, 58, 137, 46, 132, 42, 138, 151, 0, 0, 0, 231, 128, 192, 11, 19, 117, 250, 15, 147, 117, 244, 15, 162, 5, 77, 141, 183, 37, 11, 96, 35, 160, 165, 64, 3, 166, 5, 64, 26, 6, 227, 77, 6, 254, 183, 37, 11, 96, 3, 166, 133, 64, 253, 86, 51, 151, 150, 0, 19, 71, 247, 255, 133, 9, 179, 151, 54, 1, 93, 143, 121, 142, 133, 10, 179, 150, 86, 1, 147, 198, 246, 255, 179, 246, 38, 1, 179, 150, 150, 0, 85, 142, 19, 118, 246, 15, 66, 6, 183, 6, 0, 1, 85, 141, 81, 141, 35, 160, 165, 64, 3, 165, 5, 64, 26, 5, 227, 77, 5, 254, 147, 5, 170, 249, 19, 245, 245, 15, 29, 70, 99, 102, 166, 2, 19, 6, 144, 9, 179, 85, 182, 0, 133, 137, 153, 205, 183, 69, 128, 64, 147, 133, 5, 243, 10, 5, 46, 149, 8, 65, 183, 37, 11, 96, 3, 166, 69, 65, 113, 141, 35, 170, 165, 64, 242, 64, 98, 68, 210, 68, 66, 73, 178, 73, 34, 74, 146, 74, 5, 97, 130, 128, 0, 0, 183, 245, 10, 96, 144, 77, 19, 102, 70, 0, 144, 205, 55, 38, 11, 96, 131, 37, 198, 127, 183, 6, 0, 16, 205, 142, 147, 5, 165, 249, 19, 245, 245, 15, 29, 71, 35, 46, 214, 126, 99, 102, 167, 2, 19, 6, 144, 9, 179, 85, 182, 0, 133, 137, 153, 205, 183, 69, 128, 64, 147, 133, 5, 245, 10, 5, 46, 149, 8, 65, 183, 37, 11, 96, 3, 166, 69, 65, 81, 141, 35, 170, 165, 64, 130, 128, 1, 70, 115, 118, 4, 48, 33, 137, 41, 193, 183, 70, 128, 64, 3, 165, 70, 5, 153, 205, 147, 5, 21, 0, 5, 71, 35, 170, 182, 4, 99, 22, 229, 2, 55, 245, 10, 96, 12, 77, 147, 229, 69, 0, 12, 205, 49, 168, 133, 69, 99, 23, 181, 0, 183, 245, 10, 96, 148, 77, 237, 154, 148, 205, 125, 21, 183, 69, 128, 64, 35, 170, 165, 4, 33, 138, 1, 198, 33, 69, 115, 32, 5, 48, 130, 128, 65, 17, 6, 198, 34, 196, 38, 194, 46, 132, 170, 132, 19, 5, 96, 6, 151, 0, 0, 0, 231, 128, 64, 244, 19, 245, 244, 15, 34, 5, 147, 117, 244, 15, 194, 5, 77, 141, 183, 5, 0, 1, 147, 133, 101, 6, 201, 141, 55, 37, 11, 96, 35, 32, 181, 64, 131, 37, 5, 64, 154, 5, 227, 205, 5, 254, 55, 37, 11, 96, 131, 37, 69, 65, 147, 245, 245, 253, 35, 42, 181, 64, 178, 64, 34, 68, 146, 68, 65, 1, 130, 128, 65, 17, 6, 198, 151, 0, 0, 0, 231, 128, 64, 2, 147, 21, 69, 0, 193, 129, 49, 129, 55, 22, 11, 96, 3, 32, 70, 1, 66, 5, 77, 141, 72, 202, 178, 64, 65, 1, 130, 128, 9, 201, 5, 70, 99, 28, 197, 0, 55, 181, 196, 4, 19, 5, 5, 64, 130, 128, 55, 101, 98, 2, 19, 5, 5, 160, 130, 128, 55, 69, 15, 0, 19, 5, 5, 36, 51, 133, 165, 2, 130, 128, 243, 37, 64, 241, 133, 225, 66, 5, 65, 129, 10, 5, 183, 5, 1, 96, 46, 149, 133, 69, 12, 193, 55, 21, 0, 32, 12, 65, 147, 229, 37, 0, 12, 193, 130, 128, 0, 0, 19, 117, 245, 15, 147, 5, 208, 4, 99, 100, 181, 0, 19, 5, 208, 4, 130, 128, 0, 0, 65, 17, 6, 198, 34, 196, 38, 194, 74, 192, 1, 69, 55, 9, 1, 96, 253, 68, 19, 4, 21, 0, 147, 117, 244, 15, 141, 193, 151, 0, 0, 0, 231, 128, 0, 253, 66, 5, 147, 85, 5, 1, 19, 134, 53, 251, 34, 133, 109, 210, 138, 5, 202, 149, 132, 193, 34, 133, 225, 191, 55, 53, 128, 64, 19, 5, 5, 96, 5, 5, 115, 16, 85, 48, 55, 69, 128, 64, 19, 5, 133, 249, 147, 5, 192, 3, 5, 72, 183, 22, 0, 32, 5, 71, 141, 201, 243, 39, 64, 241, 157, 239, 4, 65, 192, 66, 179, 23, 152, 0, 19, 198, 247, 255, 97, 142, 208, 194, 115, 38, 64, 241, 5, 230, 138, 4, 182, 148, 152, 200, 144, 66, 93, 142, 144, 194, 241, 21, 17, 5, 5, 7, 233, 249, 125, 85, 115, 16, 69, 48, 178, 64, 34, 68, 146, 68, 2, 73, 65, 1, 130, 128, 0, 0, 46, 134, 213, 69, 23, 3, 0, 0, 103, 0, 131, 204, 249, 69, 1, 70, 23, 3, 0, 0, 103, 0, 195, 203, 253, 69, 1, 70, 23, 3, 0, 0, 103, 0, 3, 203, 217, 69, 1, 70, 23, 3, 0, 0], pad_to: 4, pad_byte: 0, sequence: 0 }
Error:   × The bootloader returned an error
  ├─▶ Error while running MemData command
  ╰─▶ Other

jlc-christie avatar May 15 '24 10:05 jlc-christie

Following a conversation in the esp-rs room, this was resolved by selecting the JTAG port after holding reset + boot to put it in download mode. This issue is only a problem using the serial option.

This is the board I'm using and it has a single USB Type C hub between the UART and JTAG connection.

Here are the options that appear for the board, when the board is not in download mode, selecting the JTAG option will just hang for a while and then error, when in download mode it works fine without the need for the --no-stub flag. image

-- edit --

this also fixed a separate issue, where even with the --no-stub flag, I couldn't flash binaries on to the device, using the JTAG connection allowed flashing

jlc-christie avatar May 15 '24 12:05 jlc-christie

As a note, this is happening to me with an ESP32-S3-WROOM-1, the board does have a USB-C UART bridge. This board does not have a JTAG interface, even when it is in download mode. My debug output looks pretty much like the above.

robert-chiniquy avatar Sep 04 '24 02:09 robert-chiniquy

I realize this issue is a bit dated, but is anybody able to verify if this is still the case when using the current main branch? We have swapped out the flasher stub since this issue was opened, so I'm curious if the problem has been resolved as a result or not.

jessebraham avatar Mar 25 '25 10:03 jessebraham

@jessebraham I'm facing the issue using the main branch:

$ cargo install --git https://github.com/esp-rs/espflash.git espflash
...

$ espflash --version
espflash 4.0.0-dev

$ espflash board-info
[2025-04-12T19:27:42Z INFO ] Detected 2 serial ports
[2025-04-12T19:27:42Z INFO ] Ports which match a known common dev board are highlighted
[2025-04-12T19:27:42Z INFO ] Please select a port
✔ Remember this serial port for future use? · no
[2025-04-12T19:27:44Z INFO ] Serial port: '/dev/cu.usbmodem58370100181'
[2025-04-12T19:27:44Z INFO ] Connecting...
[2025-04-12T19:27:44Z INFO ] Using flash stub
Error:   × The bootloader returned an error
  ├─▶ Error while running MemData command
  ╰─▶ Received message has invalid CRC

$ espflash board-info --no-stub
[2025-04-12T19:27:52Z INFO ] Detected 2 serial ports
[2025-04-12T19:27:52Z INFO ] Ports which match a known common dev board are highlighted
[2025-04-12T19:27:52Z INFO ] Please select a port
✔ Remember this serial port for future use? · no
[2025-04-12T19:27:53Z INFO ] Serial port: '/dev/cu.usbmodem58370100181'
[2025-04-12T19:27:53Z 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:57:2a:48

Security Information:
=====================
Flags: 0x00000000 (0)
Key Purposes: [0, 0, 0, 0, 0, 0, 12]
Chip ID: 13
API Version: 0
Secure Boot: Disabled
Flash Encryption: Disabled
SPI Boot Crypt Count (SPI_BOOT_CRYPT_CNT): 0x0

UPD: switching to a different USB port on the dev board connected to the USB-JTAG peripheral instead of the one connected to UART via the CH343 chip, and holding reset+boot before connecting, solved the problem.

aqrln avatar Apr 12 '25 19:04 aqrln

@jessebraham for additional context, I'm on macOS 15.3.2, and using this board.

aqrln avatar Apr 14 '25 12:04 aqrln