新驱动的安装目录结构如下:
可以看出新版本的 JLink 驱动中已经没有 Devices 目录和 JLinkDevices.xml 文件了,即旧的方法已经不能在新的驱动中使用了。
如果需要继续使用旧的方式添加新设备,则需要下载 JLink_V770d 之前的版本。
在新驱动上添加新设备方法
为了使 J-Link 软件知道新设备,需要将先前创建的 XML 文件放在中央 JLinkDevices 文件夹中。如果该文件夹不存在,则可以创建该文件夹。
OS | Location |
---|---|
Windows | C:\Users<USER>\AppData\Roaming\SEGGER\JLinkDevices |
Linux | $HOME/.config/SEGGER/JLinkDevices |
macOS | $HOME/Library/Application Support/SEGGER/JLinkDevices |
JLinkDevices 文件夹的结构:
\---JLinkDevices
+--</