AnsweredAssumed Answered

OpenOcd is not workign for my K64F

Question asked by david atkins on Oct 10, 2016
Latest reply on Oct 10, 2016 by jeremyzhou

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

Outcomes