OpenOcd is not workign for my K64F

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

OpenOcd is not workign for my K64F

1,630件の閲覧回数
davidatkins
Contributor I

Hi,

Got a buidl runnign and now want to debug, just using the bubble sample app while I get to grips with the enviroment. When I selct OpenOcd, I assuem this is the right thign to do to debug I get this error:

OpenOCD failed with code (1).

For more details, see the openocd console.

And in the KDS log

Open On-Chip Debugger 0.8.0-dev (2015-01-09-16:22)
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: C:/Freescale/KDS_v3/openocd/bin/..//scripts/kinetis.cfg:3:
in procedure 'script'
at file "embedded:startup.tcl", line 58
in procedure 'interface' called at file "C:/Freescale/KDS_v3/openocd/bin/..//scripts/kinetis.cfg", line 3

It seems that OpenOcd is not installed so perhaps I'm just trying the wrogn approach or have I missed somehthing that needs installing?

David

ラベル(2)
0 件の賞賛
返信
2 返答(返信)

1,046件の閲覧回数
davidatkins
Contributor I
0 件の賞賛
返信

1,046件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi,

The article is also helpful.

https://mcuoneclipse.com/2015/03/22/openocdcmsis-dap-debugging-with-eclipse-and-without-an-ide/
Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信