OpenOcd is not workign for my K64F

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

OpenOcd is not workign for my K64F

1,385 Views
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

0 Kudos
2 Replies

801 Views
davidatkins
Contributor I
0 Kudos

801 Views
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 Kudos