5
3
Fork
You've already forked bmputil
2

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

Open
opened 2025年06月03日 19:38:50 +02:00 by timemaster5 · 1 comment
timemaster5 commented 2025年06月03日 19:38:50 +02:00 (Migrated from github.com)
Copy link

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月03日T13:03:10Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025年06月03日T13: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月03日T13:03:10Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025年06月03日T13: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月03日T13:03:10Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025年06月03日T13: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月03日T13:03:10Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025年06月03日T13: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月03日T13:03:10Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025年06月03日T13: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月03日T13:03:11Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025年06月03日T13: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月03日T13:03:11Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025年06月03日T13: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月03日T13:03:11Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025年06月03日T13: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月03日T13:03:11Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025年06月03日T13: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月03日T13:03:12Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025年06月03日T13: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月03日T13:03:12Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025年06月03日T13: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月03日T13:03:12Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025年06月03日T13: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月03日T13:03:12Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025年06月03日T13: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月03日T13: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月03日T13:03:15Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices.
[2025年06月03日T13: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.

### 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月03日T13:03:10Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices. [2025年06月03日T13: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月03日T13:03:10Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices. [2025年06月03日T13: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月03日T13:03:10Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices. [2025年06月03日T13: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月03日T13:03:10Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices. [2025年06月03日T13: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月03日T13:03:10Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices. [2025年06月03日T13: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月03日T13:03:11Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices. [2025年06月03日T13: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月03日T13:03:11Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices. [2025年06月03日T13: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月03日T13:03:11Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices. [2025年06月03日T13: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月03日T13:03:11Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices. [2025年06月03日T13: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月03日T13:03:12Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices. [2025年06月03日T13: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月03日T13:03:12Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices. [2025年06月03日T13: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月03日T13:03:12Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices. [2025年06月03日T13: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月03日T13:03:12Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices. [2025年06月03日T13: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月03日T13: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月03日T13:03:15Z WARN bmputil::bmp] Device not found and errors occurred when searching for devices. [2025年06月03日T13: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.

This mess should be improved with #45 - please let us know how you get on with this PR and if that solves or alters this behaviour.

This mess should be improved with #45 - please let us know how you get on with this PR and if that solves or alters this behaviour.
Sign in to join this conversation.
No Branch/Tag specified
main
add-coc-no-ai
v1.1.0
v1.0.0
v1.0.0-rc.2
v1.0.0-rc.1
v0.1.3
v0.1.2
v0.1.1
v0.1.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
blackmagic-debug/bmputil#34
Reference in a new issue
blackmagic-debug/bmputil
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?