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
followed this page, works great
https://mcuoneclipse.com/2014/04/27/segger-j-link-firmware-for-opensdav2/
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!
-----------------------------------------------------------------------------------------------------------------------