Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibly spurious error from OS at the very end of flashing #15

Open
cdwilson opened this issue Oct 26, 2023 · 1 comment
Open

Possibly spurious error from OS at the very end of flashing #15

cdwilson opened this issue Oct 26, 2023 · 1 comment

Comments

@cdwilson
Copy link

I was trying to use bmputil 0.1.1 to upgrade an older BMPM1 with the latest V1.10.0-rc1 firmware and I got the following warning:

❯ ./bmputil flash ../blackmagic-native-v1_10_0-rc1.elf
Found: Black Magic Probe v1.10.0-rc1
  Serial: E2BFB9C6
  Port:  3-1.3.2.4
Erasing flash...
Flashing...
 100% |██████████████████████████████████████████████████| 119.42 KiB/119.42 KiB [4.61 KiB/s 26s]                                                                                        
[2023-10-26T20:35:52Z WARN  bmputil] Possibly spurious error from OS at the very end of flashing: Black Magic Probe device did not come back online (invalid firmware?)
    Caused by: rusb: Input/Output Error

Black Magic Probe successfully rebooted into firmware version v1.10.0-rc1

I'm on macOS 14.0 (23A344) in case that matters.

Is this expected or something I should worry about?

@dragonmux
Copy link
Member

This is expected in some cases - you've got a reasonable transfer rate and number of seconds it took to complete, and the probe is showing rebooted into the correct firmware, so it did all work properly.

We've been working on trying to figure out if we can either improve the error reporting or fix why rusb is getting these spurious errors when it is but haven't yet come up with a solid answer. Our main focus has been windows, though it's useful to know it can happen on mac too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants