Error: unable to open CMSIS-DAP device

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Error: unable to open CMSIS-DAP device

ソリューションへジャンプ
4,496件の閲覧回数
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 解決策
3,632件の閲覧回数
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 返信
3,633件の閲覧回数
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 件の賞賛
返信