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

Black magic probe does not show up in COM ports #59

Closed
JiaGengChang opened this issue May 26, 2022 · 4 comments
Closed

Black magic probe does not show up in COM ports #59

JiaGengChang opened this issue May 26, 2022 · 4 comments

Comments

@JiaGengChang
Copy link

Hi Joric,

I flashed black magic firmware into bluepill using ST-LINK V2 as the UART-to-USB method did not work for me (maybe because of the BOOT0 resistor issue you linked).

Now, black magic ports show up under "libusb-win32 devices" on windows 10 device manager, instead of showing up under Ports (COM & LPT).

device-manager-screen

I suspect it is because of this reason that the remaining instructions to unlock and flash do not work (error is that COM5 is not recognized).

The Ports (COM & LPT) dropdown only appears when I click "View -> Show hidden devices", and it is the following
device-manager-ports-section

In this case, is there a way to locate this Black Magic GDB Server?

@JiaGengChang JiaGengChang changed the title Black magic probe produced from ST-Link V2 requires different instructions Black magic probe does not show up in COM ports May 26, 2022
@JiaGengChang
Copy link
Author

Hi Joric,

As an update, I have also managed to flash black magic firmware into bluepill using UART and the official demonstrator GUI from STM.

However, the issue that the black magic probe does not show up under Ports (COM and LPT) in Device Manager persists. It still shows up under "libusb-win32 devices", and so I do not know what its address.

@JiaGengChang
Copy link
Author

I managed to solve this problem.

First, my version of zadig (2.0) was not the latest version (version 2.7). So I switched to that.

Using zadig 2.7, I upgraded/downgraded both Black Magic GDB Server and Black Magic UART port to "USB Serial (CDC)".

zadig-1

Two COM ports instantly appeared in windows 10 Device Manager.

device-manager-solved

Selecting anything other than "USB Serial (CDC)", including the "libusb-win32" that is recommended in the wiki bootloader section, prevents the ports from being shown in device manager.

@Timception
Copy link

I managed to get to the same place you did. After that, I cannot get the bluepill blackmagic to flash the nrfmicro. Been trying for weeks. Im not a pro and the explanation and clip are too funny and skip so many things for noobs like me. I bought j-link, st-link, everything. None work after following the documentation. Help needed badly.

@Sweet-tooth-man
Copy link

Мне удалось добраться до того же места, что и вы. После этого я не могу заставить bluepill blackmagic прошить nrfmicro. Пытался неделями. Я не профессионал, и объяснение и клип слишком забавны и пропускают так много вещей для нубов, таких как я. Я купил j-link, st-link, все. Ни один из них не работает после выполнения документации. Помощь нужна очень.

did you manage to solve the problem?

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

3 participants