JLink Windows device detection no longer works properly
cmonr opened this issue · 8 comments
Since 758394e, running mbedls
in a Windows env does not detect JLink targets properly.
Before the commit:
C:\Users\redacted\tmp\mbed-ls>mbedls
+-----------------+----------------------+-------------+-------------+--------------------------+-----------------+
| platform_name | platform_name_unique | mount_point | serial_port | target_id | daplink_version |
+-----------------+----------------------+-------------+-------------+--------------------------+-----------------+
| EFM32GG_STK3700 | EFM32GG_STK3700[0] | E: | COM3 | 2015009F00004A2AD6C679E5 | 0.14.3 |
+-----------------+----------------------+-------------+-------------+--------------------------+-----------------+
After the commit:
C:\Users\redacted\tmp\mbed-ls>mbedls
WARNING:mbedls.lstools_base:No valid file found to update JLink device details
+---------------+----------------------+-------------+-------------+--------------+-----------------+
| platform_name | platform_name_unique | mount_point | serial_port | target_id | daplink_version |
+---------------+----------------------+-------------+-------------+--------------+-----------------+
| LPC2368 | LPC2368[0] | E: | COM3 | 000440018986 | unknown |
+---------------+----------------------+-------------+-------------+--------------+-----------------+
The above output is the same for release-version-1.5.0
.
However, the output does change when using release-version-1.5.1
:
C:\Users\redacted\tmp\mbed-ls>mbedls
WARNING:mbedls.lstools_base:No valid file found to update JLink device details
+---------------+----------------------+-------------+-------------+--------------+-----------------+
| platform_name | platform_name_unique | mount_point | serial_port | target_id | daplink_version |
+---------------+----------------------+-------------+-------------+--------------+-----------------+
| unknown | None[0] | E: | COM3 | 000440018986 | unknown |
+---------------+----------------------+-------------+-------------+--------------+-----------------+
Ah oops. The Si-Labs boards used to be detected as DAPLink boards. Now that we're using VID and PID to identify them, its trying to find them in the JLink database, which they aren't. Ugg this is annoying, I'll have to look at this more.
[Mirrored to Jira]
Works with 1.6.0!
Thanks for checking!
from what i am seeing the problem still exists
Command-line code management tool for ARM mbed OS - http://www.mbed.com
version 1.8.3
WARNING:mbedls.lstools_base:No valid file found to update JLink device details
platform_name | platform_name_unique | mount_point | serial_port | target_id | daplink_version |
---|---|---|---|---|---|
TB_SENSE_12 | TB_SENSE_12[0] | E: | COM5 | 2041010A0001EC21D752DFBA | 1.3.0 |
can you please point me in the right direction to fix the issue.
Hi, any update on this? I am seeing this on version 1.10.2 as well.
Has this solved the problem? I tried it on pyocd 0.28.3. But It doesn't work.