Skip to content

bmputil (any version) can flash fw V2.0.0-rc2 (and rc1) chinese-stlink target only once #34

@timemaster5

Description

@timemaster5

Latest macos-bmputil-v1.0.0-rc.1 -> flashed succesfully probe to v2_0_0-rc2

./bmputil-cli flash blackmagic-native-st-clones-v2_0_0-rc2.bin
Found: Black Magic Probe (ST-Link/v2) v1.10.2-dirty
Serial: D5D9CBE8
Port: 0-1118208
Erasing flash...
Flashing...
100% |██████████████████████████████████████████████████| 91.68 KiB/91.68 KiB [4.31 KiB/s 21s] Black Magic Probe successfully rebooted into firmware version v2.0.0-rc2

Latest macos-bmputil-v1.0.0-rc.1 -> flashing not possible anymore to any fw version when I am on v2.0.0-rc2 on the probe

./bmputil-cli flash blackmagic-native-st-clones-v2_0_0-rc1.bin
Found: Black Magic Probe v2.0.0-rc2
Serial: D5D9CBE8
Port: 0-1118208
[2025-06-03T13:03:10Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025-06-03T13:03:10Z WARN bmputil::bmp] One of these may be why the Black Magic Probe device was not found: [
0: endpoint STALL condition

Location:
   src/bmp.rs:90

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.]

[2025-06-03T13:03:10Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025-06-03T13:03:10Z WARN bmputil::bmp] One of these may be why the Black Magic Probe device was not found: [
0: endpoint STALL condition

Location:
   src/bmp.rs:90

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.]

[2025-06-03T13:03:10Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025-06-03T13:03:10Z WARN bmputil::bmp] One of these may be why the Black Magic Probe device was not found: [
0: endpoint STALL condition

Location:
   src/bmp.rs:90

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.]

[2025-06-03T13:03:10Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025-06-03T13:03:10Z WARN bmputil::bmp] One of these may be why the Black Magic Probe device was not found: [
0: endpoint STALL condition

Location:
   src/bmp.rs:90

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.]

[2025-06-03T13:03:10Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025-06-03T13:03:10Z WARN bmputil::bmp] One of these may be why the Black Magic Probe device was not found: [
0: endpoint STALL condition

Location:
   src/bmp.rs:90

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.]

[2025-06-03T13:03:11Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025-06-03T13:03:11Z WARN bmputil::bmp] One of these may be why the Black Magic Probe device was not found: [
0: endpoint STALL condition

Location:
   src/bmp.rs:90

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.]

[2025-06-03T13:03:11Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025-06-03T13:03:11Z WARN bmputil::bmp] One of these may be why the Black Magic Probe device was not found: [
0: endpoint STALL condition

Location:
   src/bmp.rs:90

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.]

[2025-06-03T13:03:11Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025-06-03T13:03:11Z WARN bmputil::bmp] One of these may be why the Black Magic Probe device was not found: [
0: endpoint STALL condition

Location:
   src/bmp.rs:90

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.]

[2025-06-03T13:03:11Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025-06-03T13:03:11Z WARN bmputil::bmp] One of these may be why the Black Magic Probe device was not found: [
0: endpoint STALL condition

Location:
   src/bmp.rs:90

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.]

[2025-06-03T13:03:12Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025-06-03T13:03:12Z WARN bmputil::bmp] One of these may be why the Black Magic Probe device was not found: [
0: endpoint STALL condition

Location:
   src/bmp.rs:90

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.]

[2025-06-03T13:03:12Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025-06-03T13:03:12Z WARN bmputil::bmp] One of these may be why the Black Magic Probe device was not found: [
0: endpoint STALL condition

Location:
   src/bmp.rs:90

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.]

[2025-06-03T13:03:12Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025-06-03T13:03:12Z WARN bmputil::bmp] One of these may be why the Black Magic Probe device was not found: [
0: endpoint STALL condition

Location:
   src/bmp.rs:90

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.]

[2025-06-03T13:03:12Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025-06-03T13:03:12Z WARN bmputil::bmp] One of these may be why the Black Magic Probe device was not found: [
0: endpoint STALL condition

Location:
   src/bmp.rs:90

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.]

[2025-06-03T13:03:12Z ERROR bmputil::bmp] Timed-out waiting for Black Magic Probe to re-enumerate!
100% |██████████████████████████████████████████████████| 91.60 KiB/91.60 KiB [16.39 KiB/s 6s] Error:
0: detaching device for download
1: Black Magic Probe device did not come back online (invalid firmware?)
2: Black Magic Probe device not found (check connection?)

Location:
src/bmp.rs:1013

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

❯ ./bmputil-cli flash blackmagic-native-st-clones-v2_0_0-rc2.bin
[2025-06-03T13:03:15Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025-06-03T13:03:15Z WARN bmputil::bmp] One of these may be why the Black Magic Probe device was not found: [
0: endpoint STALL condition

Location:
   src/bmp.rs:90

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.]

Error:
0: Black Magic Probe device not found (check connection?)

Location:
src/bin/bmputil-cli.rs:46

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions