2020-03-25 04:55 AM
I am using this ST-LINK/V2 for programming bluetooth chip BGM11S through SWD.
This bluetooth chip has SWD-pins for communication.
But ST-LINK/V2 can not connect with this bluetooth chip, there is an error: "Unknown or unsupported device (DevID = 0x0000)".
The screenshot is under, do you guys have any idea about this? Thank you very much from Germany.
2020-03-25 05:31 AM
The St Software obvious does not work with none-St chips. You can use the StlinkV2 with pyocd, openocd or bl*ackm*g*c with the pc-stlinkv2 platform.
B.t.w. to my knowledge, StlinkV3 actively denies cooperation with non-ST parts. An it is more picky to connect to ST parts.
2020-03-25 05:55 AM
The problem is the toolchain, and it's support of debug pods.
Segger has a JLink firmware for ST-Links, available for free download. That should work with other toolchains and MCUs as well.
2020-03-25 08:02 AM
Hi Uwe, hi Ozone. Thank you for your replies.
@Ozone Which JLink firmware do you mean? I have tried with JLink Commander, but it does not work. Thank you in advance.
2020-03-26 12:40 AM
> I have tried with JLink Commander, but it does not work.
No - Segger used to have a firmware for the ST-Link pod, that "converted" the ST-Link into a JLink.
https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/
Alternatively to the ST-Link firmware.
The advantage is the JLink support by toolchains - and Segger tools.
2020-03-26 04:52 AM
Hi Ozone. Thank you so much for the infos. I try it then. Have a nice day!