Error: unable to open CMSIS-DAP device

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Error: unable to open CMSIS-DAP device

跳至解决方案
5,299 次查看
fcamps
Contributor I


Hello,

This is an error with KDS 3.2 (with SDK2.0) on Ubuntu 15.04.4 LTS when i start a debug session:

 

Open On-Chip Debugger 0.8.0-dev (2015-01-09-16:23)

Licensed under GNU GPL v2

For bug reports, read

  http://openocd.sourceforge.net/doc/doxygen/bugs.html

Info : only one transport option; autoselect 'cmsis-dap'

Error: unable to open CMSIS-DAP device

Error: unable to init CMSIS-DAP driver

Error: Error selecting 'cmsis-dap' as transport

Runtime Error: /home/fcamps/dev/kds/kinetis-design-studio_3.2.0-1_amd64/opt/Freescale/KDS_v3/eclipse/../openocd/bin/..//scripts/kinetis.cfg:3:

in procedure 'script'

at file "embedded:startup.tcl", line 58

in procedure 'interface' called at file "/home/fcamps/dev/kds/kinetis-design-studio_3.2.0-1_amd64/opt/Freescale/KDS_v3/eclipse/../openocd/bin/..//scripts/kinetis.cfg", line 3

 

My debug session seems well configured.

 

Many thanks

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
4,435 次查看
fcamps
Contributor I

I found solution. It must first update KDS , a version of openocd be installed. Then in the directory Kinetis -design- studio_3.2.0-1_amd64 / opt / Freescale / KDS_v3 / openocd / bin , change the rights of the setuid binary openocd : the file must have the following rights -rwsr -xr- x 1 root root 2816662 openocd then test again with the -f command ./openocd ../scripts/kinetis.cfg ../scripts/target/k64.cfg -f ( for K64 processor ) .

在原帖中查看解决方案

0 项奖励
回复
1 回复
4,436 次查看
fcamps
Contributor I

I found solution. It must first update KDS , a version of openocd be installed. Then in the directory Kinetis -design- studio_3.2.0-1_amd64 / opt / Freescale / KDS_v3 / openocd / bin , change the rights of the setuid binary openocd : the file must have the following rights -rwsr -xr- x 1 root root 2816662 openocd then test again with the -f command ./openocd ../scripts/kinetis.cfg ../scripts/target/k64.cfg -f ( for K64 processor ) .

0 项奖励
回复