Replies: 10 comments 2 replies
-
|
We are aware of this issue.. this is something specific to W11 and needs further diagnostic. It's not to do with the driver attached to the probe (which should already be WinUSB on the interfaces that matter - if you switched to WinUSB for the serial interfaces, that will have broken things, so please put those back to usbser.sys). Rather, it's to do with the HKLM enumeration tree getting reorganised in some way in W11 in a way that broke the code that has to dive the registry. Please use |
Beta Was this translation helpful? Give feedback.
-
|
it shows: (i could uninstall the device and reconnect to get fresh data if needed)
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
may as well give you MI_00 as well. (I'll be offline for a while) |
Beta Was this translation helpful? Give feedback.
-
|
Ok, so.. something is going wrong in how the ParentIdPrefix value is being handled, resulting in the string building failing in an exciting way.. The question now becomes why despite asking for a |
Beta Was this translation helpful? Give feedback.
-
|
Using RRF_RT_ANY instead of RRF_RT_REG_SZ makes things happy again. Is that taking the easy way out?
|
Beta Was this translation helpful? Give feedback.
-
|
Unfortunately not really - what this does is makes it so Windows can return any kind of value back to us (including integers, binary data, and unexpanded environment variable references), which we'd then need to somehow handle safely before presuming that what we were getting was a string and doing string things with it. That's precisely why we have the type restriction applied there. We're glad that gets things working for you in the moment - our job now becomes figuring out what exact type of value is getting returned, why, and how to make it work with the type restriction in play so we can do the read safely. |
Beta Was this translation helpful? Give feedback.
-
|
One of the thoughts we've had of exploring is forcing those registry manipulations to their W variants, and doing the string formatting with |
Beta Was this translation helpful? Give feedback.
-
|
ok, I'll be patient. I appreciate you looking at it. |
Beta Was this translation helpful? Give feedback.









Uh oh!
There was an error while loading. Please reload this page.
-
I need to run blackmagic-bmda on my Win 11 pc to host a connection to my probe from WSL2. When I run the .exe from the repository I get:
`Black Magic Debug App v2.0.0
for Black Magic Probe, ST-Link v2 and v3, CMSIS-DAP, J-Link and FTDI (MPSSE)
Using 1d50:6018 C3F9ADF0 Black Magic Debug
Black Magic Probe (ST-Link/v2) v1.10.2-dirty
Error opening registry key SYSTEM\CurrentControlSet\Enum\USB\VID_1D50&PID_6018&MI_02&0002\Device Parameters, got error 00000002: The system cannot find the file specified.
prefix:
Error opening registry key SYSTEM\CurrentControlSet\Enum\USB\VID_1D50&PID_6018&MI_00&0000\Device Parameters, got error 00000002: The system cannot find the file specified.
Unexpected problems finding the device!`
How can i get past this? I tried suing Zadig to swap the driver to WinUSB with same result.
Beta Was this translation helpful? Give feedback.
All reactions